From b2dee687aa5a31c79fe05e6381d131d779dd6e5b Mon Sep 17 00:00:00 2001 From: SamCroswell Date: Sun, 30 Nov 2014 22:22:01 -0500 Subject: [PATCH] Head of Security Items Update - HoS jacket can now be buttoned or unbuttoned with a verb. - The HoS now only gets the jacket and hat he spawns with. ( I verified the HoS spawns with a jacket and hat no matter if they latejoined or were HoS from the start of the shift) --- .../crates_lockers/closets/secure/security.dm | 5 ----- code/modules/clothing/under/jobs/security.dm | 19 ++++++++++++++++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/code/game/objects/structures/crates_lockers/closets/secure/security.dm b/code/game/objects/structures/crates_lockers/closets/secure/security.dm index df038b6aaed..14aba6754d6 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/security.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/security.dm @@ -100,14 +100,9 @@ new /obj/item/weapon/storage/backpack/security(src) else new /obj/item/weapon/storage/backpack/satchel_sec(src) - new /obj/item/clothing/head/helmet/HoS(src) new /obj/item/clothing/suit/armor/vest(src) new /obj/item/clothing/under/rank/head_of_security/jensen(src) new /obj/item/clothing/under/rank/head_of_security/corp(src) - new /obj/item/clothing/suit/armor/hos/jensen(src) - new /obj/item/clothing/suit/armor/hos(src) - new /obj/item/clothing/head/helmet/HoS/dermal(src) - new /obj/item/clothing/mask/gas/sechailer(src) new /obj/item/clothing/mask/gas/sechailer/hos(src) new /obj/item/weapon/cartridge/hos(src) new /obj/item/device/radio/headset/heads/hos(src) diff --git a/code/modules/clothing/under/jobs/security.dm b/code/modules/clothing/under/jobs/security.dm index 81a18a24037..c2fa43f4334 100644 --- a/code/modules/clothing/under/jobs/security.dm +++ b/code/modules/clothing/under/jobs/security.dm @@ -110,7 +110,7 @@ /obj/item/clothing/suit/armor/hos name = "armored coat" - desc = "A greatcoat enhanced with a special alloy for some protection and style." + desc = "A trench coat enhanced with a special alloy for some protection and style." icon_state = "hos" item_state = "hos" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS @@ -118,6 +118,23 @@ flags_inv = HIDEJUMPSUIT siemens_coefficient = 0.6 + verb/toggle() + set name = "Toggle Trenchcoat Buttons" + set category = "Object" + + if(!usr.canmove || usr.stat || usr.restrained()) + return 0 + if(icon_state == "hos") + icon_state = "jensencoat" + item_state = "jensencoat" + usr<< "You unbutton the [src]." + else + icon_state = "hos" + item_state = "hos" + usr<< "You button the [src]." + + usr.update_inv_wear_suit() + /obj/item/clothing/head/helmet/HoS/dermal name = "Dermal Armour Patch"