Kitchen edits (plates & dinnerware). (#16357)

* Kitchen edits (plates & dinnerware).

* cl

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-05-19 20:35:23 +02:00
committed by GitHub
parent 59cc4b4d52
commit 182b3b2948
4 changed files with 56 additions and 8 deletions

View File

@@ -114,6 +114,7 @@
icon_state = "smartfridge_food"
icon_on = "smartfridge_food"
icon_off = "smartfridge_food-off"
opacity = FALSE
accepted_items = list(/obj/item/reagent_containers/food/snacks)
/obj/machinery/smartfridge/seeds

View File

@@ -114,7 +114,8 @@ Plates that can hold your cooking stuff
/obj/item/reagent_containers/bowl/plate/examine(mob/user, distance)
. = ..()
if(holding)
to_chat(user, "It looks like there is \a [holding.name] on \the [src].")
to_chat(user, "It looks like there is \a [SPAN_INFO(holding.name)] on \the [src].")
to_chat(user, SPAN_INFO(" - [holding.desc]"))
/obj/item/reagent_containers/bowl/plate/attackby(obj/item/I, mob/user)
if((istype(I, /obj/item/reagent_containers/food/snacks) || istype(I, /obj/item/trash)) && !holding)