More gripper fixes v2.0 (#17954)

* gripper and belt bugs

* stacks stacks
This commit is contained in:
Cameron Lennox
2025-07-05 03:06:00 +02:00
committed by GitHub
parent e842c76f3f
commit aec7ef59d0
6 changed files with 55 additions and 16 deletions
+5 -1
View File
@@ -418,7 +418,11 @@
return
/obj/item/stack/attackby(obj/item/W as obj, mob/user as mob)
if (istype(W, /obj/item/stack))
if(istype(W, /obj/item/gripper))
var/obj/item/gripper/G = W
G.consolidate_stacks(src)
else if(istype(W, /obj/item/stack))
var/obj/item/stack/S = W
src.transfer_to(S)