it should not be possible to create extractor on ennemies lab planet #75
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented and pushed in
63d0d6a.Three small research-lab-planet polish items bundled together:
#74 - research lab planets (#63) were rare enough to rarely see; raised
WorldGen.RESEARCH_LAB_CHANCEfrom 0.08 to 0.16.#75 - a research lab planet has no
resource_typeto extract, but the extractor build flow let you place one there anyway with nothing to show for it.BuildControllernow refuses the placement with an explicit " has nothing to extract" status message before spending anything.#76 - the surface capture label just said "CONQUERED" on a research lab planet with no indication of what capturing it actually granted. It now reads "CONQUERED - +1 RESEARCH POINT" specifically for research lab planets.
Tests: new
tests/test_research_lab_extractor_gate.gd(bash tests/run_tests.sh research_lab_extractor_gate) covers #75 directly. #74/#76 verified via screenshot + code review (chance/label-text changes, no new branchable logic worth a dedicated test). Also had to patch two pre-existing tests (test_extractor_building.gd,test_planet_conquest_gate.gd) whose "first chunk found" scans happened to land on a research-lab planet in this world's fixed seed - excluded that planet type from their unrelated scans.