15 target_entity.GetInventory().GetCurrentInventoryLocation(loc);
17 return ( player.IsAlive() && target_entity.HasEnergyManager() && target_entity.GetCompEM().CanSwitchOn() && target_entity.GetCompEM().CanWork() && loc.GetType() ==
InventoryLocationType.GROUND );
20 override void OnExecuteServer(
ActionData action_data )
24 if ( target_entity.GetCompEM().CanWork() )
26 target_entity.GetCompEM().SwitchOn();