См. определение в файле PowerGenerator.c строка 404
405 {
406 if (super.OnAction(action_id, player, ctx))
407 return true;
408
410 return false;
411
412 switch (action_id)
413 {
416 return true;
419 return true;
420 case EActions.GENERIC_FUEL_INCREASE:
422 return true;
423 case EActions.GENERIC_FUEL_DECREASE:
425 if (value <= 0.0)
426 {
428 return true;
429 }
430
432 return true;
433 }
434
435 return false;
436 }
void SetFuel(float fuel_amount)
float AddFuel(float available_fuel)
Перекрестные ссылки AddFuel(), Math::Clamp(), g_Game, GetFuel(), GetMaxFuel() и SetFuel().