mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #13701 from Heroman3003/avidafix
Fixes Avida's hat not being equippable on earless people
This commit is contained in:
@@ -667,7 +667,7 @@
|
||||
|
||||
/obj/item/clothing/head/fluff/avida/mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
|
||||
if(..())
|
||||
if(H.ear_style.name == "Bnnuy Ears"||H.ear_style.name == "Bnnuy Ears 2") //check if wearer's ear sprite is compatible with trimmed icon
|
||||
if(H.ear_style && (H.ear_style.name == "Bnnuy Ears" || H.ear_style.name == "Bnnuy Ears 2")) //check if wearer's ear sprite is compatible with trimmed icon
|
||||
item_state = initial(src.item_state)
|
||||
else //if not, just use a generic icon
|
||||
item_state = "avidahatnoears"
|
||||
|
||||
Reference in New Issue
Block a user