Little change. More the same
This commit is contained in:
committed by
CitadelStationBot
parent
326d0bd29b
commit
178b41547d
@@ -7,6 +7,7 @@
|
||||
icon_state = "unloader"
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
<<<<<<< HEAD
|
||||
input_dir = WEST
|
||||
output_dir = EAST
|
||||
speed_process = 1
|
||||
@@ -29,4 +30,28 @@
|
||||
limit++
|
||||
if (limit>=10)
|
||||
return
|
||||
=======
|
||||
input_dir = WEST
|
||||
output_dir = EAST
|
||||
speed_process = TRUE
|
||||
|
||||
/obj/machinery/mineral/unloading_machine/process()
|
||||
var/turf/T = get_step(src,input_dir)
|
||||
if(T)
|
||||
var/limit
|
||||
for(var/obj/structure/ore_box/B in T)
|
||||
for (var/obj/item/ore/O in B)
|
||||
B.contents -= O
|
||||
unload_mineral(O)
|
||||
limit++
|
||||
if (limit>=10)
|
||||
return
|
||||
CHECK_TICK
|
||||
CHECK_TICK
|
||||
for(var/obj/item/I in T)
|
||||
unload_mineral(I)
|
||||
limit++
|
||||
if (limit>=10)
|
||||
return
|
||||
>>>>>>> 8ccaba1... Merge pull request #32453 from Jalleo/machinery_refactor
|
||||
CHECK_TICK
|
||||
Reference in New Issue
Block a user