spaceship/ui/menus
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
..
BuildMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
BuildMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
BuildMenu.tscn Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
CraftMenu.gd Offer only orderable vessels, and read out crew condition 2026-09-06 11:58:15 +02:00
CraftMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
CraftMenu.tscn Build the logistics crews, and let them burn energy 2026-09-05 19:09:35 +02:00
DevMenu.gd Add a free-costs sandbox tool 2026-09-04 22:34:36 +02:00
DevMenu.gd.uid Turn dev mode into sandbox menu 2026-09-03 20:05:33 +02:00
DevMenu.tscn Add a free-costs sandbox tool 2026-09-04 22:34:36 +02:00
FleetUpkeepMenu.gd Charge more for each berth, and show the bill 2026-09-05 22:36:21 +02:00
FleetUpkeepMenu.tscn Charge more for each berth, and show the bill 2026-09-05 22:36:21 +02:00
FormationMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
FormationMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
FormationMenu.tscn Restore landing fade and missing event sounds 2026-08-31 18:15:37 +02:00
GarrisonMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
GarrisonMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
GarrisonMenu.tscn Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
HangarMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
HangarMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
HangarMenu.tscn Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
LabMenu.gd Plan every craftable vessel, and stop restating the point cost 2026-09-05 23:13:23 +02:00
LabMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
LabMenu.tscn Complete lab, quest, garrison, and energy tickets 2026-09-03 00:12:08 +02:00
MenuLayout.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
MenuLayout.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
ModalMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
ModalMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
PlanningMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
PlanningMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
PlanningMenu.tscn Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
ScannerMenu.gd Add planet scanner and octopus biome 2026-09-04 15:56:07 +02:00
ScannerMenu.gd.uid Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
ScannerMenu.tscn Add planet scanner and octopus biome 2026-09-04 15:56:07 +02:00
SkillMenu.gd Resolve pending gameplay tickets 2026-09-02 13:43:56 +02:00
SkillMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
SkillMenu.tscn Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
StationMenu.gd Offer only orderable vessels, and read out crew condition 2026-09-06 11:58:15 +02:00
StationMenu.tscn Offer only orderable vessels, and read out crew condition 2026-09-06 11:58:15 +02:00
TransferMenu.gd Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
TransferMenu.gd.uid Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00
TransferMenu.tscn Refactor gameplay menus into owned scenes 2026-08-31 02:18:08 +02:00