Survivors now grant half a larva on permadeath but no extra on burst - #13037
Open
Drulikar wants to merge 8 commits into
Open
Survivors now grant half a larva on permadeath but no extra on burst#13037Drulikar wants to merge 8 commits into
Drulikar wants to merge 8 commits into
Conversation
…n't burst but hive is granted less
Contributor
Author
|
Possible things I see needing to be done depending:
|
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…_permadeath # Conflicts: # code/modules/mob/living/carbon/human/death.dm
Contributor
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Contributor
|
Code LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About the pull request
This PR does the following:
I wanted to reduce the number of stored_larva based on how many survivors spawned, but if all xeno slots are filled you'd have 0 stored_larva to take away, and being in a stored_larva deficit would be kinda silly. Also survivors aren't in the precount so its not like I can take away xeno slots either and I would rather not change that aspect too.
Explain why it's good for the game
Currently we are seeing survivors have a massive impact on initial xeno population if a majority end up captured. This should make it where whether they get capped or not has less of a variable impact (old range was either 0 or 1.5 larva per survivor on death, now its 0.5 or 1.0 per survivor on death). Also, tying permadeath to additional larva gives more incentive for survivors to actually survive (at least for the first hour) and should punish xenos less for engaging them but failing to capture them.
Testing Photographs and Procedure
Screenshots & Videos
Tested spawning as xeno -> Job is xenomorph (despite faction being survivor) so doesn't use the new survivor logic checking for death so no larva on death (should have chest burst set anyways)Tested spawning as survivor, getting infected, killed, and embryo expires -> grants death partial larva

Tested spawning as survivor, getting infected, killed, and embryo bursts -> grants no death partial larva
Tested spawning as survivor, getting infected, killed, and embryo is already larva (but not auto bursted yet) when perma'd -> grants no death partial larva
Tested spawning as survivor, getting infected, killed, permas, and embryo incorrectly expires later somehow (extended its TOD check) -> grants death partial larva (enters into grant_larva_on_embryo_delete signal handler)
Tested spawning as survivor, getting infected, killed, permas, and embryo incorrectly matures into larva later somehow (extended its TOD check) -> grants no death partial larva (enters into grant_larva_on_embryo_delete signal handler but early returns on the chestburst check)
Changelog
🆑 Drathek
balance: Survivors no longer grant extra bursts on nested capture but grant 0.5 larva on permadeath (if they didn't chestburst and its within the first hour of the round)
code: Role authority now sets up survivors in a loop based on type rather than hardcoded for each kind of survivor job
code: All previous calls to send COMSIG_HUMAN_SET_UNDEFIBBABLE now utilize a helper proc set_undefibbable instead
config: Default config for nested extra bursts set to the value live has it at
fix: Fixed chestbursting and gibbing not triggering the undefib signal
fix: Fixed the issurvivorjob define not considering a CO survivor job (shouldn't change any behavior since orbit menu would fallback to faction_group)
maptweak: Added a survivor spawner to USS runtime so its possible to spawn as a normal survivor there
/:cl: