Files
Time-Green 0e82c5d6b9 [NO GBP] fixes spurious unit test fail for prosthetic limbs (#87653)
Yeah I really don't get why this happens. I went through it on local,
and it goes
try delete human > delete quirks > delete the nullspaced original limb
from proslimb > delete the rest of limbs
Still the unit test fails because it's getting qdelled twice? It doesn't
qdel twice on local so idfk

This is caused by morgue bodies with proslimbs being spawned and
deleted, so uh just stop morgue bodies from getting proslimbs. idk man
its a bad fix but it'll get our unit tests running again

Fixes https://github.com/tgstation/tgstation/issues/87663
Fixes https://github.com/tgstation/tgstation/issues/87669
2024-11-03 17:57:05 +01:00

59 lines
2.1 KiB
Plaintext

/// Default scenario, with normal species, assignments and damages etc
/datum/corpse_damage_class/station
area_lore = "I was working in a space station"
weight = 15
possible_character_types = list(/datum/corpse_character/mostly_roundstart = 1)
possible_character_assignments = list(
/datum/corpse_assignment/engineer = 1,
/datum/corpse_assignment/medical = 1,
/datum/corpse_assignment/security = 1,
/datum/corpse_assignment/science = 1,
/datum/corpse_assignment/cargo = 1,
/datum/corpse_assignment/civillian = 1,
)
possible_flavor_types = list(
/datum/corpse_flavor/quirk/prosthetic_limb = 1,
null = 9,
)
possible_causes_of_death = list(
/datum/corpse_damage/cause_of_death/melee_weapon/esword = 1,
/datum/corpse_damage/cause_of_death/melee_weapon/changeling = 1,
/datum/corpse_damage/cause_of_death/melee_weapon/toolbox = 1,
/datum/corpse_damage/cause_of_death/melee_weapon/heretic = 1,
/datum/corpse_damage/cause_of_death/explosion = 1,
/datum/corpse_damage/cause_of_death/plasmafire = 1,
/datum/corpse_damage/cause_of_death/projectile/bullet = 1,
/datum/corpse_damage/cause_of_death/projectile/laser = 1,
/datum/corpse_damage/cause_of_death/poison/venom = 1,
)
post_mortem_effects = list(
/datum/corpse_damage/post_mortem/limb_loss = 5,
/datum/corpse_damage/post_mortem/organ_loss = 5,
)
decays = list(
/datum/corpse_damage/post_mortem/organ_decay = 5,
/datum/corpse_damage/post_mortem/organ_decay/light = 1,
/datum/corpse_damage/post_mortem/organ_decay/heavy = 1,
)
/// Less decay, spread burn and brute damage
/datum/corpse_damage_class/station/spaced
weight = 2
possible_causes_of_death = list(/datum/corpse_damage/cause_of_death/spaced = 1)
decays = list(/datum/corpse_damage/post_mortem/organ_decay/light = 1)
/// Human morgue body
/datum/corpse_damage_class/station/morgue
weight = 0
possible_character_types = list(/datum/corpse_character/morgue = 1)
possible_character_assignments = list()
possible_flavor_types = list()
/// Non-roundstart species
/datum/corpse_damage_class/station/exotic_species
possible_character_types = list(/datum/corpse_character/pod = 1)
weight = 1