Fixes tinfoil hats and lengthens the time for someone else to put it on (#36019)

* Fixes tinfoil hats and lenghtens the time for someone else to put it on

* Adds some flavor to that text
This commit is contained in:
Dax Dupont
2018-03-04 23:05:39 +01:00
committed by CitadelStationBot
parent 7f6edd82d0
commit df5cbc448e

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
..()