equal
deleted
inserted
replaced
353 print(" IsValidIndustry(): " + AIIndustry.IsValidIndustry(i)); |
353 print(" IsValidIndustry(): " + AIIndustry.IsValidIndustry(i)); |
354 print(" GetName(): " + AIIndustry.GetName(i)); |
354 print(" GetName(): " + AIIndustry.GetName(i)); |
355 print(" GetLocation(): " + AIIndustry.GetLocation(i)); |
355 print(" GetLocation(): " + AIIndustry.GetLocation(i)); |
356 print(" GetProduction(): " + AIIndustry.GetProduction(i, 1)); |
356 print(" GetProduction(): " + AIIndustry.GetProduction(i, 1)); |
357 print(" IsCargoAccepted(): " + AIIndustry.IsCargoAccepted(i, 1)); |
357 print(" IsCargoAccepted(): " + AIIndustry.IsCargoAccepted(i, 1)); |
|
358 |
|
359 local cargo_list = AICargoList(); |
|
360 for (local j = cargo_list.Begin(); cargo_list.HasNext(); j = cargo_list.Next()) { |
|
361 if (AIIndustry.GetProduction(i, j) > 0) { |
|
362 print(" GetLastMonthProduction(): " + AIIndustry.GetLastMonthProduction(i, j)); |
|
363 print(" GetLastMonthTransported(): " + AIIndustry.GetLastMonthTransported(i, j)); |
|
364 } |
|
365 } |
358 } |
366 } |
359 print(" Valid Industries: " + j); |
367 print(" Valid Industries: " + j); |
360 print(" GetIndustryCount(): " + AIIndustry.GetIndustryCount()); |
368 print(" GetIndustryCount(): " + AIIndustry.GetIndustryCount()); |
361 } |
369 } |
362 |
370 |