intercom 
Vars | |
icon_frame | The icon of intercom while it's not assembled |
---|---|
icon_postfix_off | The icon postfix of intercom while it's turned off |
icon_postfix_open | The state of icon of intercom while it's unscrewed |
mic_timeout | Used to disable mic if not used |
Procs | |
local_powernet_check | Proc called whenever the intercom's local powernet loses or gains power. Responsible for setting the on variable and calling update_icon() . |
Var Details
icon_frame 
The icon of intercom while it's not assembled
icon_postfix_off 
The icon postfix of intercom while it's turned off
icon_postfix_open 
The state of icon of intercom while it's unscrewed
mic_timeout 
Used to disable mic if not used
Proc Details
local_powernet_check
Proc called whenever the intercom's local powernet loses or gains power. Responsible for setting the on
variable and calling update_icon()
.
Normally called after the intercom's local powernet sends the COMSIG_POWERNET_POWER_CHANGE
signal, but it can also be called directly.
Arguments:
source - the area that just had a power change.