From 7315d69c951ab2accff87bafbc203e6aa5621797 Mon Sep 17 00:00:00 2001 From: Bram961 Date: Tue, 11 Aug 2015 21:39:06 +0200 Subject: [PATCH] Kluysfluff second attempt --- code/modules/clothing/suits/miscellaneous.dm | 35 +------------------- code/modules/customitems/item_defines.dm | 32 ++++++++++++++++++ 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index fa93c947c9a..0c50f0fcdbb 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -504,37 +504,4 @@ desc = "You'll be the Ruler of the King's Navy in no time." icon_state = "lordadmiral" item_state = "lordadmiral" - allowed = list (/obj/item/weapon/gun) - - -//Kluys fluff nanofibre suit -/obj/item/clothing/suit/kluysfluff - name = "Nano Fibre Jacket" - desc = "A Black Suit made out of nanofibre. The newest of cyberpunk fashion using hightech liquid to solid materials." - icon_state = "Kluysfluff1" - item_state = "Kluysfluff1" - blood_overlay_type = "coat" - body_parts_covered = UPPER_TORSO|ARMS - - verb/toggle() - set name = "Toggle Nanofibre Mode" - set category = "Object" - set src in usr - - if(!usr.canmove || usr.stat || usr.restrained()) - return 0 - - switch(icon_state) - if("Kluysfluff1") - src.icon_state = "Kluysfluff2" - usr << "The fibre unfolds into a jacket" - if("Kluysfluff2") - src.icon_state = "Kluysfluff3" - usr << "The fibre unfolds into a coat" - if("Kluysfluff3") - src.icon_state = "Kluysfluff1" - usr << "The fibre gets sucked back into its holder." - else - usr << "You attempt to hit the button but can't" - return - usr.update_inv_wear_suit() //so our overlays update \ No newline at end of file + allowed = list (/obj/item/weapon/gun) \ No newline at end of file diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 20dcb930e92..613dae605c3 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -146,6 +146,38 @@ icon_state = "kidosvest" item_state = "kidosvest" +//Kluys fluff nanofibre suit +/obj/item/clothing/suit/kluysfluff + name = "Nano Fibre Jacket" + desc = "A Black Suit made out of nanofibre. The newest of cyberpunk fashion using hightech liquid to solid materials." + icon_state = "Kluysfluff1" + item_state = "Kluysfluff1" + blood_overlay_type = "coat" + body_parts_covered = UPPER_TORSO|ARMS + + /obj/item/clothing/suit/kluysfluff/verb/toggle() + set name = "Toggle Nanofibre Mode" + set category = "Object" + set src in usr + + if(!usr.canmove || usr.stat || usr.restrained()) + return 0 + + switch(icon_state) + if("Kluysfluff1") + src.icon_state = "Kluysfluff2" + usr << "The fibre unfolds into a jacket" + if("Kluysfluff2") + src.icon_state = "Kluysfluff3" + usr << "The fibre unfolds into a coat" + if("Kluysfluff3") + src.icon_state = "Kluysfluff1" + usr << "The fibre gets sucked back into its holder." + else + usr << "You attempt to hit the button but can't" + return + usr.update_inv_wear_suit() //so our overlays update + //////////// Uniforms //////////// /obj/item/clothing/under/psysuit/fluff/isaca_sirius_1 // Xilia: Isaca Sirius name = "Isaca's suit"