From 02f653023873da70b1d86259d2835a30fd79a50c Mon Sep 17 00:00:00 2001
From: DGamerL <108773801+DGamerL@users.noreply.github.com>
Date: Sat, 2 Sep 2023 00:22:01 +0200
Subject: [PATCH] You can't feed simplemobs with condiment bottles anymore
(#22164)
* Idk I was very bored
* Even more bored
* Stealthii
---
code/modules/food_and_drinks/food/condiment.dm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/code/modules/food_and_drinks/food/condiment.dm b/code/modules/food_and_drinks/food/condiment.dm
index 40092045f25..0b507b9526b 100644
--- a/code/modules/food_and_drinks/food/condiment.dm
+++ b/code/modules/food_and_drinks/food/condiment.dm
@@ -39,10 +39,14 @@
if(!reagents || !reagents.total_volume)
to_chat(user, "None of [src] left, oh no!")
- return 0
+ return FALSE
+
+ if(!iscarbon(M)) // Non-carbons can't process reagents
+ to_chat(user, "You cannot find a way to feed [M].")
+ return
if(M == user)
- to_chat(M, "You swallow some of contents of \the [src].")
+ to_chat(user, "You swallow some of the contents of [src].")
else
user.visible_message("[user] attempts to feed [M] from [src].")
if(!do_mob(user, M))