Fix hypo injector being unable to inject common injectables. (#18685)

* Fix integrated hypo injector being unable to inject common injectables.

* Add helper for injection handling

* call parent

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Aura Dusklight
2025-11-17 00:34:32 +01:00
committed by GitHub
co-authored by Kashargul
parent 4851fcbb27
commit 32b2f30e68
3 changed files with 38 additions and 18 deletions
@@ -187,7 +187,7 @@
if(istype(target, /obj/item/implantcase/chem))
return
if(!target.is_open_container() && !ismob(target) && !istype(target, /obj/item/reagent_containers/food) && !istype(target, /obj/item/slime_extract) && !istype(target, /obj/item/clothing/mask/smokable/cigarette) && !istype(target, /obj/item/storage/fancy/cigarettes))
if(!target.is_injectable_container() && !ismob(target))
to_chat(user, span_notice("You cannot directly fill this object."))
return
if(!target.reagents.get_free_space())