in this thread, i disguise a buff as qol again

This commit is contained in:
Hatterhat
2021-06-06 05:57:01 -05:00
parent 56880f1a65
commit ce7baa0946
+13
View File
@@ -25,6 +25,19 @@
icon_scale_x = 1.2
icon_scale_y = 1.2
/obj/mecha/working/ripley/Move()
. = ..()
if(.)
collect_ore()
/obj/mecha/working/ripley/proc/collect_ore()
if(locate(/obj/item/mecha_parts/mecha_equipment/tool/hydraulic_clamp) in equipment)
var/obj/structure/ore_box/ore_box = locate(/obj/structure/ore_box) in cargo
if(ore_box)
for(var/obj/item/weapon/ore/ore in range(1, src))
if(ore.Adjacent(src) && ((get_dir(src, ore) & dir) || ore.loc == loc)) //we can reach it and it's in front of us? grab it!
ore.forceMove(ore_box)
/obj/mecha/working/ripley/Destroy()
for(var/atom/movable/A in src.cargo)
A.loc = loc