mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Processing machine cleanups, can smelt bluespace and titanium * Another forceMove * Lack of typing * Rewrite using materials container, a target proc for container's release sheet procs * Alloys * The dme * Nulls references on Destroy * Makes the smelter infinitely large, like before
31 lines
697 B
Plaintext
31 lines
697 B
Plaintext
/**********************Input and output plates**************************/
|
|
|
|
/obj/machinery/mineral/input
|
|
icon = 'icons/mob/screen_gen.dmi'
|
|
icon_state = "x2"
|
|
name = "Input area"
|
|
density = 0
|
|
anchored = 1
|
|
|
|
/obj/machinery/mineral/input/New()
|
|
icon_state = "blank"
|
|
|
|
/obj/machinery/mineral/output
|
|
icon = 'icons/mob/screen_gen.dmi'
|
|
icon_state = "x"
|
|
name = "Output area"
|
|
density = 0
|
|
anchored = 1
|
|
|
|
/obj/machinery/mineral/output/New()
|
|
icon_state = "blank"
|
|
|
|
/obj/machinery/mineral
|
|
var/input_dir = NORTH
|
|
var/output_dir = SOUTH
|
|
|
|
/obj/machinery/mineral/proc/unload_mineral(atom/movable/S)
|
|
S.forceMove(loc)
|
|
var/turf/T = get_step(src,output_dir)
|
|
if(T)
|
|
S.forceMove(T) |