Refactor multi-resource UI and transfers

This commit is contained in:
Loïc Wisniewski 2026-08-14 11:54:31 +02:00
commit 8231e165ff
20 changed files with 648 additions and 435 deletions

10
GasCargoCounter.gd Normal file
View file

@ -0,0 +1,10 @@
extends "res://GasCounter.gd"
# Fleet-side companion to GasCounter. It keeps the gas bubble glyph instead
# of recolouring ore, and occupies the same row as banked gas in the HUD.
func _process(_delta: float) -> void:
visible = GameState.fleet_gas_cargo > 0
if visible:
set_amount(GameState.fleet_gas_cargo)