Properly adds a drill sergeant hat to the warden's locker (#42533)

* does the thing - please work

* adds it to the locker

* remove var/datum

Co-Authored-By: VileBeggar <edmir995@gmail.com>

* Update code/modules/clothing/head/jobs.dm

adds space

Co-Authored-By: VileBeggar <edmir995@gmail.com>

* adds denton's review suggestion

it's a webedit but i tested it and it worked

* makes it a bit less annoying

* grammar fix
This commit is contained in:
Vile Beggar
2019-01-28 09:10:57 +01:00
committed by ShizCalev
parent 84c06057ce
commit c98d9d054b
4 changed files with 30 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@
#define INSULATED /datum/mutation/human/insulated
#define SHOCKTOUCH /datum/mutation/human/shock
#define OLFACTION /datum/mutation/human/olfaction
#define YELLING /datum/mutation/human/yelling
#define UI_CHANGED "ui changed"
#define UE_CHANGED "ue changed"
+13
View File
@@ -219,3 +219,16 @@
..()
owner.grant_language(/datum/language/common)
owner.remove_language(/datum/language/beachbum)
/datum/mutation/human/yelling
name = "Yelling"
desc = "A mutation that forces the host to constantly yell their sentences out."
quality = MINOR_NEGATIVE
locked = TRUE
text_gain_indication = "<span class='danger'>You feel really angry.</span>"
text_lose_indication = "<span class='notice'>You feel calmer.</span>"
/datum/mutation/human/yelling/say_mod(message)
if(message)
message = "[uppertext(replacetext(message, ".", "!"))]!"
return (message)
@@ -104,6 +104,7 @@
new /obj/item/radio/headset/headset_sec(src)
new /obj/item/clothing/suit/armor/vest/warden(src)
new /obj/item/clothing/head/warden(src)
new /obj/item/clothing/head/warden/drill(src)
new /obj/item/clothing/head/beret/sec/navywarden(src)
new /obj/item/clothing/suit/armor/vest/warden/alt(src)
new /obj/item/clothing/under/rank/warden/navyblue(src)
+15
View File
@@ -145,6 +145,21 @@
strip_delay = 60
dog_fashion = /datum/dog_fashion/head/warden
/obj/item/clothing/head/warden/drill
name = "warden's drill hat"
desc = "A special armored campaign hat with the security insignia emblazoned on it. Uses reinforced fabric to offer sufficient protection. Has the letters 'FMJ' enscribed on its side."
icon_state = "wardendrill"
item_state = "wardendrill"
dog_fashion = null
/obj/item/clothing/head/warden/drill/equipped(mob/living/carbon/human/user, slot)
..()
if(slot == SLOT_HEAD)
user.dna.add_mutation(YELLING)
/obj/item/clothing/head/warden/drill/dropped(mob/living/carbon/human/user)
user.dna.remove_mutation(YELLING)
/obj/item/clothing/head/beret/sec
name = "security beret"
desc = "A robust beret with the security insignia emblazoned on it. Uses reinforced fabric to offer sufficient protection."