mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-06 22:29:14 +00:00
20 lines
513 B
Plaintext
20 lines
513 B
Plaintext
/obj/machinery/button
|
|
name = "button"
|
|
icon = 'icons/obj/objects.dmi'
|
|
icon_state = "launcherbtt"
|
|
desc = "A remote control switch for something."
|
|
var/id = null
|
|
var/active = 0
|
|
anchored = 1.0
|
|
use_power = 1
|
|
idle_power_usage = 2
|
|
active_power_usage = 4
|
|
|
|
|
|
/obj/machinery/button/attack_ai(mob/user as mob)
|
|
return src.attack_hand(user)
|
|
|
|
/obj/machinery/button/attackby(obj/item/weapon/W, mob/user as mob)
|
|
if(istype(W, /obj/item/device/detective_scanner))
|
|
return
|
|
return src.attack_hand(user) |