Refactor multi-resource UI and transfers
This commit is contained in:
parent
af5e08e5a1
commit
8231e165ff
20 changed files with 648 additions and 435 deletions
|
|
@ -180,7 +180,7 @@ func _process(delta: float) -> bool:
|
|||
# The handler working while the BUTTON is inert is the exact bug
|
||||
# class this project keeps hitting, so one press goes the long way.
|
||||
var bank_at_tap: int = game_state.rocks
|
||||
_tap(scene.get_node("UI/TransferMenu/ToFleetAllButton"))
|
||||
_tap(scene.get_node("UI/TransferMenu/ResourceList/OreToFleetButton"))
|
||||
_expect(game_state.fleet_cargo == bank_at_tap,
|
||||
"a real tap did not load all banked ore")
|
||||
_expect(game_state.rocks == 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue