mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
Converts more attackby's to interactions (#93106)
## About The Pull Request Converts the following: - Medical Kiosk - Implant case - Flamethrower - Chemical implant case - Pappercutter Also I've looked at some alt click procs and adjusted some of their returns
This commit is contained in:
@@ -95,9 +95,7 @@
|
||||
desc = "A glass case containing a remote chemical implant."
|
||||
imp_type = /obj/item/implant/chem
|
||||
|
||||
/obj/item/implantcase/chem/attackby(obj/item/W, mob/user, list/modifiers, list/attack_modifiers)
|
||||
if(istype(W, /obj/item/reagent_containers/syringe) && imp)
|
||||
W.interact_with_atom(imp, user, modifiers)
|
||||
return TRUE
|
||||
else
|
||||
return ..()
|
||||
/obj/item/implantcase/chem/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(!istype(tool, /obj/item/reagent_containers/syringe) && imp)
|
||||
return NONE
|
||||
return tool.interact_with_atom(imp, user, modifiers)
|
||||
|
||||
Reference in New Issue
Block a user