corpse_damage_class ![code/modules/lost_crew/damages/_damages.dm 7](git.png)
The main style controller for new dead bodies! Determines the character, lore, possible causes of death, decay and every other modifier!
Vars | |
area_lore | Lore we give on revival, this is the first line |
---|---|
death_lore | Message sent to the recovered crew, constructed from the different death lores |
decays | A random decay we apply. Defined here so we can vary it (i.e. a spaced body has less decay than one in a warm jungle) |
lore_death_time_max | When healthscanned, this is the maximum time that shows |
lore_death_time_min | When healthscanned, this is the minimum time that shows |
possible_causes_of_death | Whatever killed us |
possible_character_assignments | Assignments that can be given to the corpse |
possible_character_types | Different character archetypes we can spawn |
possible_flavor_types | Possible flavors that can be applied to the corpse |
post_mortem_effects | Goddamn space vultures stealing my organs |
weight | Weight given to this class. Setting this is all that's needed for it to be rollable |
Procs | |
apply_character | Generate and apply a possible character (species etc) |
apply_injuries | Set up injuries |
pick_damage_type | Wrapped pickweight so we can have a bit more controle over how we pick our rules |
set_death_date | Soulfully give a date of death for health analyzers |
Var Details
area_lore ![code/modules/lost_crew/damages/_damages.dm 11](git.png)
Lore we give on revival, this is the first line
death_lore ![code/modules/lost_crew/damages/_damages.dm 9](git.png)
Message sent to the recovered crew, constructed from the different death lores
decays ![code/modules/lost_crew/damages/_damages.dm 25](git.png)
A random decay we apply. Defined here so we can vary it (i.e. a spaced body has less decay than one in a warm jungle)
lore_death_time_max ![code/modules/lost_crew/damages/_damages.dm 29](git.png)
When healthscanned, this is the maximum time that shows
lore_death_time_min ![code/modules/lost_crew/damages/_damages.dm 27](git.png)
When healthscanned, this is the minimum time that shows
possible_causes_of_death ![code/modules/lost_crew/damages/_damages.dm 21](git.png)
Whatever killed us
possible_character_assignments ![code/modules/lost_crew/damages/_damages.dm 17](git.png)
Assignments that can be given to the corpse
possible_character_types ![code/modules/lost_crew/damages/_damages.dm 15](git.png)
Different character archetypes we can spawn
possible_flavor_types ![code/modules/lost_crew/damages/_damages.dm 19](git.png)
Possible flavors that can be applied to the corpse
post_mortem_effects ![code/modules/lost_crew/damages/_damages.dm 23](git.png)
Goddamn space vultures stealing my organs
weight ![code/modules/lost_crew/damages/_damages.dm 13](git.png)
Weight given to this class. Setting this is all that's needed for it to be rollable
Proc Details
apply_character
Generate and apply a possible character (species etc)
apply_injuries
Set up injuries
pick_damage_type
Wrapped pickweight so we can have a bit more controle over how we pick our rules
set_death_date
Soulfully give a date of death for health analyzers