Fix: #26850 - Allows kitchen utensils to be used on custom dishes (#26901)

* Allows kitchen utensils to be used on custom dishes. Also tweaks fork use grammar a bit.

* if spacing. Whoopsie doo.

* Update code/modules/food_and_drinks/food_base.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Pidgey <35320204+PidgeyThePirate@users.noreply.github.com>

---------

Signed-off-by: Pidgey <35320204+PidgeyThePirate@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Pidgey
2024-10-09 19:00:41 +00:00
committed by GitHub
co-authored by Luc
parent 89796a055b
commit d96c008be0
2 changed files with 6 additions and 7 deletions
@@ -336,11 +336,10 @@ do {\
/obj/item/food/customizable/attackby(obj/item/I, mob/user, params)
if(is_pen(I))
var/new_name = rename_interactive(user, I, use_prefix = FALSE)
if(!isnull(new_name))
to_chat(user, "<span class='notice'>You declare this to be \a [name]. Delicious!</span>")
return
..()
if(istype(I, /obj/item/kitchen/utensil) || is_pen(I))
return
if(!istype(I, /obj/item/food))
to_chat(user, "<span class='warning'>[I] isn't exactly something that you would want to eat.</span>")
+2 -2
View File
@@ -198,8 +198,8 @@
return
user.visible_message( \
"[user] scoops up some [src] with \the [U]!", \
"<span class='notice'>You scoop up some [src] with \the [U]!" \
"[user] scoops up some [name] with [U]!", \
"<span class='notice'>You scoop up some [name] with [U]!" \
)
bitecount++