Human Corpse Spawn
Vars | |
appearance_override | Sent in if we are spawned by a human critter that drops a spawner |
---|---|
armless | If TRUE we sever the arms of the corpse on spawn |
break_headset | If TRUE we break the headset and make it unscannable after spawning |
corpse | Used to track the created corpse after setup |
decomp_stage | Override this if you want a specific decomp stage |
delete_id | If TRUE we delete the ID slot contents after spawning |
do_damage | If TRUE we call do_damage() by default this is random damage of every type |
empty_bag | If TRUE we delete the contents of the backpack after spawning |
empty_pockets | If TRUE delete the pocket contents if any |
headless | If TRUE we decapitate the corpse on spawn |
husked | If TRUE we husk the corpse on spawn and disfigure face |
legless | If TRUE we sever the legs of the corpse on spawn |
max_limbs_removed | If this has a value, remove a random number of limbs between 0 and this max |
max_organs_removed | If this has a value, remove a random number of organs between 0 and this max |
muterace | Can be used to override default mutant race |
no_decomp | If TRUE we are magically preserved and don't decay |
no_miasma | If TRUE we make no miasma, since filling prefabs or maint etc with that would suck |
randomise_decomp_stage | If TRUE randomise the decomp stage of the body after spawning |
skeletonized | If TRUE we skeletonize the corpse on spawn |
try_buckle | If TRUE we buckle corpse to chair if there is one |
Var Details
appearance_override
Sent in if we are spawned by a human critter that drops a spawner
armless
If TRUE we sever the arms of the corpse on spawn
break_headset
If TRUE we break the headset and make it unscannable after spawning
corpse
Used to track the created corpse after setup
decomp_stage
Override this if you want a specific decomp stage
delete_id
If TRUE we delete the ID slot contents after spawning
do_damage
If TRUE we call do_damage() by default this is random damage of every type
empty_bag
If TRUE we delete the contents of the backpack after spawning
empty_pockets
If TRUE delete the pocket contents if any
headless
If TRUE we decapitate the corpse on spawn
husked
If TRUE we husk the corpse on spawn and disfigure face
legless
If TRUE we sever the legs of the corpse on spawn
max_limbs_removed
If this has a value, remove a random number of limbs between 0 and this max
max_organs_removed
If this has a value, remove a random number of organs between 0 and this max
muterace
Can be used to override default mutant race
no_decomp
If TRUE we are magically preserved and don't decay
no_miasma
If TRUE we make no miasma, since filling prefabs or maint etc with that would suck
randomise_decomp_stage
If TRUE randomise the decomp stage of the body after spawning
skeletonized
If TRUE we skeletonize the corpse on spawn
try_buckle
If TRUE we buckle corpse to chair if there is one