When conquering a planet, open a dialog showing the number of research points received #212
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 in commit
6e13b63onmain.Conquering a planet now opens a dialog on the surface - through the narration banner the surface already carries, so it stops the game and waits to be dismissed like every other turn of the story: the garrison falling, then the research points recovered.
The number comes WITH the
planet_conqueredsignal rather than being reconstructed by the listener. The award depends on the planet definition and the setup's optional override, and a listener recomputing that can disagree with what was actually banked; the signal is emitted after the payment, carrying the amount paid. It reports zero explicitly too, because "this one paid nothing" is what a player deciding where to go next needs to know.Verification
test_planet_conquest_gate.gdasserts an unrewarded conquest reports 0, and that a 4-point conquest reports 4 and banks exactly that.