spaceship/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 296b49c8b8 Offer only orderable vessels, and read out crew condition
A ship crafter shows what can actually be ordered there: a hull whose
research is done, and - for the support craft - one with somewhere to be
assigned. A transporter with no hub and a drone with no workshop have
nowhere to go and would sit in the hangar as spent resources, so the
structure that uses one is part of its availability. Hidden rather than
greyed, as the build menu already treats an unresearched structure, and
gated in queue_order() too so the model refuses what the menu declines to
show.

The craft buttons bound their handlers to a definition captured at startup.
With a list that changes length that is a live bug - a slot would order
whatever hull was there when the menu was built - so they bind to the slot
and resolve through the current offer.

The hub and workshop crew menus now NAME what is left in each vessel:
"TRANSPORTER 2  9 / 20 RUNS", worst first, with one wide bar for the vessel
closest to spent. The per-vessel bars they replaced drew about seven pixels
tall on a phone and carried no figure, so the number the player is deciding
on could not be read.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
2026-09-06 11:58:15 +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 Offer only orderable vessels, and read out crew condition 2026-09-06 11:58:15 +02:00
GameState.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
Quests.gd Take planets by killing what defends them 2026-09-05 13:31:25 +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
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