mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Stops force-feeding non-carbon mobs reagents
This commit is contained in:
@@ -47,6 +47,11 @@
|
||||
reagents.reaction(M, REAGENT_TOUCH)
|
||||
reagents.clear_reagents()
|
||||
else
|
||||
if(!iscarbon(M))
|
||||
// This is a simple mob, or some other kind of mob that cannot process reagents.
|
||||
// It makes no sense to inject reagents into mobs that don't even process them.
|
||||
to_chat(user, "<span class='warning'>You cannot find a way to feed [M].</span>")
|
||||
return
|
||||
if(M != user)
|
||||
M.visible_message("<span class='danger'>[user] attempts to feed something to [M].</span>", \
|
||||
"<span class='userdanger'>[user] attempts to feed something to you.</span>")
|
||||
|
||||
Reference in New Issue
Block a user