Add repo hygiene rules and ignore secrets

This commit is contained in:
2026-02-03 06:55:39 +01:00
parent 88732a8ae7
commit 6035bc1715
52 changed files with 3295 additions and 25 deletions

View File

@@ -0,0 +1,83 @@
{
"blueprints": [
{
"kind": "building",
"key": "build_center",
"name": "Bauzentrum",
"model": "stackable",
"tags": ["infrastructure"],
"capabilities": ["queue:build"],
"effects": [
{"type": "queue_slots_add", "amount": 1}
],
"requirements": [],
"access": {
"allowed_races": [],
"blocked_races": []
},
"cost": {"metal": 200, "crystals": 100, "credits": 50},
"build_time": 60,
"properties": {"destroyable": true}
},
{
"kind": "building",
"key": "ore_mine",
"name": "Erzmine",
"model": "stackable",
"tags": ["industry"],
"capabilities": [],
"effects": [
{"type": "produce", "resource": "metal", "amount": 30},
{"type": "consume", "resource": "energy", "amount": 5}
],
"requirements": [],
"access": {
"allowed_races": [],
"blocked_races": []
},
"cost": {"metal": 120, "crystals": 60},
"build_time": 90,
"properties": {"destroyable": true}
},
{
"kind": "building",
"key": "battery",
"name": "Batterie",
"model": "stackable",
"tags": ["energy"],
"capabilities": [],
"effects": [
{"type": "capacity_add", "resource": "energy", "amount": 200}
],
"requirements": [],
"access": {
"allowed_races": [],
"blocked_races": []
},
"cost": {"metal": 80, "crystals": 40},
"build_time": 60,
"properties": {"destroyable": true}
},
{
"kind": "building",
"key": "storage",
"name": "Lager",
"model": "stackable",
"tags": ["storage"],
"capabilities": [],
"effects": [
{"type": "capacity_add", "resource": "metal", "amount": 500},
{"type": "capacity_add", "resource": "crystals", "amount": 300},
{"type": "capacity_add", "resource": "deuterium", "amount": 200}
],
"requirements": [],
"access": {
"allowed_races": [],
"blocked_races": []
},
"cost": {"metal": 150, "crystals": 80},
"build_time": 90,
"properties": {"destroyable": true}
}
]
}

View File

@@ -0,0 +1,62 @@
{
"resources": [
"metal",
"alloy",
"crystals",
"energy",
"credits",
"population",
"water",
"deuterium",
"food"
],
"weights": {
"metal": 1.0,
"alloy": 2.5,
"crystals": 1.2,
"energy": 0.8,
"credits": 0.7,
"population": 0.5,
"water": 1.1,
"deuterium": 1.3,
"food": 0.9
},
"global_bounds": {
"min": -1.0,
"max": 1.0
},
"tiers": {
"normal": {
"target_score": 0.0,
"epsilon": 0.05
},
"rich": {
"target_score": 0.4,
"epsilon": 0.05
},
"legendary": {
"target_score": 1.0,
"epsilon": 0.05
}
},
"classes": {
"temperate": {
"spawn_weight": 1,
"constraints": {},
"bias": {},
"temperature_range_c": [5, 30]
},
"ice": {
"spawn_weight": 1,
"constraints": {
"water": { "min": 0.5 },
"energy": { "max": -0.6 }
},
"bias": {
"water": 0.1,
"energy": -0.1
},
"temperature_range_c": [-80, -10]
}
}
}

22
config/races.json Normal file
View File

@@ -0,0 +1,22 @@
{
"races": {
"human": {
"name": "Mensch",
"modifiers": {
"produce": {
"credits": 0.02
},
"consume": {}
}
},
"robot": {
"name": "Roboter",
"modifiers": {
"produce": {
"metal": 0.05
},
"consume": {}
}
}
}
}