mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
nugget boxes (#19492)
This commit is contained in:
@@ -516,6 +516,7 @@ GLOBAL_LIST_INIT(cardboard_recipes, list ( \
|
|||||||
new /datum/stack_recipe("donut box", /obj/item/storage/box/fancy/donut_box), \
|
new /datum/stack_recipe("donut box", /obj/item/storage/box/fancy/donut_box), \
|
||||||
new /datum/stack_recipe("egg box", /obj/item/storage/box/fancy/egg_box), \
|
new /datum/stack_recipe("egg box", /obj/item/storage/box/fancy/egg_box), \
|
||||||
new /datum/stack_recipe("monkey cube box", /obj/item/storage/box/monkeycubes), \
|
new /datum/stack_recipe("monkey cube box", /obj/item/storage/box/monkeycubes), \
|
||||||
|
new /datum/stack_recipe("nugget box", /obj/item/storage/box/fancy/nugget_box), \
|
||||||
null, \
|
null, \
|
||||||
|
|
||||||
new /datum/stack_recipe("bean bag ammo box", /obj/item/storage/box/beanbag), \
|
new /datum/stack_recipe("bean bag ammo box", /obj/item/storage/box/beanbag), \
|
||||||
|
|||||||
@@ -462,3 +462,25 @@
|
|||||||
/obj/item/storage/box/fancy/heart_box/PopulateContents()
|
/obj/item/storage/box/fancy/heart_box/PopulateContents()
|
||||||
for(var/i in 1 to 8)
|
for(var/i in 1 to 8)
|
||||||
new /obj/item/reagent_containers/food/snacks/tinychocolate(src)
|
new /obj/item/reagent_containers/food/snacks/tinychocolate(src)
|
||||||
|
|
||||||
|
//////////////
|
||||||
|
//NUGGET BOX//
|
||||||
|
//////////////
|
||||||
|
/obj/item/storage/box/fancy/nugget_box
|
||||||
|
name = "nugget box"
|
||||||
|
desc = "A cardboard box used for holding chicken nuggies."
|
||||||
|
icon = 'icons/obj/food/containers.dmi'
|
||||||
|
item_state = "nuggetbox"
|
||||||
|
icon_state = "nuggetbox"
|
||||||
|
icon_type = "nugget"
|
||||||
|
spawn_type = /obj/item/reagent_containers/food/snacks/nugget
|
||||||
|
|
||||||
|
/obj/item/storage/box/fancy/nugget_box/Initialize(mapload)
|
||||||
|
. = ..()
|
||||||
|
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
|
||||||
|
STR.max_items = 6
|
||||||
|
STR.set_holdable(list(/obj/item/reagent_containers/food/snacks/nugget))
|
||||||
|
|
||||||
|
/obj/item/storage/box/fancy/nugget_box/PopulateContents()
|
||||||
|
for(var/i in 1 to 6)
|
||||||
|
new /obj/item/reagent_containers/food/snacks/nugget(src)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user