/tg/ Station 13 - Modules - TypesVar Details - Proc Details

intercom

Vars

icon_offThe icon of intercom while its turned off

Procs

AreaPowerCheckProc called whenever the intercom's area loses or gains power. Responsible for setting the on variable and calling update_icon().
attack_tk_grabOverride attack_tk_grab instead of attack_tk because we actually want attack_tk's functionality. What we DON'T want is attack_tk_grab attempting to pick up the intercom as if it was an ordinary item.
knock_downCalled by the wall mount component and reused during the tool deconstruction proc.

Var Details

icon_off

The icon of intercom while its turned off

Proc Details

AreaPowerCheck

Proc called whenever the intercom's area loses or gains power. Responsible for setting the on variable and calling update_icon().

Normally called after the intercom's area receives the COMSIG_AREA_POWER_CHANGE signal, but it can also be called directly. Arguments:

attack_tk_grab

Override attack_tk_grab instead of attack_tk because we actually want attack_tk's functionality. What we DON'T want is attack_tk_grab attempting to pick up the intercom as if it was an ordinary item.

knock_down

Called by the wall mount component and reused during the tool deconstruction proc.