Makes xenos not runtime on pierrots/wizarditis (#25397)

This commit is contained in:
DGamerL
2024-05-06 00:59:51 +00:00
committed by GitHub
parent 0b04611f84
commit 02cb93114d
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -42,6 +42,9 @@
// Semi-permanent clown mask while in last stage of infection
if(locate(/obj/item/clothing/mask/gas/clown_hat) in H)
return
if(!istype(H)) // Xenos don't have masks. They can still feel silly though
return
if(!H.has_organ_for_slot(SLOT_HUD_WEAR_MASK) || !H.canUnEquip(H.get_item_by_slot(SLOT_HUD_WEAR_MASK)))
return
+2
View File
@@ -58,6 +58,8 @@
/datum/disease/wizarditis/proc/spawn_wizard_clothes()
var/mob/living/carbon/human/H = affected_mob
if(!istype(H))
return // Woe, wizard xeno upon ye
// Which slots can we replace?
var/list/eligible_slot_IDs = new