mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
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:
@@ -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
|
||||
))
|
||||
|
||||
|
||||
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user