Energy manager: Unplugs this device when it's necesarry.
587 {
589 {
591
592 if (player)
593 {
594
595 vector playerPosition = player.GetPosition();
598 }
599 else
600 {
601
603
606
609 }
610 }
611 }
void UnplugThis()
Energy manager: Unplugs this device from its power source.
bool IsEnergySourceAtReach(vector from_position, float add_tolerance=0, vector override_source_position="-1 -1 -1")
Energy manager: Returns true if this device's virtual power cord can reach its energy source at the g...