implement unlock dependencies

This commit is contained in:
2026-07-03 08:35:45 +02:00
parent 58d4586d00
commit 6ea0655eaf
13 changed files with 476 additions and 11 deletions

View File

@@ -4,6 +4,11 @@
# content; stats, materials, and threat costs are placeholders until the
# recipe and balancing passes.
#
# Unlock progression is mostly disabled (unlock_at_station_level = -1) pending
# the balancing pass. The laser cannons are the exception: laser_cannon_m is
# gated to station level 1, and laser_cannon_l requires laser_cannon_m to be
# unlocked first (unlock_requires) — a demonstration of the prerequisite chain.
#
# Surface mask footprint ladder — footprints gate which hulls can mount a
# module, purely through geometry (see ships.toml for the matching hull
# grids):
@@ -39,7 +44,7 @@ attack_rate_hz = 2.0
[[module]]
id = "laser_cannon_m"
unlock_at_station_level = -1
unlock_at_station_level = 1
surface_mask = [
"OO",
"OO"]
@@ -56,7 +61,8 @@ attack_rate_hz = 1.5
[[module]]
id = "laser_cannon_l"
unlock_at_station_level = -1
unlock_at_station_level = 1
unlock_requires = ["laser_cannon_m"]
surface_mask = [
"OOO",
"OOO",