См. определение в файле 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)
447 return true;
448
450 return true;
451 }
452
453 return false;
454 }
void SetFuel(float fuel_amount)
float AddFuel(float available_fuel)
proto native CGame GetGame()
Перекрестные ссылки AddFuel(), Math::Clamp(), GetGame(), GetMaxFuel() и SetFuel().