Added buttoning and unbuttoning for the labcoat, and the CMO's labcoat. Green labcoat from the theatre doesn't support this yet.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1715 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
Superxpdude@gmail.com
2011-06-23 20:04:09 +00:00
parent ec53fdddc9
commit 774a07bdb2
7 changed files with 40 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
/obj/secure_closet/CMO/New()
..()
sleep(2)
new /obj/item/clothing/suit/labcoat/cmo( src )
new /obj/item/clothing/suit/labcoat_cmo( src )
new /obj/item/clothing/under/rank/chief_medical_officer( src )
new /obj/item/clothing/suit/bio_suit/general( src )
new /obj/item/clothing/shoes/brown ( src )
+20
View File
@@ -296,6 +296,26 @@ THERMAL GLASSES
src.item_state = "suitjacket_blue_open"
usr << "You unbutton the suit jacket."
/obj/item/clothing/suit/labcoat/verb/toggle()
set name = "Toggle Labcoat Buttons"
set category = "Object"
if(src.icon_state == "labcoat_open")
src.icon_state = "labcoat"
usr << "You button up the labcoat."
else
src.icon_state = "labcoat_open"
usr << "You unbutton the labcoat."
/obj/item/clothing/suit/labcoat_cmo/verb/toggle()
set name = "Toggle Labcoat Buttons"
set category = "Object"
if(src.icon_state == "labcoat_cmo_open")
src.icon_state = "labcoat_cmo"
usr << "You button up the labcoat."
else
src.icon_state = "labcoat_cmo_open"
usr << "You unbutton the labcoat."
/obj/item/clothing/head/ushanka/attack_self(mob/user as mob)
if(src.icon_state == "ushankadown")
src.icon_state = "ushankaup"