Energy manager: Unplugs this device when it's necesarry.
588 {
590 {
592
593 if (player)
594 {
595
596 vector playerPosition = player.GetPosition();
599 }
600 else
601 {
602
604
607
610 }
611 }
612 }
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...