match requirements and example config

This commit is contained in:
2026-04-17 22:53:27 +02:00
parent 8505c27cfa
commit 5bd97ddccd
6 changed files with 106 additions and 56 deletions

View File

@@ -73,14 +73,3 @@ surface_mask = [
"SAA",
"SAA>",
]
[[building]]
id = "hq"
cost = 0
player_placeable = false
construction_time_seconds = 0
surface_mask = [
"AAA",
"AAA",
"AAA",
]

View File

@@ -1,3 +1,17 @@
[[recipe]]
id = "mine_iron_ore"
building = "miner"
inputs = []
outputs = [{item = "iron_ore", amount = 1}]
duration_seconds = 1.0
[[recipe]]
id = "mine_copper_ore"
building = "miner"
inputs = []
outputs = [{item = "copper_ore", amount = 1}]
duration_seconds = 1.5
[[recipe]]
id = "iron_ingot"
building = "smelter"

View File

@@ -4,7 +4,7 @@ available_from_start = true
[ship.blueprint]
materials = [{item = "iron_ingot", amount = 3}, {item = "circuit_board", amount = 1}]
shipyard_level = 3
player_production_level = 3
[ship.threat]
cost_formula = "5 + 1*x"
@@ -17,9 +17,8 @@ speed_formula = "200 + 5*x"
[ship.combat]
damage_formula = "10 + 2*x"
attack_range = 150
attack_range_formula = "150"
attack_rate_formula = "2.0"
target_priority = "lowest_hp"
[ship.loot]
scrap_drop = 2
@@ -31,7 +30,7 @@ available_from_start = true
[ship.blueprint]
materials = [{item = "iron_ingot", amount = 5}, {item = "circuit_board", amount = 2}]
shipyard_level = 5
player_production_level = 5
[ship.threat]
cost_formula = "10 + 2*x"
@@ -44,9 +43,8 @@ speed_formula = "120"
[ship.combat]
damage_formula = "12 + 2*x"
attack_range = 250
attack_range_formula = "250"
attack_rate_formula = "1.0"
target_priority = "closest"
[ship.loot]
scrap_drop = 4
@@ -58,7 +56,7 @@ available_from_start = true
[ship.blueprint]
materials = [{item = "iron_ingot", amount = 4}]
shipyard_level = 3
player_production_level = 3
[ship.threat]
cost_formula = "0"
@@ -76,3 +74,28 @@ cargo_capacity = 10
[ship.loot]
scrap_drop = 2
[[ship]]
id = "repair_ship"
available_from_start = false
[ship.blueprint]
materials = [{item = "iron_ingot", amount = 4}, {item = "circuit_board", amount = 2}]
player_production_level = 3
[ship.threat]
cost_formula = "0"
[ship.health]
hp_formula = "60 + 5*x"
[ship.movement]
speed_formula = "130"
[ship.repair]
repair_rate_formula = "5 + x"
repair_range_formula = "80"
[ship.loot]
scrap_drop = 2

View File

@@ -1,13 +1,22 @@
[hq]
surface_mask = [
"AAA",
"AAA",
"AAA",
]
hp_formula = "1000"
[player_station]
surface_mask = [
"SS",
"SS",
]
hp = 500
damage = 25
range = 400
fire_rate = 1.5
scrap_drop = 5
level = 5
hp_formula = "300 + 40*x"
damage_formula = "5 + 4*x"
range_formula = "300 + 20*x"
fire_rate_formula = "0.5 + 0.2*x"
scrap_drop_formula = "x"
[enemy_station]
surface_mask = [

View File

@@ -19,6 +19,7 @@ scaling_factor = 1.2
[waves]
threat_rate_formula = "1*x - 30"
ship_level_formula = "1 + x / 120"
gap_min_seconds = 15
gap_max_seconds = 45
spawn_duration_seconds = 10