mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 20:30:46 +01:00
14e23e07f0
* upporting syndicate pai pet * tgui data * don't emag cards without a pai * aaugghh * allow bingle pai, pai counts for lonely * modular computers * fix that * . * emag * that'S fine * pai card as antag tools * . * trashcatch * that * . * only show emag chassis if we have a toolkit too * . * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
22 lines
578 B
Plaintext
22 lines
578 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)
|
|
|
|
/obj/machinery/button/allow_pai_interaction(mob/living/silicon/pai/user, proximity_flag)
|
|
return proximity_flag
|