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)
This commit is contained in:
SamCroswell
2014-11-30 22:22:01 -05:00
parent 6ba65ed1c7
commit b2dee687aa
2 changed files with 18 additions and 6 deletions
+18 -1
View File
@@ -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"