mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
31 lines
657 B
Plaintext
31 lines
657 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.loc = loc
|
|
var/turf/T = get_step(src,output_dir)
|
|
if(T)
|
|
S.loc = T |