Merge pull request #5799 from Citadel-Station-13/upstream-merge-36019

[MIRROR] Fixes tinfoil hats and lengthens the time for someone else to put it on
This commit is contained in:
deathride58
2018-03-05 02:46:25 +00:00
committed by GitHub
+9 -1
View File
@@ -235,9 +235,17 @@
icon_state = "foilhat"
item_state = "foilhat"
armor = list("melee" = 0, "bullet" = 0, "laser" = -5,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = -5, "fire" = 0, "acid" = 0)
equip_delay_other = 140
/obj/item/clothing/head/foilhat/equipped(mob/living/carbon/human/user, slot)
if(slot == slot_head)
user.gain_trauma(/datum/brain_trauma/mild/phobia, FALSE, "conspiracies")
to_chat(user, "<span class='warning'>As you don the foiled hat, an entire world of conspiracy theories and seemingly insane ideas suddenly rush into your mind. What you once thought unbelievable suddenly seems.. undeniable. Everything is connected and nothing happens just by accident. You know too much and now they're out to get you. </span>")
flags_1 |= NODROP_1
/obj/item/clothing/head/foilhat/attack_hand(mob/user)
if(iscarbon(user))
var/mob/living/carbon/C = user
if(src == C.head)
to_chat(user, "<span class='userdanger'>Why would you want to take this off? Do you want them to get into your mind?!</span>")
return
..()