Removed the need of the input and output object for the machinery of mining.

They will now use the input_dir and output_dir vars.
This commit is contained in:
Aranclanos
2013-11-26 09:12:21 -03:00
parent 4ad564a440
commit 00a62742b6
5 changed files with 16 additions and 11 deletions
+3 -1
View File
@@ -7,9 +7,11 @@
icon_state = "unloader"
density = 1
anchored = 1.0
input_dir = WEST
output_dir = EAST
/obj/machinery/mineral/unloading_machine/process()
var/turf/T = get_step(src,dir)
var/turf/T = get_step(src,input_dir)
if(T)
var/limit
for(var/obj/structure/ore_box/B in T)