984 {
985 super.OnAction(action_id, player, ctx);
986
988 {
989 if ( action_id ==
EActions.FOOD_STAGE_PREV )
990 {
992 if (food_stage_prev <= 0)
993 {
995 }
997 return true;
998 }
999 else if ( action_id ==
EActions.FOOD_STAGE_NEXT )
1000 {
1003 {
1005 }
1007 return true;
1008 }
1009
1010 }
1011
1012 #ifdef DIAG_DEVELOPER
1013 if (action_id ==
EActions.FOOD_NUTRITIONS_DATA)
1014 {
1015 PrintNutritionsData();
1016 return true;
1017 }
1018 #endif
1019
1020 return false;
1021 }
FoodStageType GetFoodStageType()
void ChangeFoodStage(FoodStageType new_food_stage_type)
proto native CGame GetGame()