diff --git a/code/defines/obj/supplypacks.dm b/code/defines/obj/supplypacks.dm index da265c4402f..4786764e63a 100644 --- a/code/defines/obj/supplypacks.dm +++ b/code/defines/obj/supplypacks.dm @@ -567,10 +567,10 @@ "/obj/item/clothing/head/collectable/xenom", "/obj/item/clothing/head/collectable/xenom", "/obj/item/clothing/head/collectable/petehat") - name = "Collectable Hat Crate!" + name = "Collectable hat crate!" cost = 200 containertype = "/obj/structure/closet/crate/hat" - containername = "Collectable Hats Crate! Brought to you by Bass.inc!" + containername = "Collectable hats crate! Brought to you by Bass.inc!" /datum/supply_packs/hats/New() var/list/tempContains = list() @@ -580,19 +580,32 @@ ..() -/datum/supply_packs/contraband +/datum/supply_packs/poster contains = list("/obj/item/weapon/contraband/poster",) //We randomly pick 5 items from this list through the constructor, look below - name = "Contraband Crate" + name = "Poster crate" cost = 30 - containertype = "/obj/structure/closet/crate/contraband" - containername = "Contraband crate" + containertype = "/obj/structure/closet/crate/poster" + containername = "Poster crate" contraband = 1 -/datum/supply_packs/contraband/New() +/datum/supply_packs/poster/New() var/list/tempContains = list() for(var/i = 0,i<5,i++) tempContains += pick(contains) src.contains = tempContains ..() +/datum/supply_packs/cigarettes + contains = list("/obj/item/weapon/cigpacket/dromedaryco", + "/obj/item/weapon/cigpacket/dromedaryco", + "/obj/item/weapon/cigpacket/dromedaryco", + "/obj/item/weapon/cigpacket/dromedaryco", + "/obj/item/weapon/cigpacket/dromedaryco", + "/obj/item/weapon/cigpacket/dromedaryco",) + name = "DromedaryCo cigarettes crate" + cost = 15 + containertype = "/obj/structure/closet/crate/cigarettes" + containername = "DromedaryCo cigarettes crate" + contraband = 1 + //SUPPLY PACKS \ No newline at end of file diff --git a/code/game/objects/crates.dm b/code/game/objects/crates.dm index 2d444eb9364..844fca1e2da 100644 --- a/code/game/objects/crates.dm +++ b/code/game/objects/crates.dm @@ -38,9 +38,18 @@ icon_opened = "crateopen" icon_closed = "crate" -/obj/structure/closet/crate/contraband - name = "Contraband crate" - desc = "A random assortment of items manufactured by providers NOT listed under Nanotrasen's whitelist." +/obj/structure/closet/crate/poster + name = "Poster crate" + desc = "A random assortment of posters manufactured by providers NOT listed under Nanotrasen's whitelist." + icon = 'storage.dmi' + icon_state = "crate" + density = 1 + icon_opened = "crateopen" + icon_closed = "crate" + +/obj/structure/closet/crate/cigarettes + name = "DromedaryCo cigarettes crate" + desc = "A crate of cigarettes manufactured by the notorious DromedaryCo company." icon = 'storage.dmi' icon_state = "crate" density = 1 diff --git a/code/game/objects/items/weapons/cigs_lighters.dm b/code/game/objects/items/weapons/cigs_lighters.dm index 93ab75fee3a..9593c9e6269 100644 --- a/code/game/objects/items/weapons/cigs_lighters.dm +++ b/code/game/objects/items/weapons/cigs_lighters.dm @@ -321,7 +321,7 @@ ZIPPO //CIG PACK// //////////// /obj/item/weapon/cigpacket - name = "Cigarette packet" + name = "cigarette packet" desc = "The most popular brand of Space Cigarettes, sponsors of the Space Olympics." icon = 'cigarettes.dmi' icon_state = "cigpacket" @@ -334,18 +334,18 @@ ZIPPO update_icon() - src.icon_state = text("cigpacket[]", src.cigcount) - src.desc = text("There are [] cigs\s left!", src.cigcount) + icon_state = "[initial(icon_state)][cigcount]" + desc = "There's [cigcount] cig\s left!" return attack_hand(mob/user as mob) if(user.r_hand == src || user.l_hand == src) - if(src.cigcount == 0) + if(cigcount == 0) user << "\red You're out of cigs, shit! How you gonna get through the rest of the day..." return else - src.cigcount-- + cigcount-- var/obj/item/clothing/mask/cigarette/W = new /obj/item/clothing/mask/cigarette(user) if(user.hand) user.l_hand = W @@ -354,7 +354,7 @@ ZIPPO W.layer = 20 else return ..() - src.update_icon() + update_icon() return /obj/item/weapon/cigpacket/dromedaryco diff --git a/icons/obj/contraband.dmi b/icons/obj/contraband.dmi index d31dde2c514..1e30a2e609c 100644 Binary files a/icons/obj/contraband.dmi and b/icons/obj/contraband.dmi differ