Files
VOREStation/code/game/machinery/buttons.dm
T
Will 14e23e07f0 upports syndicate pai pet from chomp and emag behaviors (#19249)
* 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>
2026-03-05 21:53:36 +01:00

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