Skip to content

Commit

Permalink
Fixes the Chicken Nugget Box (#10461)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToasterBan committed Jan 14, 2024
1 parent 4d16591 commit 6af4ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/items/storage/fancy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@
icon = 'icons/obj/food/containers.dmi'
icon_state = "nuggetbox"
icon_type = "nugget"
spawn_type = /obj/item/reagent_containers/food/snacks/nugget
spawn_type = /obj/item/food/nugget

/obj/item/storage/fancy/nugget_box/ComponentInitialize()
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_items = 6
STR.can_hold = typecacheof(list(/obj/item/reagent_containers/food/snacks/nugget))
STR.can_hold = typecacheof(list(/obj/item/food/nugget))

0 comments on commit 6af4ff2

Please sign in to comment.