added large donut boxes

This commit is contained in:
Phantastic-Swan
2025-05-05 11:27:14 +02:00
parent e7c56527af
commit 417db2a19d
4 changed files with 36 additions and 0 deletions
@@ -0,0 +1,22 @@
/obj/item/storage/fancy/large_donut_box // not inheriting from a regular box of donuts for now because I don't want the icon changes...
name = "large donut box"
desc = "For when security just can't get enough."
icon = 'GainStation13/icons/obj/food/containers.dmi'
icon_state = "large_donut_box"
spawn_type = /obj/item/reagent_containers/food/snacks/donut
fancy_open = FALSE
custom_price = PRICE_NORMAL
appearance_flags = KEEP_TOGETHER
/obj/item/storage/fancy/large_donut_box/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_items = 16
STR.max_combined_w_class = WEIGHT_CLASS_SMALL * 16
STR.can_hold = typecacheof(list(/obj/item/reagent_containers/food/snacks/donut))
/obj/item/storage/fancy/large_donut_box/update_icon_state()
if(fancy_open)
icon_state = "large_donut_box_open"
else
icon_state = "large_donut_box"
@@ -0,0 +1,6 @@
/datum/supply_pack/organic/large_donut_boxes
name = "Large Donut Boxes"
desc = "Tired of eating pizza all day? Security ate all the donuts and keeps asking for more? Fear not! This crate contains 2 large boxes of donuts, 16 donuts each! That'll be sure to stave off those hungry seccies... for a while."
cost = 5500
contains = list(/obj/item/storage/fancy/large_donut_box,
/obj/item/storage/fancy/large_donut_box)
@@ -487,6 +487,9 @@ GLOBAL_LIST_INIT(cardboard_recipes, list ( \
// holy fuck why are there so many boxes
new/datum/stack_recipe_list("fancy boxes", list ( \
new /datum/stack_recipe("donut box", /obj/item/storage/fancy/donut_box), \
// GS13 EDIT
new /datum/stack_recipe("large donut box", /obj/item/storage/fancy/large_donut_box, 2), \
// GS13 END EDIT
new /datum/stack_recipe("egg box", /obj/item/storage/fancy/egg_box), \
new /datum/stack_recipe("donk-pockets box", /obj/item/storage/box/donkpockets), \
new /datum/stack_recipe("monkey cube box", /obj/item/storage/box/monkeycubes), \
+5
View File
@@ -4043,6 +4043,11 @@
#include "GainStation13\code\modules\hydroponics\grown\berries.dm"
#include "GainStation13\code\modules\loadout\backpack.dm"
#include "GainStation13\code\modules\loadout\gloves.dm"
#include "GainStation13\code\game\objects\items\storage\fancy.dm"
#include "GainStation13\code\modules\cargo\packs\engineering.dm"
#include "GainStation13\code\modules\cargo\packs\materials.dm"
#include "GainStation13\code\modules\cargo\packs\organic.dm"
#include "GainStation13\code\modules\cargo\packs\science.dm"
#include "GainStation13\code\modules\loadout\neck.dm"
#include "GainStation13\code\modules\loadout\tablet.dm"
#include "GainStation13\code\modules\mapping\areas.dm"