Fixes some issues with patches and pills (#23322)

* Oops

* Update code/modules/mob/living/carbon/carbon.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
DGamerL
2023-11-21 13:49:20 -06:00
committed by GitHub
co-authored by Contrabang
parent 307120e7d3
commit 7e74694d6e
2 changed files with 3 additions and 1 deletions
@@ -579,6 +579,7 @@
/obj/item/reagent_containers/applicator,
/obj/item/storage/pill_bottle,
/obj/item/reagent_containers/pill,
/obj/item/reagent_containers/patch,
/obj/item/stack/medical
))
@@ -619,6 +620,7 @@
/obj/item/reagent_containers/applicator,
/obj/item/storage/pill_bottle,
/obj/item/reagent_containers/pill,
/obj/item/reagent_containers/patch,
/obj/item/stack/medical
))
+1 -1
View File
@@ -1245,7 +1245,7 @@ so that different stomachs can handle things in different ways VB*/
instant = TRUE
if(user != src && !instant)
if(requires_mouth && !head)
if(requires_mouth && !get_organ("head"))
to_chat(user, "<span class='warning'>You cannot feed [src] [medicine]!</span>")
return FALSE
visible_message("<span class='warning'>[user] attempts to force [src] to [apply_method] [medicine].</span>")