spaceship/GasCargoCounter.gd
2026-08-14 11:54:31 +02:00

10 lines
315 B
GDScript

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)