Nugget Box Resprite + Nuggets/Wings/Fries Containers (#95537)

This commit is contained in:
Twaticus
2026-03-28 18:33:53 -04:00
committed by GitHub
parent d65ee47f6e
commit c77e009876
6 changed files with 68 additions and 2 deletions
@@ -80,7 +80,7 @@
/// Nugget Boxes
/datum/storage/nugget_box
max_slots = 6
max_slots = 7
/datum/storage/nugget_box/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound)
. = ..()
@@ -89,6 +89,28 @@
/obj/item/fish/fryish,
))
/// Wing Boxes
/datum/storage/wing_box
max_slots = 5
/datum/storage/wing_box/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound)
. = ..()
set_holdable(list(
/obj/item/food/fried_chicken,
))
/// Fry Boxes
/datum/storage/fry_box
max_slots = 2
/datum/storage/fry_box/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound)
. = ..()
set_holdable(list(
/obj/item/food/fries,
/obj/item/food/cheesyfries,
/obj/item/food/carrotfries,
))
/// Jars of Pickles
/datum/storage/pickles_jar
max_slots = 10
@@ -668,6 +668,9 @@ GLOBAL_LIST_INIT(cardboard_recipes, list ( \
new /datum/stack_recipe("donk-pockets honk box", /obj/item/storage/box/donkpockets/donkpockethonk, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("monkey cube box", /obj/item/storage/box/monkeycubes, crafting_flags = NONE, category = CAT_CONTAINERS),
new /datum/stack_recipe("nugget box", /obj/item/storage/fancy/nugget_box, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("red nugget box", /obj/item/storage/fancy/nugget_box/red, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("red wing box", /obj/item/storage/fancy/wing_box, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("red fry box", /obj/item/storage/fancy/fry_box, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("drinking glasses box", /obj/item/storage/box/drinkingglasses, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("paper cups box", /obj/item/storage/box/cups, crafting_flags = NONE, category = CAT_CONTAINERS), \
new /datum/stack_recipe("cigar case", /obj/item/storage/fancy/cigarettes/cigars, crafting_flags = NONE, category = CAT_CONTAINERS), \
+42 -1
View File
@@ -591,10 +591,13 @@
icon = 'icons/obj/food/containers.dmi'
icon_state = "nuggetbox"
base_icon_state = "nuggetbox"
inhand_icon_state = "nuggetbox"
lefthand_file = 'icons/mob/inhands/items/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items/food_righthand.dmi'
contents_tag = "nugget"
w_class = WEIGHT_CLASS_SMALL
spawn_type = /obj/item/food/nugget
spawn_count = 6
spawn_count = 7
storage_type = /datum/storage/nugget_box
/obj/item/storage/fancy/nugget_box/Initialize(mapload)
@@ -602,6 +605,44 @@
// It's a safe place for the Fryish/Fritterish
AddElement(/datum/element/fish_safe_storage)
/obj/item/storage/fancy/nugget_box/red
name = "red nugget box"
icon_state = "rednuggetbox"
base_icon_state = "rednuggetbox"
inhand_icon_state = "rednuggetbox"
/obj/item/storage/fancy/wing_box
name = "red wing box"
desc = "A cardboard box used for holding chicken wangs."
icon = 'icons/obj/food/containers.dmi'
icon_state = "redwingbox5"
base_icon_state = "redwingbox"
inhand_icon_state = "redwingbox"
lefthand_file = 'icons/mob/inhands/items/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items/food_righthand.dmi'
contents_tag = "wings"
w_class = WEIGHT_CLASS_SMALL
spawn_type = /obj/item/food/fried_chicken
spawn_count = 5
storage_type = /datum/storage/wing_box
open_status = FANCY_CONTAINER_ALWAYS_OPEN
/obj/item/storage/fancy/fry_box
name = "red fry box"
desc = "A cardboard box used for holding fries."
icon = 'icons/obj/food/containers.dmi'
icon_state = "redfrybox2"
base_icon_state = "redfrybox"
inhand_icon_state = "redfrybox"
lefthand_file = 'icons/mob/inhands/items/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items/food_righthand.dmi'
contents_tag = "fries"
w_class = WEIGHT_CLASS_SMALL
spawn_type = /obj/item/food/fries
spawn_count = 2
storage_type = /datum/storage/fry_box
open_status = FANCY_CONTAINER_ALWAYS_OPEN
/*
* Jar of pickles
*/
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB