См. определение в файле PowerGenerator.c строка 409
410 {
411 if (super.OnAction(action_id, player, ctx))
412 return true;
413
415 return false;
416
417 switch (action_id)
418 {
421 return true;
424 return true;
425 case EActions.GENERIC_FUEL_INCREASE:
427 return true;
428 case EActions.GENERIC_FUEL_DECREASE:
430 if (value <= 0.0)
431 {
433 return true;
434 }
435
437 return true;
438 }
439
440 return false;
441 }
void SetFuel(float fuel_amount)
float AddFuel(float available_fuel)
Перекрестные ссылки AddFuel(), Math::Clamp(), g_Game, GetFuel(), GetMaxFuel() и SetFuel().