polaris#7778 earlyport

This commit is contained in:
Hatterhat
2020-12-07 01:34:32 -06:00
parent 7db5d34da7
commit 7ed50074aa
10 changed files with 108 additions and 25 deletions
+12
View File
@@ -22,6 +22,18 @@
if(output)
break
/obj/machinery/mineral/unloading_machine/proc/toggle_speed(var/forced)
if(forced)
speed_process = forced
else
speed_process = !speed_process // switching gears
if(speed_process) // high gear
STOP_MACHINE_PROCESSING(src)
START_PROCESSING(SSfastprocess, src)
else // low gear
STOP_PROCESSING(SSfastprocess, src)
START_MACHINE_PROCESSING(src)
/obj/machinery/mineral/unloading_machine/process()
if (src.output && src.input)
if (locate(/obj/structure/ore_box, input.loc))