mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] Refactors move procs to support multitle objects (#6423)
* Refactors move procs to support multitle objects * Update _blob.dm Co-authored-by: Rohesie <rohesie@gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
* target - the atom that just moved onto the `source` turf.
|
||||
* oldLoc - the old location that `target` was at before moving onto `source`.
|
||||
*/
|
||||
/obj/machinery/mineral/proc/pickup_item(datum/source, atom/movable/target, atom/oldLoc)
|
||||
/obj/machinery/mineral/proc/pickup_item(datum/source, atom/movable/target, direction)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
return
|
||||
@@ -200,7 +200,7 @@
|
||||
|
||||
return dat
|
||||
|
||||
/obj/machinery/mineral/processing_unit/pickup_item(datum/source, atom/movable/target, atom/oldLoc)
|
||||
/obj/machinery/mineral/processing_unit/pickup_item(datum/source, atom/movable/target, direction)
|
||||
if(QDELETED(target))
|
||||
return
|
||||
if(istype(target, /obj/item/stack/ore))
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
))
|
||||
signal.send_to_receivers()
|
||||
|
||||
/obj/machinery/mineral/ore_redemption/pickup_item(datum/source, atom/movable/target, atom/oldLoc)
|
||||
/obj/machinery/mineral/ore_redemption/pickup_item(datum/source, atom/movable/target, direction)
|
||||
if(QDELETED(target))
|
||||
return
|
||||
if(!materials.mat_container || panel_open || !powered())
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
needs_item_input = TRUE
|
||||
processing_flags = START_PROCESSING_MANUALLY
|
||||
|
||||
/obj/machinery/mineral/unloading_machine/pickup_item(datum/source, atom/movable/target, atom/oldLoc)
|
||||
/obj/machinery/mineral/unloading_machine/pickup_item(datum/source, atom/movable/target, direction)
|
||||
if(QDELETED(target))
|
||||
return
|
||||
if(istype(target, /obj/structure/ore_box))
|
||||
|
||||
Reference in New Issue
Block a user