mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-29 11:41:14 +00:00
Boxes affected: - Donut boxes - Egg cartons - Candle packs - Match boxes - Snap pop boxes - Monkey cube boxes Items I didn't merge: - Pizza boxes - Cigarette packs Pizza boxes are a whole new kind of 'special snowflake code' that is best left the way it is. Cigarette packs involve some stuff I'm unfamiliar with so that can wait until I learn what I need to learn. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4452 316c924e-a436-60f5-8080-3fe189b3f50e
72 lines
1.7 KiB
Plaintext
72 lines
1.7 KiB
Plaintext
/*
|
|
* Contains:
|
|
* Monkey Cube Box
|
|
* Candle Packs
|
|
* Snap Pop Box
|
|
*/
|
|
|
|
/*
|
|
* Monkey Cube Box
|
|
*/
|
|
|
|
/obj/item/weapon/storage/monkeycube_box
|
|
name = "monkey cube box"
|
|
desc = "Drymate brand monkey cubes. Just add water!"
|
|
icon = 'icons/obj/food.dmi'
|
|
icon_state = "monkeycubebox"
|
|
storage_slots = 7
|
|
can_hold = list("/obj/item/weapon/reagent_containers/food/snacks/monkeycube")
|
|
|
|
|
|
/obj/item/weapon/storage/monkeycube_box/New()
|
|
..()
|
|
new /obj/item/weapon/reagent_containers/food/snacks/monkeycube/wrapped(src)
|
|
new /obj/item/weapon/reagent_containers/food/snacks/monkeycube/wrapped(src)
|
|
return
|
|
|
|
/*
|
|
* Snap Pop Box
|
|
*/
|
|
|
|
/obj/item/weapon/storage/snappopbox
|
|
name = "snap pop box"
|
|
desc = "Eight wrappers of fun! Ages 8 and up. Not suitable for children."
|
|
icon = 'icons/obj/toy.dmi'
|
|
icon_state = "spbox"
|
|
storage_slots = 8
|
|
can_hold = list("/obj/item/toy/snappop")
|
|
|
|
/obj/item/weapon/storage/snappopbox/New()
|
|
..()
|
|
for(var/i=1; i <= storage_slots; i++)
|
|
new /obj/item/toy/snappop(src)
|
|
|
|
/*
|
|
* Match Box
|
|
*/
|
|
|
|
/obj/item/weapon/storage/matchbox
|
|
name = "Matchbox"
|
|
desc = "A small box of Almost But Not Quite Plasma Premium Matches."
|
|
icon = 'icons/obj/cigarettes.dmi'
|
|
icon_state = "matchbox"
|
|
item_state = "zippo"
|
|
storage_slots = 10
|
|
w_class = 1
|
|
flags = TABLEPASS
|
|
slot_flags = SLOT_BELT
|
|
|
|
|
|
/obj/item/weapon/storage/matchbox/New()
|
|
..()
|
|
for(var/i=1; i <= storage_slots; i++)
|
|
new /obj/item/weapon/match(src)
|
|
return
|
|
|
|
/obj/item/weapon/storage/matchbox/attackby(obj/item/weapon/match/W as obj, mob/user as mob)
|
|
if(istype(W, /obj/item/weapon/match) && W.lit == 0)
|
|
W.lit = 1
|
|
W.icon_state = "match_lit"
|
|
processing_objects.Add(W)
|
|
W.update_icon()
|
|
return |