Skip to content

Commit

Permalink
Adds 3 new light crates (ParadiseSS13#26449)
Browse files Browse the repository at this point in the history
* adds 3 illumination crates

* adds more glowsticks to premium box

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Ryan <[email protected]>
Signed-off-by: PopeDaveThe3th <[email protected]>

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Ryan <[email protected]>
Signed-off-by: PopeDaveThe3th <[email protected]>

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Ryan <[email protected]>
Signed-off-by: PopeDaveThe3th <[email protected]>

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Ryan <[email protected]>
Signed-off-by: PopeDaveThe3th <[email protected]>

---------

Signed-off-by: PopeDaveThe3th <[email protected]>
Co-authored-by: Ryan <[email protected]>
  • Loading branch information
PopeDaveThe3th and Sirryan2002 authored Aug 14, 2024
1 parent 2929d49 commit 52db637
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
25 changes: 25 additions & 0 deletions code/game/objects/items/weapons/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,31 @@
new /obj/item/stack/sheet/metal/fifty(src)
new /obj/item/stack/cable_coil(src)

/obj/item/storage/box/large/glowstick/emergency
name = "emergency glowstick box"
desc = "A large box filled to the brim with cheap emergency glowsticks."

/obj/item/storage/box/large/glowstick/emergency/populate_contents()
for(var/i in 1 to 15)
new /obj/item/flashlight/flare/glowstick/emergency(src)

/obj/item/storage/box/glowstick/premium
name = "premium glowstick box"
desc = "A box filled with high-quality military surplus glowsticks."

/obj/item/storage/box/glowstick/premium/populate_contents()
for(var/i in 1 to 5)
new /obj/item/flashlight/flare/glowstick(src)

/obj/item/storage/box/flares
name = "emergency flare box"
desc = "A box full of magnesium signal flares."

/obj/item/storage/box/flares/populate_contents()
for(var/i in 1 to 5)
new /obj/item/flashlight/flare(src)


//////////////////
/* Monkey Boxes */
//////////////////
Expand Down
30 changes: 30 additions & 0 deletions code/modules/supply/supply_packs/pack_emergency.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,36 @@
containername = "emergency crate"
group = SUPPLY_EMERGENCY

/datum/supply_packs/emergency/glowstick/emergency
name = "Emergency Glowstick Crate"
contains = list(/obj/item/storage/box/large/glowstick/emergency,
/obj/item/storage/box/large/glowstick/emergency,
/obj/item/storage/box/large/glowstick/emergency,
/obj/item/storage/box/large/glowstick/emergency,
/obj/item/storage/box/large/glowstick/emergency)
cost = 100
containertype = /obj/structure/closet/crate
containername = "emergency glowstick crate"

/datum/supply_packs/emergency/glowstick/premium
name = "Premium Glowstick Crate"
contains = list(/obj/item/storage/box/glowstick/premium,
/obj/item/storage/box/glowstick/premium,
/obj/item/storage/box/glowstick/premium,
/obj/item/storage/box/glowstick/premium)
cost = 200
containertype = /obj/structure/closet/crate
containername = "premium glowstick crate"

/datum/supply_packs/emergency/flares
name = "Emergency Flare Crate"
contains = list(/obj/item/storage/box/flares,
/obj/item/storage/box/flares,
/obj/item/storage/box/flares)
cost = 150
containertype = /obj/structure/closet/crate
containername = "emergency flare crate"

/datum/supply_packs/emergency/internals
name = "Internals Crate"
contains = list(/obj/item/clothing/mask/gas,
Expand Down

0 comments on commit 52db637

Please sign in to comment.