mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
Also changes New -> Initialize in most of them. renamed: `code/game/machinery/computer/computer.dm` -> `code/game/machinery/computer/_computer.dm` renamed: `code/game/machinery/machinery.dm` -> `code/game/machinery/_machinery.dm` Moved all circuitboards to a new folder at `code/game/objects/items/weapons/circuitboards`
33 lines
733 B
Plaintext
33 lines
733 B
Plaintext
/**********************Input and output plates**************************/
|
|
|
|
/obj/machinery/mineral/input
|
|
icon = 'icons/mob/screen_gen.dmi'
|
|
icon_state = "x2"
|
|
name = "Input area"
|
|
density = FALSE
|
|
anchored = TRUE
|
|
|
|
/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 = FALSE
|
|
anchored = TRUE
|
|
|
|
/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) |