define ship roles via added modules and allow multiple weapons

This commit is contained in:
2026-06-01 22:57:53 +02:00
parent f363f7a67c
commit 9d0a60a93b
31 changed files with 873 additions and 407 deletions

View File

@@ -34,5 +34,48 @@ threat_cost = 3.0
fill_color = "#FF4040"
glyph = "W"
[module.combat]
[module.weapon]
multiplied_damage_formula = "1.2"
[[module]]
id = "laser_cannon"
surface_mask = ["O"]
materials = [{item = "iron_ingot", amount = 1}]
player_production_level = 1
production_time_seconds = 5
threat_cost = 5.0
fill_color = "#FF8040"
glyph = "L"
[module.weapon]
damage_formula = "2"
attack_range_formula = "5"
attack_rate_formula = "2.0"
[[module]]
id = "salvage_bay_module"
surface_mask = ["OO"]
materials = [{item = "iron_ingot", amount = 2}]
player_production_level = 1
production_time_seconds = 5
threat_cost = 0.0
fill_color = "#AACC44"
glyph = "Sv"
[module.salvage]
collection_range_formula = "50"
cargo_capacity_formula = "10"
[[module]]
id = "repair_tool_module"
surface_mask = ["O"]
materials = [{item = "circuit_board", amount = 2}]
player_production_level = 1
production_time_seconds = 5
threat_cost = 0.0
fill_color = "#66CCFF"
glyph = "Rp"
[module.repair]
repair_rate_formula = "5 + x"
repair_range_formula = "80"