Fully functional
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
filling_color = "#FF69B4"
|
||||
return TRUE
|
||||
|
||||
/// Returns the sprite of the donut while in a donut box
|
||||
/obj/item/reagent_containers/food/snacks/donut/proc/in_box_sprite()
|
||||
return "[icon_state]_inbox"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/donut/checkLiked(fraction, mob/M) //Sec officers always love donuts
|
||||
if(last_check_time + 50 < world.time)
|
||||
if(ishuman(M))
|
||||
@@ -165,6 +169,10 @@
|
||||
tastes = list("jelly" = 1, "donut" = 3)
|
||||
foodtype = JUNKFOOD | GRAIN | FRIED | FRUIT | SUGAR | BREAKFAST
|
||||
|
||||
// Jelly donuts don't have holes, but look the same on the outside
|
||||
/obj/item/reagent_containers/food/snacks/donut/jelly/in_box_sprite()
|
||||
return "[replacetext(icon_state, "jelly", "donut")]_inbox"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/donut/jelly/Initialize()
|
||||
. = ..()
|
||||
if(extra_reagent)
|
||||
|
||||
Reference in New Issue
Block a user