См. определение в файле PowerGenerator.c строка 424
425 {
426 if (super.OnAction(action_id, player, ctx))
427 return true;
428
430 return false;
431
432 switch (action_id)
433 {
436 return true;
439 return true;
440 case EActions.GENERIC_FUEL_INCREASE:
442 return true;
443 case EActions.GENERIC_FUEL_DECREASE:
445 if (value <= 0.0)
446 {
448 return true;
449 }
450
452 return true;
453 }
454
455 return false;
456 }
void SetFuel(float fuel_amount)
float AddFuel(float available_fuel)
proto native CGame GetGame()
Перекрестные ссылки AddFuel(), Math::Clamp(), GetFuel(), GetGame(), GetMaxFuel() и SetFuel().