bin/ai/regression/regression.nut
branchnoai
changeset 11165 a725845fcc01
parent 11164 67338721eb26
equal deleted inserted replaced
11164:67338721eb26 11165:a725845fcc01
   602 		print("    IsCargoAccepted(): " + AIIndustry.IsCargoAccepted(i, 1));
   602 		print("    IsCargoAccepted(): " + AIIndustry.IsCargoAccepted(i, 1));
   603 
   603 
   604 		local cargo_list = AICargoList();
   604 		local cargo_list = AICargoList();
   605 		for (local j = cargo_list.Begin(); cargo_list.HasNext(); j = cargo_list.Next()) {
   605 		for (local j = cargo_list.Begin(); cargo_list.HasNext(); j = cargo_list.Next()) {
   606 			if (AIIndustry.GetProduction(i, j) > 0) {
   606 			if (AIIndustry.GetProduction(i, j) > 0) {
   607 				print("	   GetLastMonthProduction(): " + AIIndustry.GetLastMonthProduction(i, j));
   607 				print("	   GetLastMonthProduction():  " + AIIndustry.GetLastMonthProduction(i, j));
   608 				print("	   GetLastMonthTransported(): " + AIIndustry.GetLastMonthTransported(i, j));
   608 				print("	   GetLastMonthTransported(): " + AIIndustry.GetLastMonthTransported(i, j));
       
   609 				print("	   GetStockpiledCargo():      " + AIIndustry.GetStockpiledCargo(i, j));
   609 			}
   610 			}
   610 		}
   611 		}
   611 	}
   612 	}
   612 	print("  Valid Industries:    " + j);
   613 	print("  Valid Industries:    " + j);
   613 	print("  GetIndustryCount():  " + AIIndustry.GetIndustryCount());
   614 	print("  GetIndustryCount():  " + AIIndustry.GetIndustryCount());