spaceship/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 93bfe62e76 Let the fleet grow past twenty vessels
max_fleet_size() clamped itself to DEFAULT_FORMATION.size(), so the ceiling
on the fleet was a property of the LAYOUT - the wedge ran out of authored
positions at twenty - rather than a rule anyone decided on. Capacity is the
supplied Fleet Offices and nothing else now.

Dropping the clamp alone would index off the end of the formation array, so
the wedge continues by rule instead of stopping: formation_slot() grows it
on demand, each further pair stepping 30 further out and 40 further back,
which is what the authored rows already do - the first twenty slots come
back unchanged. A grown slot is rotated by formation_rotation so a fleet
that outgrows the array after the player has pivoted does not sprout hulls
facing the original heading, and that angle is saved with the layout.

Two "fleet is full" messages pointed at the vanished ceiling. Both now say
what actually buys a berth, and the hangar's stops claiming it is research,
which it has not been since #219.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QR2Mdk42ghEpeyXPe4UFyn
2026-09-12 19:06:29 +02:00
..
CatalogCheck.gd Preserve packed definition arrays in exports 2026-08-31 15:23:25 +02:00
CatalogCheck.gd.uid #166-#173: plainer words, a point to shoot at, and a catalog that says when it is broken 2026-08-30 14:04:46 +02:00
CombatTarget.gd Complete lab, quest, garrison, and energy tickets 2026-09-03 00:12:08 +02:00
CombatTarget.gd.uid Complete lab, quest, garrison, and energy tickets 2026-09-03 00:12:08 +02:00
GameState.gd Let the fleet grow past twenty vessels 2026-09-12 19:06:29 +02:00
GameState.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
Quests.gd Find the planet setups in an exported build 2026-09-07 13:55:41 +02:00
Quests.gd.uid #129 (#131, #132, #133): a quest chain, and a World Ship out of reach 2026-08-28 14:41:03 +02:00
SaveGame.gd Let the fleet grow past twenty vessels 2026-09-12 19:06:29 +02:00
SaveGame.gd.uid Track the new save script's uid 2026-09-11 14:45:43 +02:00
ViewUtils.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
ViewUtils.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00