@@ -567,9 +567,9 @@ void NewNicowar::check_phases(Echo& echo)
567567 }
568568
569569 // /Qualifications for the upgrading phase 1:
570- // /1) Atleast strategy.upgrading_phase_1_school_min schools
571- // /2) Atleast strategy.upgrading_phase_1_unit_min units
572- // /3) Atleast strategy.upgrading_phase_1_trained_worker_min of them are trained for upgrading to level 2
570+ // /1) At least strategy.upgrading_phase_1_school_min schools
571+ // /2) At least strategy.upgrading_phase_1_unit_min units
572+ // /3) At least strategy.upgrading_phase_1_trained_worker_min of them are trained for upgrading to level 2
573573 BuildingSearch schools (echo);
574574 schools.add_condition (new SpecificBuildingType (IntBuildingType::SCIENCE_BUILDING));
575575 schools.add_condition (new NotUnderConstruction);
@@ -586,9 +586,9 @@ void NewNicowar::check_phases(Echo& echo)
586586 }
587587
588588 // /Qualifications for the upgrading phase 2:
589- // /1) Atleast strategy.upgrading_phase_2_school_min level 2 or level 3 schools
590- // /2) Atleast strategy.upgrading_phase_2_unit_min units
591- // /3) Atleast strategy.upgrading_phase_2_trained_worker_min of them are trained for upgrading to level 3
589+ // /1) At least strategy.upgrading_phase_2_school_min level 2 or level 3 schools
590+ // /2) At least strategy.upgrading_phase_2_unit_min units
591+ // /3) At least strategy.upgrading_phase_2_trained_worker_min of them are trained for upgrading to level 3
592592 BuildingSearch schools_2 (echo);
593593 schools_2.add_condition (new SpecificBuildingType (IntBuildingType::SCIENCE_BUILDING));
594594 schools_2.add_condition (new NotUnderConstruction);
@@ -609,8 +609,8 @@ void NewNicowar::check_phases(Echo& echo)
609609 upgrading_phase_2=false ;
610610 }
611611
612- // /Qualifications for the war preperation phase:
613- // /1) Atleast strategy.war_preparation_phase_unit_min units
612+ // /Qualifications for the war preparation phase:
613+ // /1) At least strategy.war_preparation_phase_unit_min units
614614 // /2) Less than strategy.war_preparation_phase_barracks_max barracks OR
615615 // /3) Less than strategy.war_preparation_phase_trained_warrior_max trained warriors
616616 BuildingSearch barracks (echo);
@@ -633,7 +633,7 @@ void NewNicowar::check_phases(Echo& echo)
633633 }
634634
635635 // /Qualifications for the war phase:
636- // /Atleast strategy.war_phase_trained_warrior_min trained warriors
636+ // /At least strategy.war_phase_trained_warrior_min trained warriors
637637 if (warrior_count >= strategy.war_phase_trained_warrior_min )
638638 {
639639 war=true ;
@@ -644,7 +644,7 @@ void NewNicowar::check_phases(Echo& echo)
644644 }
645645
646646 // /Qualifications for the fruit phase:
647- // /Atleast strategy.fruit_phase_unit_min units, and fruits on the map
647+ // /At least strategy.fruit_phase_unit_min units, and fruits on the map
648648 if (echo.is_fruit_on_map () && stat->totalUnit >= strategy.fruit_phase_unit_min )
649649 {
650650 fruit_phase=true ;
@@ -656,7 +656,7 @@ void NewNicowar::check_phases(Echo& echo)
656656
657657 // /Qualifications for the starving recovery phase:
658658 // /1) More than strategy.starvation_recovery_phase_starving_no_inn_min_percent % units hungry but not able to eat
659- // /2) Atleast one unit (because of division by 0)
659+ // /2) At least one unit (because of division by 0)
660660 if (stat->totalUnit > 1 )
661661 {
662662 int total_starving_percent = stat->needFoodNoInns * 100 / stat->totalUnit ;
@@ -677,7 +677,7 @@ void NewNicowar::check_phases(Echo& echo)
677677 // /Qualifications for the no worker phase:
678678 // /1) More than strategy.no_workers_phase_free_worker_minimum_percent % workers free
679679 // /2) No needed jobs
680- // /3) Atleast one worker (because of division by 0)
680+ // /3) At least one worker (because of division by 0)
681681 if (stat->numberUnitPerType [WORKER] > 0 )
682682 {
683683 const int workers_free = (stat->isFree [WORKER] - stat->totalNeeded ) * 100 / stat->numberUnitPerType [WORKER];
@@ -696,7 +696,7 @@ void NewNicowar::check_phases(Echo& echo)
696696 }
697697
698698 // /Qualifications for the can swim phase:
699- // /1) Atleast one worker that can swim
699+ // /1) At least one worker that can swim
700700 int total_can_swim=0 ;
701701 for (int i=0 ; i<4 ; ++i)
702702 total_can_swim += stat->upgradeStatePerType [WORKER][SWIM][i];
@@ -1060,7 +1060,7 @@ int NewNicowar::order_regular_inn(Echo& echo)
10601060 // You dont want to be too close to water, so that farm can develop between it and water
10611061 bo->add_constraint (new AIEcho::Construction::MinimumDistance (gi_water, 6 ));
10621062
1063- // Constraints arround nearby settlement
1063+ // Constraints around nearby settlement
10641064 AIEcho::Gradients::GradientInfo gi_building;
10651065 gi_building.add_source (new AIEcho::Gradients::Entities::AnyTeamBuilding (echo.player ->team ->teamNumber , false ));
10661066 gi_building.add_obstacle (new AIEcho::Gradients::Entities::AnyResource);
@@ -1126,7 +1126,7 @@ int NewNicowar::order_regular_swarm(Echo& echo)
11261126 // Constraints about the distance to water.
11271127 AIEcho::Gradients::GradientInfo gi_water;
11281128 gi_water.add_source (new AIEcho::Gradients::Entities::Water);
1129- // You dont want to be too close to water, so that farm can develop between it and water
1129+ // You don't want to be too close to water, so that farm can develop between it and water
11301130 bo->add_constraint (new AIEcho::Construction::MinimumDistance (gi_water, 6 ));
11311131
11321132 // Constraints around nearby settlement
@@ -1218,7 +1218,7 @@ int NewNicowar::order_regular_racetrack(Echo& echo)
12181218
12191219int NewNicowar::order_regular_swimmingpool (Echo& echo)
12201220{
1221- // The main order for the swimmingpool
1221+ // The main order for the swimming pool
12221222 BuildingOrder* bo = new BuildingOrder (IntBuildingType::SWIMSPEED_BUILDING, 6 );
12231223
12241224 // Constraints around the location of wood
@@ -1527,7 +1527,7 @@ void NewNicowar::manage_swarm(Echo& echo, int id)
15271527 else
15281528 explorer_ratio=0 ;
15291529
1530- // /Warriors are constructed during the war preperation phase
1530+ // /Warriors are constructed during the war preparation phase
15311531 if (war_preparation)
15321532 {
15331533 warrior_ratio=strategy.war_preparation_swarm_warrior_ratio ;
0 commit comments