Files
vgstation13/code/game/machinery/buttons.dm
2015-10-02 03:09:06 +02:00

71 lines
1.6 KiB
Plaintext

/obj/machinery/driver_button
name = "mass driver button"
icon = 'icons/obj/objects.dmi'
icon_state = "launcherbtt"
desc = "A remote control switch for a mass driver."
var/id_tag = "default"
var/active = 0
anchored = 1.0
use_power = 1
idle_power_usage = 2
active_power_usage = 4
ghost_read = 0 // Deactivate ghost touching.
ghost_write = 0
/obj/machinery/driver_button/New(turf/loc, var/w_dir=null)
..()
machine_flags |= MULTITOOL_MENU
switch(w_dir)
if(NORTH)
pixel_y = 25
if(SOUTH)
pixel_y = -25
if(EAST)
pixel_x = 25
if(WEST)
pixel_x = -25
/obj/machinery/ignition_switch
name = "ignition switch"
icon = 'icons/obj/objects.dmi'
icon_state = "launcherbtt"
desc = "A remote control switch for a mounted igniter."
var/id_tag = null
var/active = 0
anchored = 1.0
use_power = 1
idle_power_usage = 2
active_power_usage = 4
ghost_read = 0 // Deactivate ghost touching.
ghost_write = 0
/obj/machinery/flasher_button
name = "flasher button"
desc = "A remote control switch for a mounted flasher."
icon = 'icons/obj/objects.dmi'
icon_state = "launcherbtt"
var/id_tag = null
var/active = 0
anchored = 1.0
use_power = 1
idle_power_usage = 2
active_power_usage = 4
ghost_read = 0 // Deactivate ghost touching.
ghost_write = 0
/obj/machinery/crema_switch
desc = "Burn baby burn!"
name = "crematorium igniter"
icon = 'icons/obj/power.dmi'
icon_state = "crema_switch"
anchored = 1.0
req_access = list(access_crematorium)
var/on = 0
var/otherarea = null
var/id = 1
ghost_read = 0 // Deactivate ghost touching.
ghost_write = 0