Refactor gameplay menus into owned scenes
This commit is contained in:
parent
46196a1adb
commit
a17fe88197
50 changed files with 3449 additions and 3619 deletions
|
|
@ -98,9 +98,9 @@ func _process(delta: float) -> bool:
|
|||
controller._confirm_build()
|
||||
if game_state.extractors.size() != before:
|
||||
return _fail("an extractor was built on a research_lab planet")
|
||||
if not ("nothing to extract" in controller.build_status.text):
|
||||
return _fail("refusal did not explain itself, status was '%s'" % controller.build_status.text)
|
||||
print("extractor refused on a research_lab planet, explained: '%s'" % controller.build_status.text)
|
||||
if not ("nothing to extract" in controller.build_menu.status.text):
|
||||
return _fail("refusal did not explain itself, status was '%s'" % controller.build_menu.status.text)
|
||||
print("extractor refused on a research_lab planet, explained: '%s'" % controller.build_menu.status.text)
|
||||
|
||||
print("TEST_RESEARCH_LAB_EXTRACTOR_GATE: PASS")
|
||||
quit(0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue