From 121cd5407f0f0db9f930697046ff06933846e373 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Tue, 9 Jun 2026 23:31:58 +0200 Subject: [PATCH] add more modules --- bin/app/data/config/buildings.toml | 2 +- bin/app/data/config/modules.toml | 134 ++++++++++++++++++++++++++++- bin/app/data/config/recipes.toml | 15 +++- bin/balancing/data/balancing.toml | 49 +++++++++-- 4 files changed, 188 insertions(+), 12 deletions(-) diff --git a/bin/app/data/config/buildings.toml b/bin/app/data/config/buildings.toml index 01df7d3..7b0195d 100644 --- a/bin/app/data/config/buildings.toml +++ b/bin/app/data/config/buildings.toml @@ -41,7 +41,7 @@ cost = 20 player_placeable = true construction_time_seconds = 1 surface_mask = [ - "AA ", + "AA", " v", ] diff --git a/bin/app/data/config/modules.toml b/bin/app/data/config/modules.toml index 840e7bf..7a40261 100644 --- a/bin/app/data/config/modules.toml +++ b/bin/app/data/config/modules.toml @@ -1,9 +1,119 @@ [[module]] -id = "laser_cannon" +id = "armor_plate" +surface_mask = ["OO"] +materials = [{item = "armor_plate_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 3 +threat_cost = 20.0 +fill_color = "#808080" +glyph = "A" + +[module.health] +added_hp_formula = "40" + + +[[module]] +id = "sensor_booster" surface_mask = ["O"] -materials = [{item = "laser_cannon_module", amount = 1}] +materials = [{item = "sensor_booster_module", amount = 1}] player_production_level = 1 production_time_seconds = 2 +threat_cost = 1.0 +fill_color = "#40A0FF" +glyph = "S" + +[module.sensor] +added_sensor_range_m_formula = "50" + + +[[module]] +id = "manuvering_thrusters" +surface_mask = ["O"] +materials = [{item = "manuvering_thrusters_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 2 +threat_cost = 1.0 +fill_color = "#40A0FF" +glyph = "Mt" + +[module.movement] +multiplied_speed_mps_formula = "1.2" +added_maneuvering_acceleration_mpss_formula = "10" + + +[[module]] +id = "afterburner" +surface_mask = ["O"] +materials = [{item = "afterburner_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 2 +threat_cost = 1.0 +fill_color = "#40A0FF" +glyph = "Ab" + +[module.movement] +multiplied_speed_mps_formula = "1.6" +added_main_acceleration_mpss_formula = "60" + + +[[module]] +id = "weapon_upgrade" +surface_mask = [ + "OO", + "O ", +] +materials = [{item = "weapon_upgrade_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 4 +threat_cost = 10.0 +fill_color = "#FF4040" +glyph = "Wu" + +[module.weapon] +multiplied_damage_formula = "1.2" + + +[[module]] +id = "weapon_primer" +surface_mask = [ + "OO", + "O ", +] +materials = [{item = "weapon_primer_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 4 +threat_cost = 10.0 +fill_color = "#FF4040" +glyph = "Wp" + +[module.weapon] +multiplied_attack_rate_hz_formula = "1.2" + + +[[module]] +id = "weapon_stabilizer" +surface_mask = [ + "OO", + "O ", +] +materials = [{item = "weapon_stabilizer_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 4 +threat_cost = 10.0 +fill_color = "#FF4040" +glyph = "Ws" + +[module.weapon] +multiplied_attack_range_m_formula = "1.5" +multiplied_attack_rate_hz_formula = "0.8" + + +[[module]] +id = "laser_cannon_xs" +surface_mask = ["O"] +materials = [{item = "laser_cannon_xs_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 0.5 threat_cost = 5.0 fill_color = "#FF8040" glyph = "L" @@ -13,6 +123,25 @@ damage_formula = "2" attack_range_m_formula = "50" attack_rate_hz_formula = "2.0" + +[[module]] +id = "laser_cannon_s" +surface_mask = [ + "OO", + "OO"] +materials = [{item = "laser_cannon_s_module", amount = 1}] +player_production_level = 1 +production_time_seconds = 0.5 +threat_cost = 30.0 +fill_color = "#FF8040" +glyph = "L" + +[module.weapon] +damage_formula = "10" +attack_range_m_formula = "70" +attack_rate_hz_formula = "1.5" + + [[module]] id = "salvager" surface_mask = ["O"] @@ -28,6 +157,7 @@ collection_range_m_formula = "500" cargo_capacity_formula = "10" collection_rate_hz_formula = "0.5" + [[module]] id = "repair_tool" surface_mask = ["O"] diff --git a/bin/app/data/config/recipes.toml b/bin/app/data/config/recipes.toml index d0c11f5..173b5ea 100644 --- a/bin/app/data/config/recipes.toml +++ b/bin/app/data/config/recipes.toml @@ -31,20 +31,27 @@ id = "circuit_board" building = "assembler" inputs = [{item = "iron_ingot", amount = 1}, {item = "copper_ingot", amount = 2}] outputs = [{item = "circuit_board", amount = 1}] -duration_seconds = 5.0 +duration_seconds = 2.0 [[recipe]] id = "drone_hull" building = "assembler" inputs = [{item = "iron_ingot", amount = 5}, {item = "circuit_board", amount = 1}] outputs = [{item = "drone_hull", amount = 1}] -duration_seconds = 12.0 +duration_seconds = 4.0 [[recipe]] -id = "laser_cannon_module" +id = "laser_cannon_xs_module" building = "assembler" inputs = [{item = "iron_ingot", amount = 2}, {item = "circuit_board", amount = 1}] -outputs = [{item = "laser_cannon_module", amount = 1}] +outputs = [{item = "laser_cannon_xs_module", amount = 1}] +duration_seconds = 3.0 + +[[recipe]] +id = "laser_cannon_s_module" +building = "assembler" +inputs = [{item = "iron_ingot", amount = 4}, {item = "circuit_board", amount = 2}] +outputs = [{item = "laser_cannon_s_module", amount = 1}] duration_seconds = 6.0 [[recipe]] diff --git a/bin/balancing/data/balancing.toml b/bin/balancing/data/balancing.toml index 7b3a8b1..1705d91 100644 --- a/bin/balancing/data/balancing.toml +++ b/bin/balancing/data/balancing.toml @@ -12,7 +12,7 @@ enemy_buffer_width_tiles = 10 level = 1 count = 5 modules = [ - {type = "laser_cannon", x = 1, y = 1, rotation = "east"}, + {type = "laser_cannon_xs", x = 1, y = 1, rotation = "east"}, ] [[arena.team]] @@ -20,11 +20,50 @@ enemy_buffer_width_tiles = 10 [[arena.team.ship]] schematic = "drone" level = 1 - count = 1 + count = 2 modules = [ - {type = "laser_cannon", x = 1, y = 1, rotation = "east"}, + {type = "laser_cannon_xs", x = 1, y = 1, rotation = "east"}, + {type = "weapon_stabilizer", x = 1, y = 1, rotation = "east"}, + {type = "weapon_stabilizer", x = 1, y = 1, rotation = "east"}, + {type = "weapon_upgrade", x = 1, y = 1, rotation = "east"}, + {type = "sensor_booster", x = 1, y = 1, rotation = "east"}, + {type = "sensor_booster", x = 1, y = 1, rotation = "east"}, ] +[[arena]] +name = "Fighters vs Supported" +height_tiles = 20 +player_buffer_width_tiles = 10 +contest_zone_width_tiles = 60 +enemy_buffer_width_tiles = 10 + + [[arena.team]] + name = "Fighters" + [[arena.team.ship]] + schematic = "drone" + level = 1 + count = 5 + modules = [ + {type = "laser_cannon_xs", x = 1, y = 1, rotation = "east"}, + ] + + [[arena.team]] + name = "Supported" + [[arena.team.ship]] + schematic = "drone" + level = 1 + count = 3 + modules = [ + {type = "laser_cannon_xs", x = 1, y = 1, rotation = "east"}, + ] + + [[arena.team.ship]] + schematic = "drone" + level = 1 + count = 2 + modules = [ + {type = "repair_tool", x = 1, y = 1, rotation = "east"}, + ] [[arena]] name = "Stations and Ships" @@ -40,7 +79,7 @@ enemy_buffer_width_tiles = 15 level = 1 count = 3 modules = [ - {type = "laser_cannon", x = 1, y = 1, rotation = "east"}, + {type = "laser_cannon_xs", x = 1, y = 1, rotation = "east"}, ] [[arena.team.station]] type = "player_station" @@ -60,5 +99,5 @@ enemy_buffer_width_tiles = 15 level = 1 count = 8 modules = [ - {type = "laser_cannon", x = 1, y = 1, rotation = "east"}, + {type = "laser_cannon_xs", x = 1, y = 1, rotation = "east"}, ]