rice hat fix

This commit is contained in:
Vynzill
2021-02-12 16:13:59 -06:00
parent 3d7e74ba66
commit 5d001fc4b3
2 changed files with 4 additions and 3 deletions

View File

@@ -26666,3 +26666,4 @@ bG
bG
bG
"}

View File

@@ -25,9 +25,9 @@
name = "cursed rice hat"
desc = "Welcome to the rice fields, motherfucker. This particular one seems to give you second thoughts about wearing it."
/obj/item/clothing/mask/equipped(mob/M, slot)
/obj/item/clothing/head/rice_hat/cursed/equipped(mob/M, slot)
. = ..()
if (slot == SLOT_WEAR_MASK && modifies_speech)
if (slot == SLOT_HEAD)
RegisterSignal(M, COMSIG_MOB_SAY, .proc/handle_speech)
else
UnregisterSignal(M, COMSIG_MOB_SAY)
@@ -106,4 +106,4 @@
/mob/living/simple_animal/hostile/gorilla/jungle
tame = 1
faction = list("neutral")
faction = list("neutral")