Files
Paradise/code/modules/shuttles/whiteship.dm
T
Tigercat2000 13e395e9c6 REFACTOR: Most consoles and machinery now use defines for light color
This commit refactors light_color definitions for most machines and
consoles that use light_color's. Instead of having the same color repeated
over and over again, there are #defines for most of the common ones.

Some machines and other places may not use lighting defs- this is
intentional. The defines as they are, are relatively clean, and machinery
was where the bulk of repeated light definitions were. Other, special
colors, can just be defined in the same file that they are used once in.
2015-05-16 13:29:29 -07:00

23 lines
813 B
Plaintext

/obj/machinery/computer/shuttle_control/multi/whiteship
name = "medical ship control console"
req_access = list()
shuttle_tag = "White Ship"
circuit = "/obj/item/weapon/circuitboard/white_ship"
light_color = LIGHT_COLOR_DARKRED
/obj/machinery/computer/shuttle_control/multi/whiteship/attack_ai(user as mob)
user << "\red Access Denied."
return 1
/obj/machinery/computer/shuttle_control/multi/whiteship/New()
var/area/A = get_area(src)
if(!istype(A,/area/shuttle/derelict/ship))
visible_message("<span class='warning'>\The [src] displays a message: No connectable systems located. Shutting down.</span>")
var/V = text2path(circuit)
new V(loc)
animate(src, alpha = 10, time = 20)
spawn(20)
visible_message("<span class='danger'>\The [src] fades out of existence!</span>")
qdel(src)
..()