mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
tg(?) style stack autocombining
This commit is contained in:
@@ -363,6 +363,14 @@
|
|||||||
else
|
else
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
|
/obj/item/stack/Moved(atom/old_loc, direction, forced = FALSE)
|
||||||
|
. = ..()
|
||||||
|
if(isturf(loc))
|
||||||
|
for(var/obj/item/stack/S in loc)
|
||||||
|
if(S == src)
|
||||||
|
continue
|
||||||
|
S.transfer_to(src) // them to us, so if we're being pulled, we can keep being pulled
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Recipe datum
|
* Recipe datum
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user