From d6301ff73571f16f19888043ce3556cf3e6641e5 Mon Sep 17 00:00:00 2001 From: xxalpha Date: Sat, 2 Apr 2016 22:28:47 +0100 Subject: [PATCH] Cigarette packs will brand their cigarettes. an the macros dont work --- .../objects/items/weapons/storage/fancy.dm | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/code/game/objects/items/weapons/storage/fancy.dm b/code/game/objects/items/weapons/storage/fancy.dm index 9cda0111094..9f9d9eaa162 100644 --- a/code/game/objects/items/weapons/storage/fancy.dm +++ b/code/game/objects/items/weapons/storage/fancy.dm @@ -84,7 +84,7 @@ //CIG PACK// //////////// /obj/item/weapon/storage/fancy/cigarettes - name = "\improper Space Cigarettes packet" + name = "Space Cigarettes" desc = "The most popular brand of cigarettes, sponsors of the Space Olympics." icon = 'icons/obj/cigarettes.dmi' icon_state = "cig" @@ -101,6 +101,9 @@ ..() flags |= NOREACT create_reagents(15 * storage_slots)//so people can inject cigarettes without opening a packet, now with being able to inject the whole one + for(var/obj/item/clothing/mask/cigarette/cig in src) + cig.desc = "\An [name] brand [cig.name]." + name = "\improper [name] packet" /obj/item/weapon/storage/fancy/cigarettes/update_icon() overlays.Cut() @@ -136,22 +139,22 @@ user << "There are no [icon_type]s left in the pack." /obj/item/weapon/storage/fancy/cigarettes/dromedaryco - name = "\improper DromedaryCo packet" + name = "DromedaryCo" desc = "A packet of six imported DromedaryCo cancer sticks. A label on the packaging reads, \"Wouldn't a slow death make a change?\"" icon_state = "dromedary" /obj/item/weapon/storage/fancy/cigarettes/cigpack_uplift - name = "\improper Uplift Smooth packet" + name = "Uplift Smooth" desc = "Your favorite brand, now menthol flavored." icon_state = "uplift" /obj/item/weapon/storage/fancy/cigarettes/cigpack_robust - name = "\improper Robust packet" + name = "Robust" desc = "Smoked by the robust." icon_state = "robust" /obj/item/weapon/storage/fancy/cigarettes/cigpack_robustgold - name = "\improper Robust Gold packet" + name = "Robust Gold" desc = "Smoked by the truly robust." icon_state = "robustg" @@ -161,12 +164,12 @@ reagents.add_reagent("gold",1) /obj/item/weapon/storage/fancy/cigarettes/cigpack_carp - name = "\improper Carp Classic packet" + name = "Carp Classic" desc = "Since 2313." icon_state = "carp" /obj/item/weapon/storage/fancy/cigarettes/cigpack_syndicate - name = "cigarette packet" + name = "unknown" desc = "An obscure brand of cigarettes." icon_state = "syndie" @@ -174,16 +177,17 @@ ..() for(var/i = 1 to storage_slots) reagents.add_reagent("omnizine",15) + name = "cigarette packet" /obj/item/weapon/storage/fancy/cigarettes/cigpack_midori - name = "\improper Midori Tabako packet" + name = "Midori Tabako" desc = "You can't understand the runes, but the packet smells funny." icon_state = "midori" spawn_type = /obj/item/clothing/mask/cigarette/rollie /obj/item/weapon/storage/fancy/cigarettes/cigpack_shadyjims - name ="\improper Shady Jim's Super Slims" + name ="Shady Jim's Super Slims" desc = "Is your weight slowing you down? Having trouble running away from gravitational singularities? Can't stop stuffing your mouth? Smoke Shady Jim's Super Slims and watch all that fat burn away. Guaranteed results!" icon_state = "shadyjim"