Q: How does, exactly, the new corpse recovery system work, because it gets more confusing by the second? What needs what flag? What if battle corpse is the same as the geo corpse? Where do recovery points should be declared? How do 2x2 units behave? Why do I get battle corpses insted of geo corpses after finishing interrogations?
This is the change I made:
https://github.com/MeridianOXC/OpenXcom/commit/d77a622a90d20c666b22752386e1659df239c6d8As you may see I have changed:
- only Debriefing (i.e. after mission recovery), nothing else
- I have added one more conditions (recoverable=true) just before the alien corpses are recovered... it shouldn't affect anything else
- alien corpses are recovered in two cases: if they are killed, or if they are stunned and there is no containment
Of course, it is always possible that I accidentally broke something, if something doesn't work as described, give me an example and I will investigate.
----
As for the other questions:
1. Engine always recovers geoCorpses, never battleCorpses
2. However, if corpseGeo is empty it is automatically filled with the corpseBattle (as if it was defined in the ruleset)
3. For big units (2x2), the first corpseBattle is used to fill the empty corpseGeo
4. To retrieve
dead or live aliens... the recoveryPoints must be greater than 0 and battleType must be "corpse".... otherwise nothing is recovered
5. To disable recovery of dead aliens, you can now specify recovery: false on the geoCorpse ... which should be the only change I made
EDIT: if by any chance you are still using corpseItem, then this can also fill the empty corpseGeo... corpseItem is the old corpseBattle from the old days