MIGRATIONS DELETIONS AND QUIRKS OH MY

This commit is contained in:
Timothy Teakettle
2022-08-05 18:06:49 +01:00
parent 818e564c92
commit b05f6e221d
5 changed files with 28 additions and 138 deletions
+6
View File
@@ -47,8 +47,14 @@
H.flags_1 &= ~(HEAR_1)
RegisterSignal(dullahan_head, COMSIG_ATOM_HEARER_IN_VIEW, .proc/include_owner)
dullahan_head.update_appearance()
/datum/component/dullahan/proc/include_owner(datum/source, list/processing_list, list/hearers)
if(!QDELETED(parent))
hearers += parent
/datum/component/dullahan/proc/unlist_head(datum/source, noheal = FALSE, list/excluded_limbs)
excluded_limbs |= BODY_ZONE_HEAD // So we don't gib when regenerating limbs.
+9
View File
@@ -186,3 +186,12 @@
value = 0
medical_record_text = "Patient should not come into contact with sodium."
mob_trait = TRAIT_SALT_SENSITIVE
/datum/quirk/dullahan
name = "Dullahan"
desc = "Your head is detached from your body."
value = 0
medical_record_text = "Patient seems to have some kind of spatial link with their decapitated head."
/datum/quirk/dullahan/post_add()
quirk_holder.AddComponent(/datum/component/dullahan)