diff --git a/modular_ss220/objects/_objects.dme b/modular_ss220/objects/_objects.dme index 542f5e2442f7..8d79b524a5f9 100644 --- a/modular_ss220/objects/_objects.dme +++ b/modular_ss220/objects/_objects.dme @@ -19,6 +19,7 @@ #include "code/plastic_chair.dm" #include "code/platform.dm" #include "code/posters.dm" +#include "code/smartfridge.dm" #include "code/tribune.dm" #include "code/weapons.dm" #include "code/key.dm" diff --git a/modular_ss220/objects/code/smartfridge.dm b/modular_ss220/objects/code/smartfridge.dm new file mode 100644 index 000000000000..68d578745a38 --- /dev/null +++ b/modular_ss220/objects/code/smartfridge.dm @@ -0,0 +1,10 @@ +/obj/machinery/smartfridge/load(obj/I, mob/user) + var/item_loc_origin = I.loc + if(!..()) + return FALSE + + if(istype(item_loc_origin, /obj/item/gripper)) + var/obj/item/gripper/gripper = item_loc_origin + gripper.drop_gripped_item(silent = TRUE) + I.forceMove(src) + return TRUE diff --git a/modular_ss220/silicons/code/items/gripper.dm b/modular_ss220/silicons/code/items/gripper.dm index 7c7697e028e9..8da623777ed8 100644 --- a/modular_ss220/silicons/code/items/gripper.dm +++ b/modular_ss220/silicons/code/items/gripper.dm @@ -54,6 +54,7 @@ /obj/item/stack/sheet/mineral/plasma, // for repair plasmamans /obj/item/mmi, /obj/item/reagent_containers/pill, + /obj/item/reagent_containers/patch, /obj/item/reagent_containers/drinks, /obj/item/reagent_containers/glass, /obj/item/reagent_containers/syringe,