mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: C.L. <killer65311@gmail.com>
19 lines
465 B
Plaintext
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)
|