983 {
984 super.OnAction(action_id, player, ctx);
985
987 {
988 if ( action_id ==
EActions.FOOD_STAGE_PREV )
989 {
991 if (food_stage_prev <= 0)
992 {
994 }
996 return true;
997 }
998 else if ( action_id ==
EActions.FOOD_STAGE_NEXT )
999 {
1002 {
1004 }
1006 return true;
1007 }
1008
1009 }
1010
1011 #ifdef DIAG_DEVELOPER
1012 if (action_id ==
EActions.FOOD_NUTRITIONS_DATA)
1013 {
1014 PrintNutritionsData();
1015 return true;
1016 }
1017 #endif
1018
1019 return false;
1020 }
FoodStageType GetFoodStageType()
void ChangeFoodStage(FoodStageType new_food_stage_type)
proto native CGame GetGame()