mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
[MIRROR] Adds Teshari version of purple robes (#11265)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
co-authored by
Cameron Lennox
Kashargul
parent
7b3ecbf91e
commit
40d5327baa
@@ -501,6 +501,26 @@
|
||||
desc = "Heavy, royal purple robes threaded with silver lining."
|
||||
icon_state = "psyamp"
|
||||
flags_inv = HIDEJUMPSUIT|HIDETIE|HIDEHOLSTER
|
||||
var/unbuttoned = 0
|
||||
|
||||
/obj/item/clothing/suit/fluff/purp_robes/verb/toggle()
|
||||
set name = "Toggle coat buttons"
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
|
||||
if(!usr.canmove || usr.stat || usr.restrained())
|
||||
return 0
|
||||
|
||||
switch(unbuttoned)
|
||||
if(0)
|
||||
icon_state = "[initial(icon_state)]_open"
|
||||
unbuttoned = TRUE
|
||||
to_chat(usr, "You unbutton the coat.")
|
||||
if(1)
|
||||
icon_state = "[initial(icon_state)]"
|
||||
unbuttoned = FALSE
|
||||
to_chat(usr, "You button up the coat.")
|
||||
usr.update_inv_wear_suit()
|
||||
|
||||
/obj/item/clothing/head/fluff/pink_tiara
|
||||
name = "pink tourmaline tiara"
|
||||
|
||||
Reference in New Issue
Block a user