mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
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:
co-authored by
Kashargul
parent
4851fcbb27
commit
32b2f30e68
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user