spaceship/buildings
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 2bb46cba94 Charge more for each berth, and show the bill
#220: every berth past the first paid one costs 1.12x the one before it, on
top of the flat per-vessel charge. A linear bill makes the tenth hull no more
of a decision than the second; compounding weighs each addition against the
whole fleet behind it. Shallow on purpose - the thirteenth berth costs about
three and a half times the second, the twentieth about seven and a half.

Fleet Offices gain a menu naming the whole bill per minute, a line per paying
berth with its multiplier, and the arithmetic in words. It renders
fleet_upkeep_breakdown(), which is the calculation the charging loop itself
runs: a readout that summed independently could quote a bill the game does
not take, which is the thing worth preventing here. The test pins that what
the menu quotes for a berth is what that office is charged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
2026-09-05 22:36:21 +02:00
..
Building.gd Sharpen upgrades, mark the convoy's destination, and give the world sound 2026-09-05 12:16:17 +02:00
Building.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
Building.tscn #101 (#97c): waves attack buildings 2026-08-23 13:53:17 +02:00
BuildingActionProvider.gd Preserve packed definition arrays in exports 2026-08-31 15:23:25 +02:00
BuildingActionProvider.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildingDefinition.gd Preserve packed definition arrays in exports 2026-08-31 15:23:25 +02:00
BuildingDefinition.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildingDefinitions.gd Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
BuildingDefinitions.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildingField.gd #146: shots, deaths and collapses are heard 2026-08-29 13:05:47 +02:00
BuildingField.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildingHitbox.gd Resolve pending gameplay tickets 2026-09-02 13:43:56 +02:00
BuildingHitbox.gd.uid Add the .uid files Godot generated for the new scripts 2026-08-23 19:23:50 +02:00
BuildingLogisticsProfile.gd Preserve packed definition arrays in exports 2026-08-31 15:23:25 +02:00
BuildingLogisticsProfile.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildingVisualBase.gd Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
BuildingVisualBase.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
CommandBuildingDefinition.tres #138: structures and doctrines cost more than rocks, and more the deeper they are 2026-08-28 15:30:30 +02:00
CommandBuildingVisual.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
CommandBuildingVisual.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
CommandBuildingVisual.tscn #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
CrafterBuildingDefinition.tres #99 (#97a): buildings have health, and can be destroyed 2026-08-23 13:37:40 +02:00
CrafterBuildingVisual.gd #117: the crafter and the lab animate only while they are working 2026-08-23 21:58:59 +02:00
CrafterBuildingVisual.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
CrafterBuildingVisual.tscn #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
ExtractorBuildingDefinition.tres #99 (#97a): buildings have health, and can be destroyed 2026-08-23 13:37:40 +02:00
FleetOfficeBuildingDefinition.tres Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
FleetOfficeBuildingVisual.gd Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
FleetOfficeBuildingVisual.tscn Charge more for each berth, and show the bill 2026-09-05 22:36:21 +02:00
GasBurnerBuildingDefinition.tres Complete lab, quest, garrison, and energy tickets 2026-09-03 00:12:08 +02:00
GasBurnerBuildingVisual.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GasBurnerBuildingVisual.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GasBurnerBuildingVisual.tscn #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
MothershipBuildingDefinition.tres #99 (#97a): buildings have health, and can be destroyed 2026-08-23 13:37:40 +02:00
MothershipBuildingVisual.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
MothershipBuildingVisual.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
MothershipBuildingVisual.tscn #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
OutpostBuildingDefinition.tres #138: structures and doctrines cost more than rocks, and more the deeper they are 2026-08-28 15:30:30 +02:00
OutpostBuildingVisual.gd #102/#103 (#97d/#97e): the outpost, and the garrison you compose for it 2026-08-23 14:02:20 +02:00
OutpostBuildingVisual.gd.uid Add the .uid files Godot generated for the new scripts 2026-08-23 19:23:50 +02:00
OutpostBuildingVisual.tscn #102/#103 (#97d/#97e): the outpost, and the garrison you compose for it 2026-08-23 14:02:20 +02:00
PlanningBuildingDefinition.tres #138: structures and doctrines cost more than rocks, and more the deeper they are 2026-08-28 15:30:30 +02:00
PlanningBuildingVisual.gd #106/#107 (#98a/#98b): the Planning Center 2026-08-23 14:21:52 +02:00
PlanningBuildingVisual.gd.uid Add the .uid files Godot generated for the new scripts 2026-08-23 19:23:50 +02:00
PlanningBuildingVisual.tscn #106/#107 (#98a/#98b): the Planning Center 2026-08-23 14:21:52 +02:00
ScannerBuildingDefinition.tres Add planet scanner and octopus biome 2026-09-04 15:56:07 +02:00
ScannerBuildingVisual.gd Add planet scanner and octopus biome 2026-09-04 15:56:07 +02:00
ScannerBuildingVisual.gd.uid Buy fleet berths with Fleet Offices 2026-09-05 17:09:27 +02:00
ScannerBuildingVisual.tscn Add planet scanner and octopus biome 2026-09-04 15:56:07 +02:00
ShipLabBuildingDefinition.tres #138: structures and doctrines cost more than rocks, and more the deeper they are 2026-08-28 15:30:30 +02:00
ShipLabBuildingVisual.gd #117: the crafter and the lab animate only while they are working 2026-08-23 21:58:59 +02:00
ShipLabBuildingVisual.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
ShipLabBuildingVisual.tscn #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
TransportHubBuildingDefinition.tres #138: structures and doctrines cost more than rocks, and more the deeper they are 2026-08-28 15:30:30 +02:00
TransportHubBuildingVisual.gd #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
TransportHubBuildingVisual.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
TransportHubBuildingVisual.tscn Build the logistics crews, and let them burn energy 2026-09-05 19:09:35 +02:00
WorkshopBuildingDefinition.tres #138: structures and doctrines cost more than rocks, and more the deeper they are 2026-08-28 15:30:30 +02:00
WorkshopBuildingVisual.gd #116: the Spacial Workshop, and the drones that mend what waves break 2026-08-23 21:59:51 +02:00
WorkshopBuildingVisual.gd.uid Add the .uid files Godot generated for the newest scripts 2026-08-24 12:10:41 +02:00
WorkshopBuildingVisual.tscn Build the logistics crews, and let them burn energy 2026-09-05 19:09:35 +02:00