Goonstation 13 - Modules - TypesVar Details

Human Corpse Spawn

Vars

appearance_overrideSent in if we are spawned by a human critter that drops a spawner
armlessIf TRUE we sever the arms of the corpse on spawn
break_headsetIf TRUE we break the headset and make it unscannable after spawning
corpseUsed to track the created corpse after setup
decomp_stageOverride this if you want a specific decomp stage
delete_idIf TRUE we delete the ID slot contents after spawning
do_damageIf TRUE we call do_damage() by default this is random damage of every type
empty_bagIf TRUE we delete the contents of the backpack after spawning
empty_pocketsIf TRUE delete the pocket contents if any
headlessIf TRUE we decapitate the corpse on spawn
huskedIf TRUE we husk the corpse on spawn and disfigure face
leglessIf TRUE we sever the legs of the corpse on spawn
max_limbs_removedIf this has a value, remove a random number of limbs between 0 and this max
max_organs_removedIf this has a value, remove a random number of organs between 0 and this max
muteraceCan be used to override default mutant race
no_decompIf TRUE we are magically preserved and don't decay
no_miasmaIf TRUE we make no miasma, since filling prefabs or maint etc with that would suck
randomise_decomp_stageIf TRUE randomise the decomp stage of the body after spawning
skeletonizedIf TRUE we skeletonize the corpse on spawn
try_buckleIf 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