Files
CHOMPStation2/code/game/machinery/buttons.dm
CHOMPStation2StaffMirrorBot a05bac2e8b [MIRROR] some sleep cleanup (#11576)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: C.L. <killer65311@gmail.com>
2025-09-07 01:21:45 -04:00

19 lines
465 B
Plaintext

/obj/machinery/button
name = "button"
icon = 'icons/obj/objects.dmi'
icon_state = "launcherbtt"
layer = ABOVE_WINDOW_LAYER
desc = "A remote control switch for something."
var/id = null
var/active = FALSE
anchored = TRUE
use_power = USE_POWER_IDLE
idle_power_usage = 2
active_power_usage = 4
/obj/machinery/button/attack_ai(mob/user as mob)
return attack_hand(user)
/obj/machinery/button/attackby(obj/item/W, mob/user as mob)
return attack_hand(user)