Energy manager: Unplugs this device when it's necesarry.
600 {
602 {
604
605 if (player)
606 {
607
608 vector playerPosition = player.GetPosition();
611 }
612 else
613 {
614
616
619
622 }
623 }
624 }
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...