From ff55b4947a4b75a2f9b3232e2493461cf825e59b Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Fri, 12 Jun 2026 18:15:35 +0200 Subject: [PATCH] refinement --- bin/app/data/config/modules.toml | 2 +- bin/app/data/config/ships.toml | 44 ++++++++++++++++------------- docs/content_design.md | 48 +++++++++++++++++--------------- 3 files changed, 52 insertions(+), 42 deletions(-) diff --git a/bin/app/data/config/modules.toml b/bin/app/data/config/modules.toml index c2730c4..e72530e 100644 --- a/bin/app/data/config/modules.toml +++ b/bin/app/data/config/modules.toml @@ -16,7 +16,7 @@ # weapon_upgrade frigate and up # 2x2 laser_cannon_m, drone_bay cruiser and up (no 2x2 area on s hulls) # 3x3 laser_cannon_l battleship and up (no 3x3 area on m hulls) -# 2x6 drone_hangar dreadnought and carrier only +# 2x6 drone_hangar carrier only # ----------------------------------------------------------------------------- # Weapons diff --git a/bin/app/data/config/ships.toml b/bin/app/data/config/ships.toml index 7184ce6..c793b92 100644 --- a/bin/app/data/config/ships.toml +++ b/bin/app/data/config/ships.toml @@ -8,10 +8,12 @@ # xs drone 1 cell — exactly one 1x1 module # s frigate, destroyer no 2x2 area anywhere: only 1x1/1x2/1x3/L modules fit # m cruiser, battlecruiser 2x2 areas (m guns, drone bays) but no 3x3 area -# l battleship fits exactly one 3x3 l gun, at heavy opportunity cost -# xl dreadnought, carrier dreadnought fits three l guns; carrier fits one -# drone hangar (2x6) but no l gun (its deck rows -# are broken up by elevator shafts) +# l battleship four m guns, or exactly one 3x3 l gun at heavy +# opportunity cost +# xl dreadnought, carrier dreadnought fits three l guns but no drone +# hangar; carrier fits one drone hangar (2x6) +# but no l gun (its deck rows are broken up +# by elevator shafts) # # All new hulls have threat cost_formula = "0" so enemy waves do not spawn # them until the balancing pass gives them real stats and default loadouts. @@ -197,19 +199,21 @@ sensor_range_m_formula = "260" scrap_drop = 20 -# Battleship — 20 cells, 5 wide: at most ONE 3x3 l gun fits (the hull is too -# narrow for two), and mounting it consumes nearly half the grid, squeezing -# supports into the remaining strips. Without the l gun it flexibly fits -# several m guns instead. Too narrow for a drone hangar. +# Battleship — 24 cells: a broadside hull with notched flanks on every other +# row. Fits four 2x2 m guns (two per gun deck) with the bow, stern, and flank +# cells left for supports. All 3x3 placements crowd the center columns, so at +# most ONE l gun fits — and mounting it blocks every m gun mount, leaving +# only narrow support strips. The notched rows are never adjacent-and-full, +# so no 2x6 drone hangar fits. [[ship]] id = "battleship" unlock_at_station_level = -1 layout = [ - "XOOOX", - "OOOOO", - "OOOOO", - "OOOOO", - "XOXOX", + "XOOOOX", + "OOOOOO", + "XOOOOX", + "OOOOOO", + "XOOOOX", ] [ship.schematic] @@ -237,17 +241,19 @@ sensor_range_m_formula = "280" scrap_drop = 35 -# Dreadnought — 42 cells: an 11-wide, 3-deep main battery deck that fits -# three 3x3 l guns side by side with spacer columns left over, plus bow and -# stern strips for supports. +# Dreadnought — 36 cells: the main battery deck is split into three 3x3 gun +# slots by structural spacer columns, so exactly three l guns fit side by +# side (or m guns / supports in unused slots). The spacers cap every +# horizontal run at 5 cells, so the 2x6 drone hangar can never fit — carriers +# stay the only hangar hull. Bow and stern strips hold supports. [[ship]] id = "dreadnought" unlock_at_station_level = -1 layout = [ "XXXOOOOOXXX", - "OOOOOOOOOOO", - "OOOOOOOOOOO", - "OOOOOOOOOOO", + "OOOXOOOXOOO", + "OOOXOOOXOOO", + "OOOXOOOXOOO", "XXOOXXXOOXX", ] diff --git a/docs/content_design.md b/docs/content_design.md index b6bf11d..c75b287 100644 --- a/docs/content_design.md +++ b/docs/content_design.md @@ -23,7 +23,7 @@ and makes them trivially moddable through the config files alone. | L-shape (3 cells) | weapon_stabilizer, weapon_primer, weapon_upgrade | frigate | | 2x2 | laser_cannon_m, drone_bay | cruiser | | 3x3 | laser_cannon_l | battleship | -| 2x6 | drone_hangar | dreadnought / carrier | +| 2x6 | drone_hangar | carrier (only) | ### Hull grids @@ -69,26 +69,30 @@ gun) and any 2x6 area (no drone hangar). XOOOOX XXOOXX -**battleship (l, 20 cells)** — 5 wide, so at most ONE 3x3 l gun fits, and -mounting it consumes nearly half the grid, leaving only narrow strips for -supports. Without an l gun it flexibly fits several m guns. Too narrow for a -drone hangar. +**battleship (l, 24 cells)** — broadside hull with notched flanks on every +other row. Fits four 2x2 m guns (two per gun deck) — one more than the +battlecruiser — with bow, stern, and flank cells for supports. All 3x3 +placements crowd the center columns, so at most ONE l gun fits: mounted +center it blocks every m gun mount (pure support strips remain), mounted +offset it still allows two m guns. The notched rows are never adjacent-and- +full, so no 2x6 drone hangar fits. - XOOOX - OOOOO - OOOOO - OOOOO - XOXOX + XOOOOX + OOOOOO + XOOOOX + OOOOOO + XOOOOX -**dreadnought (xl, 42 cells)** — 11-wide, 3-deep main battery deck: three 3x3 -l guns fit side by side with spacer columns to spare, plus bow/stern strips -for supports. Wide enough for a drone hangar too, if the player wants to -trade a gun battery for one. +**dreadnought (xl, 36 cells)** — the main battery deck is split into three +3x3 gun slots by structural spacer columns, so exactly three l guns fit side +by side (or m guns / supports in unused slots), plus bow/stern strips for +supports. The spacers cap every horizontal run at 5 cells, so the 2x6 drone +hangar can never fit — the carrier stays the only hangar hull. XXXOOOOOXXX - OOOOOOOOOOO - OOOOOOOOOOO - OOOOOOOOOOO + OOOXOOOXOOO + OOOXOOOXOOO + OOOXOOOXOOO XXOOXXXOOXX **carrier (xl, 37 cells)** — the top flight deck (rows 0–1) is the only @@ -115,12 +119,12 @@ all placements): | 1x3 | | x | x | x | x | x | x | x | | L-shape | | x | x | x | x | x | x | x | | 2x2 | | | | x | x | x | x | x | -| 3x3 | | | | | | x | x | x* | -| 2x6 | | | | | | | x | x | +| 3x3 | | | | | | x | x | | +| 2x6 | | | | | | | | x | -\* dreadnought only; the carrier's elevator shafts block all 3x3 placements. -Max disjoint l guns: battleship 1, dreadnought 3. Max disjoint m guns: -cruiser 2, battlecruiser 3. +Maximum simultaneous (disjoint) placements: m guns — cruiser 2, +battlecruiser 3, battleship 4; l guns — battleship 1, dreadnought 3; +drone hangar — carrier 1. ## Deliberate placeholders / open questions for later passes