intercom
Procs | |
AreaPowerCheck | Proc called whenever the intercom's area loses or gains power. Responsible for setting the on variable and calling update_icon() . |
---|---|
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. |
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 recieves the COMSIG_AREA_POWER_CHANGE
signal, but it can also be called directly.
Arguments:
- source - the area that just had a power change.
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.