summaryrefslogtreecommitdiff
path: root/bin/ai/regression
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ai/regression')
-rw-r--r--bin/ai/regression/completeness.sh67
-rw-r--r--bin/ai/regression/regression.cfg17
-rw-r--r--bin/ai/regression/regression.nut1761
-rw-r--r--bin/ai/regression/regression.savbin0 -> 97731 bytes
-rw-r--r--bin/ai/regression/regression.txt7824
-rw-r--r--bin/ai/regression/regression_info.nut11
-rw-r--r--bin/ai/regression/require.nut3
-rw-r--r--bin/ai/regression/run.sh49
8 files changed, 9732 insertions, 0 deletions
diff --git a/bin/ai/regression/completeness.sh b/bin/ai/regression/completeness.sh
new file mode 100644
index 000000000..ad1b4c145
--- /dev/null
+++ b/bin/ai/regression/completeness.sh
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+if ! [ -f ai/regression/regression.nut ]; then
+ echo "Make sure you are in the root of OpenTTD before starting this script."
+ exit 1
+fi
+
+cat ai/regression/regression.nut | tr ';' '\n' | awk '
+/^function/ {
+ for (local in locals) {
+ delete locals[local]
+ }
+ if (match($0, "function Regression::Start") || match($0, "function Regression::Stop")) next
+ locals["this"] = "AIControllerSquirrel"
+}
+
+/local/ {
+ gsub(".*local", "local")
+ if (match($4, "^AI")) {
+ sub("\\(.*", "", $4)
+ locals[$2] = $4
+ }
+}
+
+/Valuate/ {
+ gsub(".*Valuate\\(", "")
+ gsub("\\).*", "")
+ gsub(",.*", "")
+ gsub("\\.", "::")
+ print $0
+}
+
+/\./ {
+ for (local in locals) {
+ if (match($0, local ".")) {
+ fname = substr($0, index($0, local "."))
+ sub("\\(.*", "", fname)
+ sub("\\.", "::", fname)
+ sub(local, locals[local], fname)
+ print fname
+ if (match(locals[local], "List")) {
+ sub(locals[local], "AIAbstractList", fname)
+ print fname
+ }
+ }
+ }
+ # We want to remove everything before the FIRST occurence of AI.
+ # If we do not remove any other occurences of AI from the string
+ # we will remove everything before the LAST occurence of AI, so
+ # do some little magic to make it work the way we want.
+ sub("AI", "AXXXXY")
+ gsub("AI", "AXXXXX")
+ sub(".*AXXXXY", "AI")
+ if (match($0, "^AI") && match($0, ".")) {
+ sub("\\(.*", "", $0)
+ sub("\\.", "::", $0)
+ print $0
+ }
+}
+' | sed 's/ //g' | sort | uniq > tmp.in_regression
+
+grep 'DefSQ.*Method' ../src/ai/api/*.hpp.sq | grep -v 'AIError::' | grep -v 'AIAbstractList::Valuate' | grep -v '::GetClassName' | sed 's/^[^,]*, &//g;s/,[^,]*//g' | sort > tmp.in_api
+
+diff -u tmp.in_regression tmp.in_api | grep -v '^+++' | grep '^+' | sed 's/^+//'
+
+rm -f tmp.in_regression tmp.in_api
+
diff --git a/bin/ai/regression/regression.cfg b/bin/ai/regression/regression.cfg
new file mode 100644
index 000000000..8bdf78c44
--- /dev/null
+++ b/bin/ai/regression/regression.cfg
@@ -0,0 +1,17 @@
+[misc]
+display_opt = SHOW_TOWN_NAMES|SHOW_STATION_NAMES|SHOW_SIGNS|WAYPOINTS
+language = english.lng
+
+[gui]
+autosave = off
+
+[game_creation]
+town_name = english
+
+[ai_players]
+none =
+regression =
+
+[vehicle]
+road_side = right
+plane_speed = 2
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut
new file mode 100644
index 000000000..768facf9e
--- /dev/null
+++ b/bin/ai/regression/regression.nut
@@ -0,0 +1,1761 @@
+import("queue.priority_queue", "PQ", 2);
+import("queue.binary_heap", "BH", 1);
+import("queue.fibonacci_heap", "FH", 1);
+import("graph.aystar", "AS", 4);
+import("pathfinder.road", "RPF", 3);
+
+class Regression extends AIController {
+ function Start();
+};
+
+
+
+function Regression::TestInit()
+{
+ print("");
+ print("--TestInit--");
+ print(" TickTest: " + this.GetTick());
+ this.Sleep(1);
+ print(" TickTest: " + this.GetTick());
+ print(" SetCommandDelay: " + AIController.SetCommandDelay(1));
+ print(" IsValid(vehicle.plane_speed): " + AIGameSettings.IsValid("vehicle.plane_speed"));
+ print(" vehicle.plane_speed: " + AIGameSettings.GetValue("vehicle.plane_speed"));
+ require("require.nut");
+ print(" min(6, 3): " + min(6, 3));
+ print(" min(3, 6): " + min(3, 6));
+ print(" max(6, 3): " + max(6, 3));
+ print(" max(3, 6): " + max(3, 6));
+
+ print(" AIList Consistency Tests");
+ print("");
+ print(" Value Descending");
+ local list = AIList();
+ list.AddItem( 5, 10);
+ list.AddItem(10, 10);
+ list.AddItem(15, 20);
+ list.AddItem(20, 20);
+ list.AddItem(25, 30);
+ list.AddItem(30, 30);
+ list.AddItem(35, 40);
+ list.AddItem(40, 40);
+
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.RemoveItem(i - 10);
+ list.RemoveItem(i - 5);
+ list.RemoveItem(i);
+ print(" " + i);
+ }
+
+ list.AddItem(10, 10);
+ list.AddItem(20, 20);
+ list.AddItem(30, 30);
+ list.AddItem(40, 40);
+
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.SetValue(i, 2);
+ print(" " + i);
+ }
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+
+ list = AIList();
+ list.Sort(AIAbstractList.SORT_BY_VALUE, true);
+ print("");
+ print(" Value Ascending");
+ list.AddItem( 5, 10);
+ list.AddItem(10, 10);
+ list.AddItem(15, 20);
+ list.AddItem(20, 20);
+ list.AddItem(25, 30);
+ list.AddItem(30, 30);
+ list.AddItem(35, 40);
+ list.AddItem(40, 40);
+
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.RemoveItem(i + 10);
+ list.RemoveItem(i + 5);
+ list.RemoveItem(i);
+ print(" " + i);
+ }
+
+ list.AddItem(10, 10);
+ list.AddItem(20, 20);
+ list.AddItem(30, 30);
+ list.AddItem(40, 40);
+
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.SetValue(i, 50);
+ print(" " + i);
+ }
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+
+ list = AIList();
+ list.Sort(AIAbstractList.SORT_BY_ITEM, false);
+ print("");
+ print(" Item Descending");
+ list.AddItem( 5, 10);
+ list.AddItem(10, 10);
+ list.AddItem(15, 20);
+ list.AddItem(20, 20);
+ list.AddItem(25, 30);
+ list.AddItem(30, 30);
+ list.AddItem(35, 40);
+ list.AddItem(40, 40);
+
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.RemoveItem(i - 10);
+ list.RemoveItem(i - 5);
+ list.RemoveItem(i);
+ print(" " + i);
+ }
+
+ list.AddItem(10, 10);
+ list.AddItem(20, 20);
+ list.AddItem(30, 30);
+ list.AddItem(40, 40);
+
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.SetValue(i, 2);
+ print(" " + i);
+ }
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+
+ list = AIList();
+ list.Sort(AIAbstractList.SORT_BY_ITEM, true);
+ print("");
+ print(" Item Ascending");
+ list.AddItem( 5, 10);
+ list.AddItem(10, 10);
+ list.AddItem(15, 20);
+ list.AddItem(20, 20);
+ list.AddItem(25, 30);
+ list.AddItem(30, 30);
+ list.AddItem(35, 40);
+ list.AddItem(40, 40);
+
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.RemoveItem(i + 10);
+ list.RemoveItem(i + 5);
+ list.RemoveItem(i);
+ print(" " + i);
+ }
+
+ list.AddItem(10, 10);
+ list.AddItem(20, 20);
+ list.AddItem(30, 30);
+ list.AddItem(40, 40);
+
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ list.SetValue(i, 50);
+ print(" " + i);
+ }
+ print("");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+
+ list.Clear();
+ foreach (idx, val in list) {
+ print(" " + idx);
+ }
+}
+
+function Regression::Std()
+{
+ print("");
+ print("--Std--");
+ print(" abs(-21): " + abs(-21));
+ print(" abs( 21): " + abs(21));
+}
+
+function Regression::Base()
+{
+ print("");
+ print("--AIBase--");
+ print(" Rand(): " + AIBase.Rand());
+ print(" Rand(): " + AIBase.Rand());
+ print(" Rand(): " + AIBase.Rand());
+ print(" RandRange(0): " + AIBase.RandRange(0));
+ print(" RandRange(0): " + AIBase.RandRange(0));
+ print(" RandRange(0): " + AIBase.RandRange(0));
+ print(" RandRange(1): " + AIBase.RandRange(1));
+ print(" RandRange(1): " + AIBase.RandRange(1));
+ print(" RandRange(1): " + AIBase.RandRange(1));
+ print(" RandRange(2): " + AIBase.RandRange(2));
+ print(" RandRange(2): " + AIBase.RandRange(2));
+ print(" RandRange(2): " + AIBase.RandRange(2));
+ print(" RandRange(9): " + AIBase.RandRange(9));
+ print(" RandRange(9): " + AIBase.RandRange(9));
+ print(" RandRange(9): " + AIBase.RandRange(9));
+ print(" Chance(1, 2): " + AIBase.Chance(1, 2));
+ print(" Chance(1, 2): " + AIBase.Chance(1, 2));
+ print(" Chance(1, 2): " + AIBase.Chance(1, 2));
+
+ AIRoad.SetCurrentRoadType(AIRoad.ROADTYPE_ROAD);
+}
+
+function Regression::Airport()
+{
+ print("");
+ print("--AIAirport--");
+
+ print(" IsHangarTile(): " + AIAirport.IsHangarTile(32116));
+ print(" IsAirportTile(): " + AIAirport.IsAirportTile(32116));
+ print(" GetHangarOfAirport(): " + AIAirport.GetHangarOfAirport(32116));
+ print(" GetAirportType(): " + AIAirport.GetAirportType(32116));
+
+ for (local i = -1; i < 10; i++) {
+ print(" IsValidAirportType(" + i + "): " + AIAirport.IsValidAirportType(i));
+ print(" AirportAvailable(" + i + "): " + AIAirport.AirportAvailable(i));
+ print(" GetAirportWidth(" + i + "): " + AIAirport.GetAirportWidth(i));
+ print(" GetAirportHeight(" + i + "): " + AIAirport.GetAirportHeight(i));
+ print(" GetAirportCoverageRadius(" + i + "): " + AIAirport.GetAirportCoverageRadius(i));
+ }
+
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" BuildAirport(): " + AIAirport.BuildAirport(32116, 0, true));
+ print(" IsHangarTile(): " + AIAirport.IsHangarTile(32116));
+ print(" IsAirportTile(): " + AIAirport.IsAirportTile(32116));
+ print(" GetAirportType(): " + AIAirport.GetAirportType(32119));
+ print(" GetHangarOfAirport(): " + AIAirport.GetHangarOfAirport(32116));
+ print(" IsHangarTile(): " + AIAirport.IsHangarTile(32119));
+ print(" IsAirportTile(): " + AIAirport.IsAirportTile(32119));
+ print(" GetAirportType(): " + AIAirport.GetAirportType(32119));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+
+ print(" RemoveAirport(): " + AIAirport.RemoveAirport(32118));
+ print(" IsHangarTile(): " + AIAirport.IsHangarTile(32119));
+ print(" IsAirportTile(): " + AIAirport.IsAirportTile(32119));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" BuildAirport(): " + AIAirport.BuildAirport(32116, 0, true));
+}
+
+function Regression::Bridge()
+{
+ local j = 0;
+
+ print("");
+ print("--Bridge--");
+ for (local i = -1; i < 14; i++) {
+ if (AIBridge.IsValidBridge(i)) j++;
+ print(" Bridge " + i);
+ print(" IsValidBridge(): " + AIBridge.IsValidBridge(i));
+ print(" GetName(): " + AIBridge.GetName(i));
+ print(" GetMaxSpeed(): " + AIBridge.GetMaxSpeed(i));
+ print(" GetPrice(): " + AIBridge.GetPrice(i, 5));
+ print(" GetMaxLength(): " + AIBridge.GetMaxLength(i));
+ print(" GetMinLength(): " + AIBridge.GetMinLength(i));
+ print(" GetYearAvailable(): " + AIBridge.GetYearAvailable(i));
+ }
+ print(" Valid Bridges: " + j);
+
+ print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33160));
+ print(" RemoveBridge(): " + AIBridge.RemoveBridge(33155));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" GetOtherBridgeEnd(): " + AIBridge.GetOtherBridgeEnd(33160));
+ print(" BuildBridge(): " + AIBridge.BuildBridge(AIVehicle.VEHICLE_ROAD, 5, 33160, 33155));
+ print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33160));
+ print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33155));
+ print(" GetOtherBridgeEnd(): " + AIBridge.GetOtherBridgeEnd(33160));
+ print(" BuildBridge(): " + AIBridge.BuildBridge(AIVehicle.VEHICLE_ROAD, 5, 33160, 33155));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" RemoveBridge(): " + AIBridge.RemoveBridge(33155));
+ print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33160));
+}
+
+function Regression::BridgeList()
+{
+ local list = AIBridgeList();
+
+ print("");
+ print("--BridgeList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIBridge.GetMaxSpeed);
+ print(" MaxSpeed ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIBridge.GetPrice, 5);
+ print(" Price ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIBridge.GetMaxLength);
+ print(" MaxLength ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIBridge.GetMinLength);
+ print(" MinLength ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIBridge.GetYearAvailable);
+ print(" YearAvailable ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AIBridgeList_Length(14);
+
+ print("");
+ print("--BridgeList_Length--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIBridge.GetMaxSpeed);
+ print(" MaxSpeed ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIBridge.GetPrice, 14);
+ print(" Price ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+}
+
+function Regression::Cargo()
+{
+ print("");
+ print("--AICargo--");
+ for (local i = -1; i < 15; i++) {
+ print(" Cargo " + i);
+ print(" IsValidCargo(): " + AICargo.IsValidCargo(i));
+ print(" GetCargoLabel(): '" + AICargo.GetCargoLabel(i)+ "'");
+ print(" IsFreight(): " + AICargo.IsFreight(i));
+ print(" HasCargoClass(): " + AICargo.HasCargoClass(i, AICargo.CC_PASSENGERS));
+ print(" GetTownEffect(): " + AICargo.GetTownEffect(i));
+ print(" GetCargoIncome(0, 0): " + AICargo.GetCargoIncome(i, 0, 0));
+ print(" GetCargoIncome(10, 10): " + AICargo.GetCargoIncome(i, 10, 10));
+ print(" GetCargoIncome(100, 10): " + AICargo.GetCargoIncome(i, 100, 10));
+ print(" GetCargoIncome(10, 100): " + AICargo.GetCargoIncome(i, 10, 100));
+ }
+}
+
+function Regression::CargoList()
+{
+ local list = AICargoList();
+
+ print("");
+ print("--CargoList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AICargo.IsFreight);
+ print(" IsFreight ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.Valuate(AICargo.GetCargoIncome, 100, 100);
+ print(" CargoIncomes(100, 100) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AICargoList_IndustryAccepting(8);
+ print("");
+ print("--CargoList_IndustryAccepting--");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+
+ list = AICargoList_IndustryProducing(4);
+ print("");
+ print("--CargoList_IndustryProducing--");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+}
+
+function Regression::Company()
+{
+ print("");
+ print("--Company--");
+
+ /* Test AIXXXMode() in scopes */
+ {
+ local test = AITestMode();
+ print(" SetName(): " + AICompany.SetName("Regression"));
+ print(" SetName(): " + AICompany.SetName("Regression"));
+ {
+ local exec = AIExecMode();
+ print(" SetName(): " + AICompany.SetName("Regression"));
+ print(" SetName(): " + AICompany.SetName("Regression"));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ }
+ }
+
+ print(" GetName(): " + AICompany.GetName(AICompany.MY_COMPANY));
+ print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.MY_COMPANY));
+ print(" SetPresidentName(): " + AICompany.SetPresidentName("Regression AI"));
+ print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.MY_COMPANY));
+ print(" GetCompanyValue(): " + AICompany.GetCompanyValue(AICompany.MY_COMPANY));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" GetName(): " + AICompany.GetName(240));
+ print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
+ print(" GetMaxLoanAmount(): " + AICompany.GetMaxLoanAmount());
+ print(" GetLoanInterval(): " + AICompany.GetLoanInterval());
+ print(" SetLoanAmount(1): " + AICompany.SetLoanAmount(1));
+ print(" SetLoanAmount(100): " + AICompany.SetLoanAmount(100));
+ print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(10000));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
+ print(" SetMinimumLoanAmount(31337): " + AICompany.SetMinimumLoanAmount(31337));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
+ print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(AICompany.GetMaxLoanAmount()));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
+ print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.MY_COMPANY));
+ print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(127, 129)));
+ print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.MY_COMPANY));
+ print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 129)));
+ print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.MY_COMPANY));
+ print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 128)));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.MY_COMPANY));
+ print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
+ print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.MY_COMPANY));
+ print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
+ print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false));
+ print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.MY_COMPANY));
+ print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
+ print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.MY_COMPANY));
+ print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
+ print(" SetAutoRenewMonths(6); " + AICompany.SetAutoRenewMonths(6));
+ print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.MY_COMPANY));
+ print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000));
+ print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.MY_COMPANY));
+ print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000));
+ print(" SetAutoRenewMoney(100000); " + AICompany.SetAutoRenewMoney(100000));
+}
+
+function Regression::Engine()
+{
+ local j = 0;
+
+ print("");
+ print("--Engine--");
+ for (local i = -1; i < 257; i++) {
+ if (AIEngine.IsValidEngine(i)) j++;
+ print(" Engine " + i);
+ print(" IsValidEngine(): " + AIEngine.IsValidEngine(i));
+ print(" GetName(): " + AIEngine.GetName(i));
+ print(" GetCargoType(): " + AIEngine.GetCargoType(i));
+ print(" CanRefitCargo(): " + AIEngine.CanRefitCargo(i, 1));
+ print(" GetCapacity(): " + AIEngine.GetCapacity(i));
+ print(" GetReliability(): " + AIEngine.GetReliability(i));
+ print(" GetMaxSpeed(): " + AIEngine.GetMaxSpeed(i));
+ print(" GetPrice(): " + AIEngine.GetPrice(i));
+ print(" GetMaxAge(): " + AIEngine.GetMaxAge(i));
+ print(" GetRunningCost(): " + AIEngine.GetRunningCost(i));
+ print(" GetVehicleType(): " + AIEngine.GetVehicleType(i));
+ print(" GetRailType(): " + AIEngine.GetRailType(i));
+ print(" GetRoadType(): " + AIEngine.GetRoadType(i));
+ print(" GetPlaneType(): " + AIEngine.GetPlaneType(i));
+ }
+ print(" Valid Engines: " + j);
+}
+
+function Regression::EngineList()
+{
+ local list = AIEngineList(AIVehicle.VEHICLE_ROAD);
+
+ print("");
+ print("--EngineList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIEngine.GetCargoType);
+ print(" CargoType ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIEngine.GetCapacity);
+ print(" Capacity ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIEngine.GetReliability);
+ print(" Reliability ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIEngine.GetMaxSpeed);
+ print(" MaxSpeed ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIEngine.GetPrice);
+ print(" Price ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+}
+
+function cost_callback(old_path, new_tile, new_direction, self) { if (old_path == null) return 0; return old_path.GetCost() + 1; }
+function estimate_callback(tile, direction, goals, self) { return goals[0] - tile; }
+function neighbours_callback(path, cur_tile, self) { return [[cur_tile + 1, 1]]; }
+function check_direction_callback(tile, existing_direction, new_direction, self) { return false; }
+
+function Regression::Graph()
+{
+ print("--AyStar--");
+ print(" Fastest path:");
+ local as = AS(cost_callback, estimate_callback, neighbours_callback, check_direction_callback);
+
+ local path = false;
+ as.InitializePath([[1, 1]], [10]);
+ while (path == false) path = as.FindPath(5);
+
+ while (path != null) {
+ print(" Tile " + path.GetTile());
+ path = path.GetParent();
+ }
+}
+
+function Regression::Group()
+{
+ print ("");
+ print("--Group--");
+ print(" SetAutoReplace(): " + AIGroup.SetAutoReplace(AIGroup.ALL_GROUP, 116, 117));
+ print(" GetEngineReplacement(): " + AIGroup.GetEngineReplacement(AIGroup.ALL_GROUP, 116));
+ print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.ALL_GROUP, 116));
+ print(" AIRoad.BuildRoadDepot(): " + AIRoad.BuildRoadDepot(10000, 10001));
+ local vehicle = AIVehicle.BuildVehicle(10000, 116);
+ print(" AIVehicle.BuildVehicle(): " + vehicle);
+ print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.ALL_GROUP, 116));
+ local group = AIGroup.CreateGroup(AIVehicle.VEHICLE_ROAD);
+ print(" CreateGroup(): " + group);
+ print(" MoveVehicle(): " + AIGroup.MoveVehicle(group, vehicle));
+ print(" GetNumEngines(): " + AIGroup.GetNumEngines(group, 116));
+ print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.ALL_GROUP, 116));
+ print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.DEFAULT_GROUP, 116));
+ print(" GetName(): " + AIGroup.GetName(0));
+ print(" GetName(): " + AIGroup.GetName(1));
+ print(" AIVehicle.SellVehicle(): " + AIVehicle.SellVehicle(vehicle));
+ print(" AITile.DemolishTile(): " + AITile.DemolishTile(10000));
+ print(" HasWagonRemoval(): " + AIGroup.HasWagonRemoval());
+ print(" EnableWagonRemoval(): " + AIGroup.EnableWagonRemoval(true));
+ print(" HasWagonRemoval(): " + AIGroup.HasWagonRemoval());
+ print(" EnableWagonRemoval(): " + AIGroup.EnableWagonRemoval(false));
+ print(" EnableWagonRemoval(): " + AIGroup.EnableWagonRemoval(false));
+ print(" HasWagonRemoval(): " + AIGroup.HasWagonRemoval());
+}
+
+function Regression::Industry()
+{
+ local j = 0;
+
+ print("");
+ print("--Industry--");
+ print(" GetMaxIndustryID(): " + AIIndustry.GetMaxIndustryID());
+ print(" GetIndustryCount(): " + AIIndustry.GetIndustryCount());
+ for (local i = -1; i < AIIndustry.GetMaxIndustryID() + 1; i++) {
+ if (AIIndustry.IsValidIndustry(i)) j++;
+ print(" Industry " + i);
+ print(" IsValidIndustry(): " + AIIndustry.IsValidIndustry(i));
+ print(" GetName(): " + AIIndustry.GetName(i));
+ print(" GetLocation(): " + AIIndustry.GetLocation(i));
+ print(" GetProduction(): " + AIIndustry.GetProduction(i, 1));
+ print(" IsCargoAccepted(): " + AIIndustry.IsCargoAccepted(i, 1));
+
+ local cargo_list = AICargoList();
+ for (local j = cargo_list.Begin(); cargo_list.HasNext(); j = cargo_list.Next()) {
+ if (AIIndustry.GetProduction(i, j) > 0) {
+ print(" GetLastMonthProduction(): " + AIIndustry.GetLastMonthProduction(i, j));
+ print(" GetLastMonthTransported(): " + AIIndustry.GetLastMonthTransported(i, j));
+ print(" GetStockpiledCargo(): " + AIIndustry.GetStockpiledCargo(i, j));
+ }
+ }
+ }
+ print(" Valid Industries: " + j);
+ print(" GetIndustryCount(): " + AIIndustry.GetIndustryCount());
+}
+
+function Regression::IndustryList()
+{
+ local list = AIIndustryList();
+
+ print("");
+ print("--IndustryList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIIndustry.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIIndustry.GetDistanceManhattanToTile, 30000);
+ print(" DistanceManhattanToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIIndustry.GetDistanceSquareToTile, 30000);
+ print(" DistanceSquareToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIIndustry.GetAmountOfStationsAround);
+ print(" GetAmountOfStationsAround(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIIndustry.IsCargoAccepted, 1);
+ print(" CargoAccepted(1) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIIndustry.GetProduction, 1);
+ list.KeepAboveValue(50);
+ print(" KeepAboveValue(50): done");
+ print(" Count(): " + list.Count());
+ print(" Production ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AIIndustryList_CargoAccepting(1);
+ print("--IndustryList_CargoAccepting--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIIndustry.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AIIndustryList_CargoProducing(1);
+ print("--IndustryList_CargoProducing--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIIndustry.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+}
+
+function Regression::IndustryTypeList()
+{
+ local list = AIIndustryTypeList();
+
+ print("");
+ print("--IndustryTypeList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIIndustry.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" Id: " + i);
+ print(" IsRawIndustry(): " + AIIndustryType.IsRawIndustry(i));
+ print(" ProductionCanIncrease(): " + AIIndustryType.ProductionCanIncrease(i));
+ print(" GetConstructionCost(): " + AIIndustryType.GetConstructionCost(i));
+ print(" GetName(): " + AIIndustryType.GetName(i));
+ print(" CanBuildIndustry(): " + AIIndustryType.CanBuildIndustry(i));
+ print(" CanProspectIndustry(): " + AIIndustryType.CanProspectIndustry(i));
+ }
+}
+
+function CustomValuator(list_id)
+{
+ return list_id * 4343;
+}
+
+function Regression::List()
+{
+ local list = AIList();
+
+ print("");
+ print("--List--");
+
+ print(" IsEmpty(): " + list.IsEmpty());
+ list.AddItem(1, 1);
+ list.AddItem(2, 2);
+ for (local i = 1000; i < 1100; i++) {
+ list.AddItem(i, i);
+ }
+ list.RemoveItem(1050);
+ list.RemoveItem(1150);
+ list.ChangeItem(1051, 12);
+ print(" Count(): " + list.Count());
+ print(" HasItem(1050): " + list.HasItem(1050));
+ print(" HasItem(1051): " + list.HasItem(1051));
+ print(" IsEmpty(): " + list.IsEmpty());
+ list.Sort(AIAbstractList.SORT_BY_ITEM, true);
+ print(" List Dump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(CustomValuator);
+ print(" Custom ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(function (a) { return a * 42; });
+ print(" Custom ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIBase.RandItem);
+ print(" Randomize ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.KeepTop(10);
+ print(" KeepTop(10):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.KeepBottom(8);
+ print(" KeepBottom(8):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.RemoveBottom(2);
+ print(" RemoveBottom(2):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.RemoveTop(2);
+ print(" RemoveTop(2):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ local list2 = AIList();
+ list2.AddItem(1003, 0);
+ list2.AddItem(1004, 0);
+ list.RemoveList(list2);
+ print(" RemoveList({1003, 1004}):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list2.AddItem(1005, 0);
+ list.KeepList(list2);
+ print(" KeepList({1003, 1004, 1005}):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list2.Clear();
+ for (local i = 4000; i < 4003; i++) {
+ list2.AddItem(i, i * 2);
+ }
+ list2.AddItem(1005, 1005);
+ list.AddList(list2);
+ print(" AddList({1005, 4000, 4001, 4002}):");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list[4000] = 50;
+ list[4006] = 12;
+
+ print(" foreach():");
+ foreach (idx, val in list) {
+ print(" " + idx + " => " + val);
+ }
+ print(" []:");
+ print(" 4000 => " + list[4000]);
+
+ list.Clear();
+ print(" IsEmpty(): " + list.IsEmpty());
+}
+
+function Regression::Map()
+{
+ print("");
+ print("--Map--");
+ print(" GetMapSize(): " + AIMap.GetMapSize());
+ print(" GetMapSizeX(): " + AIMap.GetMapSizeX());
+ print(" GetMapSizeY(): " + AIMap.GetMapSizeY());
+ print(" GetTileX(123): " + AIMap.GetTileX(123));
+ print(" GetTileY(123): " + AIMap.GetTileY(123));
+ print(" GetTileIndex(): " + AIMap.GetTileIndex(123, 0));
+ print(" GetTileIndex(): " + AIMap.GetTileIndex(0, 123));
+ print(" GetTileIndex(): " + AIMap.GetTileIndex(0, 0));
+ print(" GetTileIndex(): " + AIMap.GetTileIndex(-1, -1));
+ print(" GetTileIndex(): " + AIMap.GetTileIndex(10000, 10000));
+ print(" IsValidTile(123): " + AIMap.IsValidTile(123));
+ print(" GetTileX(124): " + AIMap.GetTileX(124));
+ print(" GetTileY(124): " + AIMap.GetTileY(124));
+ print(" IsValidTile(124): " + AIMap.IsValidTile(124));
+ print(" IsValidTile(0): " + AIMap.IsValidTile(0));
+ print(" IsValidTile(-1): " + AIMap.IsValidTile(-1));
+ print(" IsValidTile(): " + AIMap.IsValidTile(AIMap.GetMapSize()));
+ print(" IsValidTile(): " + AIMap.IsValidTile(AIMap.GetMapSize() - AIMap.GetMapSizeX() - 2));
+ print(" DemolishTile(): " + AITile.DemolishTile(19592));
+ print(" DemolishTile(): " + AITile.DemolishTile(19335));
+ print(" Distance");
+ print(" DistanceManhattan(): " + AIMap.DistanceManhattan(1, 10000));
+ print(" DistanceMax(): " + AIMap.DistanceMax(1, 10000));
+ print(" DistanceSquare(): " + AIMap.DistanceSquare(1, 10000));
+ print(" DistanceFromEdge(): " + AIMap.DistanceFromEdge(10000));
+}
+
+function Regression::Marine()
+{
+ print("");
+ print("--AIMarine--");
+
+ print(" IsWaterDepotTile(): " + AIMarine.IsWaterDepotTile(32116));
+ print(" IsDockTile(): " + AIMarine.IsDockTile(32116));
+ print(" IsBuoyTile(): " + AIMarine.IsBuoyTile(32116));
+ print(" IsLockTile(): " + AIMarine.IsLockTile(32116));
+ print(" IsCanalTile(): " + AIMarine.IsCanalTile(32116));
+
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+ print(" BuildWaterDepot(): " + AIMarine.BuildWaterDepot(28479, false));
+ print(" BuildDock(): " + AIMarine.BuildDock(29253, true));
+ print(" BuildBuoy(): " + AIMarine.BuildBuoy(28481));
+ print(" BuildLock(): " + AIMarine.BuildLock(28487));
+ print(" HasTransportType(): " + AITile.HasTransportType(32127, AITile.TRANSPORT_WATER));
+ print(" BuildCanal(): " + AIMarine.BuildCanal(32127));
+ print(" HasTransportType(): " + AITile.HasTransportType(32127, AITile.TRANSPORT_WATER));
+ print(" IsWaterDepotTile(): " + AIMarine.IsWaterDepotTile(28479));
+ print(" IsDockTile(): " + AIMarine.IsDockTile(29253));
+ print(" IsBuoyTile(): " + AIMarine.IsBuoyTile(28481));
+ print(" IsLockTile(): " + AIMarine.IsLockTile(28487));
+ print(" IsCanalTile(): " + AIMarine.IsCanalTile(32127));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+
+ print(" RemoveWaterDepot(): " + AIMarine.RemoveWaterDepot(28479));
+ print(" RemoveDock(): " + AIMarine.RemoveDock(29253));
+ print(" RemoveBuoy(): " + AIMarine.RemoveBuoy(28481));
+ print(" RemoveLock(): " + AIMarine.RemoveLock(28487));
+ print(" RemoveCanal(): " + AIMarine.RemoveCanal(32127));
+ print(" IsWaterDepotTile(): " + AIMarine.IsWaterDepotTile(28479));
+ print(" IsDockTile(): " + AIMarine.IsDockTile(29253));
+ print(" IsBuoyTile(): " + AIMarine.IsBuoyTile(28481));
+ print(" IsLockTile(): " + AIMarine.IsLockTile(28487));
+ print(" IsCanalTile(): " + AIMarine.IsCanalTile(32127));
+ print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.MY_COMPANY));
+
+ print(" BuildWaterDepot(): " + AIMarine.BuildWaterDepot(28479, false));
+ print(" BuildDock(): " + AIMarine.BuildDock(29253, true));
+}
+
+function Regression::Order()
+{
+ print("");
+ print("--Order--");
+ print(" GetOrderCount(): " + AIOrder.GetOrderCount(12));
+ print(" GetOrderDestination(): " + AIOrder.GetOrderDestination(12, 1));
+ print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33416, AIOrder.AIOF_TRANSFER));
+ print(" IsValidVehicleOrder(): " + AIOrder.IsValidVehicleOrder(12, 1));
+ print(" GetOrderFlags(): " + AIOrder.GetOrderFlags(12, 1));
+ print(" AppendOrder(): " + AIOrder.AppendOrder(12, 33416, AIOrder.AIOF_TRANSFER));
+ print(" InsertOrder(): " + AIOrder.InsertOrder(12, 0, 33416, AIOrder.AIOF_TRANSFER));
+ print(" GetOrderCount(): " + AIOrder.GetOrderCount(12));
+ print(" IsValidVehicleOrder(): " + AIOrder.IsValidVehicleOrder(12, 1));
+ print(" RemoveOrder(): " + AIOrder.RemoveOrder(12, 0));
+ print(" ChangeOrder(): " + AIOrder.ChangeOrder(12, 0, AIOrder.AIOF_FULL_LOAD));
+ print(" GetOrderDestination(): " + AIOrder.GetOrderDestination(12, 0));
+ print(" CopyOrders(): " + AIOrder.CopyOrders(12, 1));
+ print(" CopyOrders(): " + AIOrder.CopyOrders(13, 12));
+ print(" ShareOrders(): " + AIOrder.ShareOrders(13, 1));
+ print(" ShareOrders(): " + AIOrder.ShareOrders(13, 12));
+ print(" UnshareOrders(): " + AIOrder.UnshareOrders(13));
+ print(" AppendOrder(): " + AIOrder.AppendOrder(12, 33421, AIOrder.AIOF_NONE));
+
+ local list = AIStationList_Vehicle(12);
+
+ print("");
+ print("--StationList_Vehicle--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIStation.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetCargoWaiting, 0);
+ print(" CargoWaiting(0) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetCargoWaiting, 1);
+ print(" CargoWaiting(1) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetCargoRating, 1);
+ print(" CargoRating(1) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetDistanceManhattanToTile, 30000);
+ print(" DistanceManhattanToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetDistanceSquareToTile, 30000);
+ print(" DistanceSquareToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.IsWithinTownInfluence, 0);
+ print(" IsWithinTownInfluence(0) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AIVehicleList_Station(3);
+
+ print("");
+ print("--VehicleList_Station--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIVehicle.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ print(" foreach():");
+ foreach (idx, val in list) {
+ print(" " + idx + " => " + val);
+ }
+}
+
+function Regression::Pathfinder()
+{
+ print("");
+ print("--PathFinder--");
+ print(" Road Between Towns:");
+
+ local pathfinder = RPF();
+
+ local path = false;
+ pathfinder.InitializePath([AITown.GetLocation(0)], [AITown.GetLocation(1)]);
+ while (path == false) path = pathfinder.FindPath(1000);
+
+ while (path != null) {
+ print(" Tile " + path.GetTile());
+ path = path.GetParent();
+ }
+}
+
+function Regression::QueueTest(queue)
+{
+ print(" Count(): " + queue.Count());
+ print(" Peek(): " + queue.Peek());
+ print(" Pop(): " + queue.Pop());
+ queue.Insert(6, 20);
+ queue.Insert(7, 40);
+ queue.Insert(2, 10);
+ queue.Insert(5, 15);
+ queue.Insert(8, 60);
+ queue.Insert(1, 5);
+ queue.Insert(3, 10);
+ queue.Insert(9, 90);
+ queue.Insert(4, 10);
+ print(" Count(): " + queue.Count());
+ print(" Peek(): " + queue.Peek());
+ for (local i = 4; i > 0; i--) {
+ print(" Pop(): " + queue.Pop());
+ }
+ queue.Insert(1, 5);
+ queue.Insert(10, 100);
+ for (local i = queue.Count(); i > 0; i--) {
+ print(" Pop(): " + queue.Pop());
+ }
+ print(" Peek(): " + queue.Peek());
+ print(" Pop(): " + queue.Pop());
+ print(" Count(): " + queue.Count());
+}
+
+function Regression::Queues()
+{
+ print("");
+ print("--PriorityQueue--");
+ QueueTest(PQ());
+ print("");
+ print("--BinaryHeap--");
+ QueueTest(BH());
+ print("");
+ print("--FibonacciHeap--");
+ QueueTest(FH());
+}
+
+function Regression::RailTypeList()
+{
+ local list = AIRailTypeList();
+
+ print("");
+ print("--RailTypeList--");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" RailType: " + i);
+ print(" IsRailTypeAvailable(): " + AIRail.IsRailTypeAvailable(i));
+ }
+}
+
+function Regression::Rail()
+{
+ AIRail.SetCurrentRailType(0);
+
+ print("");
+ print("--Rail--");
+ print(" IsRailTile(): " + AIRail.IsRailTile(10002));
+ print(" BuildRailTrack(): " + AIRail.BuildRailTrack(10002, AIRail.RAILTRACK_NW_SE));
+ print(" BuildSignal(): " + AIRail.BuildSignal(10002, 10258, AIRail.SIGNALTYPE_PBS));
+ print(" RemoveRailTrack(): " + AIRail.RemoveRailTrack(10002, AIRail.RAILTRACK_NW_NE));
+ print(" RemoveRailTrack(): " + AIRail.RemoveRailTrack(10002, AIRail.RAILTRACK_NW_SE));
+ print(" BuildRail(): " + AIRail.BuildRail(10002, 10003, 10006));
+ print(" HasTransportType(): " + AITile.HasTransportType(10005, AITile.TRANSPORT_RAIL));
+ print(" HasTransportType(): " + AITile.HasTransportType(10006, AITile.TRANSPORT_RAIL));
+ print(" RemoveRail(): " + AIRail.RemoveRail(10005, 10004, 10001));
+
+ print(" Depot");
+ print(" IsRailTile(): " + AIRail.IsRailTile(33411));
+ print(" BuildRailDepot(): " + AIRail.BuildRailDepot(0, 1));
+ print(" BuildRailDepot(): " + AIRail.BuildRailDepot(33411, 33411));
+ print(" BuildRailDepot(): " + AIRail.BuildRailDepot(33411, 33414));
+ print(" BuildRailDepot(): " + AIRail.BuildRailDepot(33411, 33412));
+ print(" GetRailDepotFrontTile(): " + AIRail.GetRailDepotFrontTile(33411));
+ print(" IsBuildable(): " + AITile.IsBuildable(33411));
+ local list = AIDepotList(AITile.TRANSPORT_RAIL);
+ print(" DepotList");
+ print(" Count(): " + list.Count());
+ list.Valuate(AITile.GetDistanceManhattanToTile, 0);
+ print(" Depot distance from (0,0) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ print(" RemoveDepot(): " + AITile.DemolishTile(33411));
+
+ print(" Station");
+ print(" BuildRailStation(): " + AIRail.BuildRailStation(0, AIRail.RAILTRACK_NE_SW, 1, 1, false));
+ print(" BuildRailStation(): " + AIRail.BuildRailStation(7958, AIRail.RAILTRACK_NE_SW, 4, 5, false));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7957));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7958));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7959));
+ print(" RemoveRailStationTileRect(): " + AIRail.RemoveRailStationTileRect(7959, 7959));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7957));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7958));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7959));
+ print(" DemolishTile(): " + AITile.DemolishTile(7960));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7957));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7958));
+ print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7959));
+}
+
+function Regression::Road()
+{
+ print("");
+ print("--Road--");
+ print(" Road");
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33411));
+ print(" BuildRoad(): " + AIRoad.BuildRoad(0, 1));
+ print(" BuildRoad(): " + AIRoad.BuildRoad(33411, 33411));
+ print(" HasTransportType(): " + AITile.HasTransportType(33413, AITile.TRANSPORT_ROAD));
+ print(" BuildRoad(): " + AIRoad.BuildRoad(33411, 33414));
+ print(" HasTransportType(): " + AITile.HasTransportType(33413, AITile.TRANSPORT_ROAD));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33412, 33413));
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33411));
+ print(" HasRoadType(Road): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_ROAD));
+ print(" HasRoadType(Tram): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_TRAM));
+ print(" GetNeighbourRoadCount(): " + AIRoad.GetNeighbourRoadCount(33412));
+ print(" RemoveRoad(): " + AIRoad.RemoveRoad(33411, 33411));
+ print(" RemoveRoad(): " + AIRoad.RemoveRoad(33411, 33412));
+ print(" RemoveRoad(): " + AIRoad.RemoveRoad(19590, 19590));
+ print(" RemoveRoad(): " + AIRoad.RemoveRoad(33411, 33414));
+ print(" BuildOneWayRoad(): " + AIRoad.BuildOneWayRoad(33411, 33414));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33412, 33413));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33413, 33412));
+ print(" BuildOneWayRoad(): " + AIRoad.BuildOneWayRoad(33413, 33412));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33412, 33413));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33413, 33412));
+ print(" BuildOneWayRoad(): " + AIRoad.BuildOneWayRoad(33412, 33413));
+ print(" BuildOneWayRoad(): " + AIRoad.BuildOneWayRoad(33413, 33412));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33412, 33413));
+ print(" AreRoadTilesConnected(): " + AIRoad.AreRoadTilesConnected(33413, 33412));
+ print(" RemoveRoad(): " + AIRoad.RemoveRoad(33411, 33412));
+ print(" IsRoadTypeAvailable(Road): " + AIRoad.IsRoadTypeAvailable(AIRoad.ROADTYPE_ROAD));
+ print(" IsRoadTypeAvailable(Tram): " + AIRoad.IsRoadTypeAvailable(AIRoad.ROADTYPE_TRAM));
+ print(" SetCurrentRoadType(Tram): " + AIRoad.SetCurrentRoadType(AIRoad.ROADTYPE_TRAM));
+ print(" GetCurrentRoadType(): " + AIRoad.GetCurrentRoadType());
+
+ print(" Depot");
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33411));
+ print(" BuildRoadDepot(): " + AIRoad.BuildRoadDepot(0, 1));
+ print(" BuildRoadDepot(): " + AIRoad.BuildRoadDepot(33411, 33411));
+ print(" BuildRoadDepot(): " + AIRoad.BuildRoadDepot(33411, 33414));
+ print(" BuildRoadDepot(): " + AIRoad.BuildRoadDepot(33411, 33412));
+ print(" HasRoadType(Road): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_ROAD));
+ print(" HasRoadType(Tram): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_TRAM));
+ print(" GetLastError(): " + AIError.GetLastError());
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" GetErrorCategory(): " + AIError.GetErrorCategory());
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33411));
+ print(" GetRoadDepotFrontTile(): " + AIRoad.GetRoadDepotFrontTile(33411));
+ print(" IsRoadDepotTile(): " + AIRoad.IsRoadDepotTile(33411));
+ print(" IsBuildable(): " + AITile.IsBuildable(33411));
+ local list = AIDepotList(AITile.TRANSPORT_ROAD);
+ print(" DepotList");
+ print(" Count(): " + list.Count());
+ list.Valuate(AITile.GetDistanceManhattanToTile, 0);
+ print(" Depot distance from (0,0) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ print(" RemoveRoadDepot(): " + AIRoad.RemoveRoadDepot(33411));
+ print(" RemoveRoadDepot(): " + AIRoad.RemoveRoadDepot(33411));
+
+ print(" Station");
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33411));
+ print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(0, 1, false, false, true));
+ print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(33411, 33411, false, false, true));
+ print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(33411, 33414, false, false, true));
+ print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(33411, 33412, false, false, true));
+ print(" IsStationTile(): " + AITile.IsStationTile(33411));
+ print(" IsStationTile(): " + AITile.IsStationTile(33412));
+ print(" HasRoadType(Road): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_ROAD));
+ print(" HasRoadType(Tram): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_TRAM));
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33411));
+ print(" GetDriveThroughBackTile(): " + AIRoad.GetDriveThroughBackTile(33411));
+ print(" GetRoadStationFrontTile(): " + AIRoad.GetRoadStationFrontTile(33411));
+ print(" IsRoadStationTile(): " + AIRoad.IsRoadStationTile(33411));
+ print(" IsDriveThroughRoadStationTile: " + AIRoad.IsDriveThroughRoadStationTile(33411));
+ print(" RemoveRoadStation(): " + AIRoad.RemoveRoadStation(33411));
+ print(" RemoveRoadStation(): " + AIRoad.RemoveRoadStation(33411));
+
+ print(" Station Types");
+ print(" BuildRoadStation(bus): " + AIRoad.BuildRoadStation(33411, 33410, false, false, true));
+ print(" BuildRoadStation(truck): " + AIRoad.BuildRoadStation(33421, 33422, true, false, true));
+ print(" BuildRoadStation(truck): " + AIRoad.BuildRoadStation(33412, 33413, true, false, true));
+ print(" BuildRoadStation(bus): " + AIRoad.BuildRoadStation(33411 + 256, 33411, false, false, true));
+ print(" BuildRoadStation(truck): " + AIRoad.BuildRoadStation(33412 + 256, 33412 + 256 + 256, true, false, true));
+ print(" BuildRoadStation(bus-drive): " + AIRoad.BuildRoadStation(33413, 33412, false, true, true));
+ print(" BuildRoadStation(truck-drive): " + AIRoad.BuildRoadStation(33414, 33413, true, true, true));
+ print(" BuildRoadStation(bus-drive): " + AIRoad.BuildRoadStation(33415, 33414, false, true, true));
+ print(" BuildRoadStation(truck-drive): " + AIRoad.BuildRoadStation(33416, 33415, true, true, true));
+ print(" BuildRoadDepot(): " + AIRoad.BuildRoadDepot(33417, 33418));
+ print(" GetRoadStationFrontTile(): " + AIRoad.GetRoadStationFrontTile(33411 + 256));
+ print(" GetRoadStationFrontTile(): " + AIRoad.GetRoadStationFrontTile(33412 + 256));
+ print(" IsDriveThroughRoadStationTile: " + AIRoad.IsDriveThroughRoadStationTile(33415));
+ print(" IsBuildable(): " + AITile.IsBuildable(33415));
+ print(" GetDriveThroughBackTile(): " + AIRoad.GetDriveThroughBackTile(33415));
+ print(" GetRoadStationFrontTile(): " + AIRoad.GetRoadStationFrontTile(33415));
+ print(" IsRoadTile(): " + AIRoad.IsRoadTile(33415));
+}
+
+function Regression::Sign()
+{
+ local j = 0;
+
+ print("");
+ print("--Sign--");
+ print(" BuildSign(33410, 'Some Sign'): " + AISign.BuildSign(33410, "Some Sign"));
+ print(" BuildSign(33411, 'Test'): " + AISign.BuildSign(33411, "Test"));
+ print(" SetName(1, 'Test2'): " + AISign.SetName(1, "Test2"));
+ local sign_id = AISign.BuildSign(33409, "Some other Sign");
+ print(" BuildSign(33409, 'Some other Sign'): " + sign_id);
+ print(" RemoveSign(" + sign_id + "): " + AISign.RemoveSign(sign_id));
+ print("");
+ print(" GetMaxSignID(): " + AISign.GetMaxSignID());
+ for (local i = -1; i < AISign.GetMaxSignID() + 1; i++) {
+ if (AISign.IsValidSign(i)) j++;
+ print(" Sign " + i);
+ print(" IsValidSign(): " + AISign.IsValidSign(i));
+ print(" GetName(): " + AISign.GetName(i));
+ print(" GetLocation(): " + AISign.GetLocation(i));
+ }
+ print(" Valid Signs: " + j);
+}
+
+function Regression::Station()
+{
+ print("");
+ print("--Station--");
+ print(" IsValidStation(0): " + AIStation.IsValidStation(0));
+ print(" IsValidStation(1000): " + AIStation.IsValidStation(1000));
+ print(" GetName(0): " + AIStation.GetName(0));
+ print(" SetName(0): " + AIStation.SetName(0, "Look, a station"));
+ print(" GetName(0): " + AIStation.GetName(0));
+ print(" GetLocation(1): " + AIStation.GetLocation(1));
+ print(" GetLocation(1000): " + AIStation.GetLocation(1000));
+ print(" GetStationID(33411): " + AIStation.GetStationID(33411));
+ print(" GetStationID(34411): " + AIStation.GetStationID(34411));
+ print(" GetCargoWaiting(0, 0): " + AIStation.GetCargoWaiting(0, 0));
+ print(" GetCargoWaiting(1000, 0): " + AIStation.GetCargoWaiting(1000, 0));
+ print(" GetCargoWaiting(0, 1000): " + AIStation.GetCargoWaiting(0, 1000));
+
+ print(" GetStationID(33411): " + AIStation.GetStationID(33411));
+ print(" HasRoadType(3, TRAM): " + AIStation.HasRoadType(3, AIRoad.ROADTYPE_TRAM));
+ print(" HasRoadType(3, ROAD): " + AIStation.HasRoadType(3, AIRoad.ROADTYPE_ROAD));
+ print(" HasRoadType(33411, TRAM): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_TRAM));
+ print(" HasRoadType(33411, ROAD): " + AIRoad.HasRoadType(33411, AIRoad.ROADTYPE_ROAD));
+ print(" HasStationType(3, BUS): " + AIStation.HasStationType(3, AIStation.STATION_BUS_STOP));
+ print(" HasStationType(3, TRAIN): " + AIStation.HasStationType(3, AIStation.STATION_TRAIN));
+
+ print(" GetCoverageRadius(BUS): " + AIStation.GetCoverageRadius(AIStation.STATION_BUS_STOP));
+ print(" GetCoverageRadius(TRUCK): " + AIStation.GetCoverageRadius(AIStation.STATION_TRUCK_STOP));
+ print(" GetCoverageRadius(TRAIN): " + AIStation.GetCoverageRadius(AIStation.STATION_TRAIN));
+
+ print(" GetNearestTown(): " + AIStation.GetNearestTown(0));
+ print(" GetNearestTown(): " + AIStation.GetNearestTown(10000));
+ print(" GetNearestTown(): " + AIStation.GetNearestTown(3));
+
+ local list = AIStationList(AIStation.STATION_BUS_STOP + AIStation.STATION_TRUCK_STOP);
+
+ print("");
+ print("--StationList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIStation.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetCargoWaiting, 0);
+ print(" CargoWaiting(0) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIStation.GetCargoWaiting, 1);
+ print(" CargoWaiting(1) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+}
+
+function Regression::Tile()
+{
+ print("");
+ print("--Tile--");
+ print(" HasTreeOnTile(): " + AITile.HasTreeOnTile(33148));
+ print(" IsFarmTile(): " + AITile.IsFarmTile(32892));
+ print(" IsRockTile(): " + AITile.IsRockTile(31606));
+ print(" IsRoughTile(): " + AITile.IsRoughTile(33674));
+ print(" HasTreeOnTile(): " + AITile.HasTreeOnTile(33404));
+ print(" IsFarmTile(): " + AITile.IsFarmTile(33404));
+ print(" IsRockTile(): " + AITile.IsRockTile(33404));
+ print(" IsRoughTile(): " + AITile.IsRoughTile(33404));
+ print(" IsSnowTile(): " + AITile.IsSnowTile(33404));
+ print(" IsDesertTile(): " + AITile.IsDesertTile(33404));
+ print(" PlantTree(): " + AITile.PlantTree(33404));
+ print(" HasTreeOnTile(): " + AITile.HasTreeOnTile(33404));
+ print(" PlantTree(): " + AITile.PlantTree(33404));
+ print(" HasTreeOnTile(): " + AITile.HasTreeOnTile(33661));
+ print(" PlantTreeRectangle(): " + AITile.PlantTreeRectangle(33404, 2, 2));
+ print(" HasTreeOnTile(): " + AITile.HasTreeOnTile(33661));
+}
+
+function Regression::TileList()
+{
+ local list = AITileList();
+
+ print("");
+ print("--TileList--");
+ print(" Count(): " + list.Count());
+ list.AddRectangle(27631 - 256 * 1, 256 * 1 + 27631 + 2);
+ print(" Count(): " + list.Count());
+
+ list.Valuate(AITile.GetSlope);
+ print(" Slope(): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ print(" " + i + " => " + AITile.GetComplementSlope(list.GetValue(i)));
+ print(" " + i + " => " + AITile.IsSteepSlope(list.GetValue(i)));
+ print(" " + i + " => " + AITile.IsHalftileSlope(list.GetValue(i)));
+ }
+ list.Clear();
+
+ print("");
+ print("--TileList--");
+ print(" Count(): " + list.Count());
+ list.AddRectangle(41895 - 256 * 2, 256 * 2 + 41895 + 8);
+ print(" Count(): " + list.Count());
+
+ list.Valuate(AITile.GetHeight);
+ print(" Height(): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.Valuate(AITile.GetSlope);
+ list.KeepValue(0);
+ print(" Slope(): done");
+ print(" KeepValue(0): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.Valuate(AITile.IsBuildable);
+ list.KeepValue(1);
+ print(" Buildable(): done");
+ print(" KeepValue(1): done");
+ print(" Count(): " + list.Count());
+
+ list.Valuate(AITile.IsBuildableRectangle, 3, 3);
+ print(" BuildableRectangle(3, 3) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITile.GetDistanceManhattanToTile, 30000);
+ print(" DistanceManhattanToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITile.GetDistanceSquareToTile, 30000);
+ print(" DistanceSquareToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITile.GetOwner);
+ print(" GetOwner() ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITile.GetClosestTown);
+ print(" GetClosestTown() ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.Valuate(AITile.GetCargoAcceptance, 0, 1, 1, 3);
+ list.KeepAboveValue(10);
+ print(" CargoAcceptance(): done");
+ print(" KeepAboveValue(10): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.Valuate(AIRoad.IsRoadTile);
+ list.KeepValue(1);
+ print(" RoadTile(): done");
+ print(" KeepValue(1): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.Valuate(AIRoad.GetNeighbourRoadCount);
+ list.KeepValue(1);
+ print(" NeighbourRoadCount():done");
+ print(" KeepValue(1): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list.AddRectangle(54421 - 256 * 2, 256 * 2 + 54421 + 8);
+ list.Valuate(AITile.IsWaterTile);
+ print(" Water(): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AITileList_IndustryAccepting(0, 3);
+ print("");
+ print("--TileList_IndustryAccepting--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AITile.GetCargoAcceptance, 3, 1, 1, 3);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AITileList_IndustryProducing(1, 3);
+ print("");
+ print("--TileList_IndustryProducing--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AITile.GetCargoProduction, 7, 1, 1, 3);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ list = AITileList_StationType(4, AIStation.STATION_BUS_STOP);
+ print("");
+ print("--TileList_StationType--");
+ print(" Count(): " + list.Count());
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+}
+
+function Regression::Town()
+{
+ local j = 0;
+
+ print("");
+ print("--Town--");
+ print(" GetMaxTownID(): " + AITown.GetMaxTownID());
+ print(" GetTownCount(): " + AITown.GetTownCount());
+ for (local i = -1; i < AITown.GetMaxTownID() + 1; i++) {
+ if (AITown.IsValidTown(i)) j++;
+ print(" Town " + i);
+ print(" IsValidTown(): " + AITown.IsValidTown(i));
+ print(" GetName(): " + AITown.GetName(i));
+ print(" GetPopulation(): " + AITown.GetPopulation(i));
+ print(" GetLocation(): " + AITown.GetLocation(i));
+ print(" GetHouseCount(): " + AITown.GetHouseCount(i));
+ print(" GetRating(): " + AITown.GetRating(i, AICompany.MY_COMPANY));
+ }
+ print(" Valid Towns: " + j);
+ print(" GetTownCount(): " + AITown.GetTownCount());
+}
+
+function Regression::TownList()
+{
+ local list = AITownList();
+
+ print("");
+ print("--TownList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AITown.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITown.GetDistanceManhattanToTile, 30000);
+ print(" DistanceManhattanToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITown.GetDistanceSquareToTile, 30000);
+ print(" DistanceSquareToTile(30000) ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITown.IsWithinTownInfluence, AITown.GetLocation(0));
+ print(" IsWithinTownInfluence(" + AITown.GetLocation(0) + ") ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITown.GetAllowedNoise);
+ print(" GetAllowedNoise() ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AITown.GetPopulation);
+ list.KeepAboveValue(500);
+ print(" KeepAboveValue(500): done");
+ print(" Count(): " + list.Count());
+ print(" Population ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+
+ print(" HasStatue(): " + AITown.HasStatue(list.Begin()));
+ print(" GetRoadReworkDuration(): " + AITown.GetRoadReworkDuration(list.Begin()));
+ print(" GetExclusiveRightsCompany(): " + AITown.GetExclusiveRightsCompany(list.Begin()));
+ print(" GetExclusiveRightsDuration(): " + AITown.GetExclusiveRightsDuration(list.Begin()));
+ print(" IsActionAvailable(BUILD_STATUE): " + AITown.IsActionAvailable(list.Begin(), AITown.TOWN_ACTION_BUILD_STATUE));
+ print(" PerformTownAction(BUILD_STATUE): " + AITown.PerformTownAction(list.Begin(), AITown.TOWN_ACTION_BUILD_STATUE));
+ print(" IsActionAvailable(BUILD_STATUE): " + AITown.IsActionAvailable(list.Begin(), AITown.TOWN_ACTION_BUILD_STATUE));
+ print(" HasStatue(): " + AITown.HasStatue(list.Begin()));
+}
+
+function Regression::Tunnel()
+{
+ print("");
+ print("--Tunnel--");
+ print(" IsTunnelTile(): " + AITunnel.IsTunnelTile(29050));
+ print(" RemoveTunnel(): " + AITunnel.RemoveTunnel(29050));
+ print(" GetOtherTunnelEnd(): " + AITunnel.GetOtherTunnelEnd(29050));
+ print(" BuildTunnel(): " + AITunnel.BuildTunnel(AIVehicle.VEHICLE_ROAD, 29050));
+ print(" GetOtherTunnelEnd(): " + AITunnel.GetOtherTunnelEnd(29050));
+ print(" IsTunnelTile(): " + AITunnel.IsTunnelTile(29050));
+ print(" IsTunnelTile(): " + AITunnel.IsTunnelTile(28026));
+ print(" RemoveTunnel(): " + AITunnel.RemoveTunnel(29050));
+ print(" IsTunnelTile(): " + AITunnel.IsTunnelTile(29050));
+
+ print(" --Errors--");
+ print(" BuildTunnel(): " + AITunnel.BuildTunnel(AIVehicle.VEHICLE_ROAD, 7529));
+ print(" BuildTunnel(): " + AITunnel.BuildTunnel(AIVehicle.VEHICLE_ROAD, 8043));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" RemoveTunnel(): " + AITunnel.RemoveTunnel(7529));
+}
+
+function Regression::Vehicle()
+{
+ local accounting = AIAccounting();
+
+ print("");
+ print("--Vehicle--");
+ print(" IsValidVehicle(-1): " + AIVehicle.IsValidVehicle(-1));
+ print(" IsValidVehicle(0): " + AIVehicle.IsValidVehicle(0));
+ print(" IsValidVehicle(12): " + AIVehicle.IsValidVehicle(12));
+ print(" ISValidVehicle(9999): " + AIVehicle.IsValidVehicle(9999));
+
+ local bank = AICompany.GetBankBalance(AICompany.MY_COMPANY);
+
+ print(" BuildVehicle(): " + AIVehicle.BuildVehicle(33417, 153));
+ print(" IsValidVehicle(12): " + AIVehicle.IsValidVehicle(12));
+ print(" CloneVehicle(): " + AIVehicle.CloneVehicle(33417, 12, true));
+
+ local bank_after = AICompany.GetBankBalance(AICompany.MY_COMPANY);
+
+ print(" --Accounting--");
+ print(" GetCosts(): " + accounting.GetCosts());
+ print(" Should be: " + (bank - bank_after));
+ print(" ResetCosts(): " + accounting.ResetCosts());
+
+ bank = AICompany.GetBankBalance(AICompany.MY_COMPANY);
+
+ print(" SellVehicle(13): " + AIVehicle.SellVehicle(13));
+ print(" IsInDepot(): " + AIVehicle.IsInDepot(12));
+ print(" IsStoppedInDepot(): " + AIVehicle.IsStoppedInDepot(12));
+ print(" StartStopVehicle(): " + AIVehicle.StartStopVehicle(12));
+ print(" IsInDepot(): " + AIVehicle.IsInDepot(12));
+ print(" IsStoppedInDepot(): " + AIVehicle.IsStoppedInDepot(12));
+ print(" SendVehicleToDepot(): " + AIVehicle.SendVehicleToDepot(12));
+ print(" IsInDepot(): " + AIVehicle.IsInDepot(12));
+ print(" IsStoppedInDepot(): " + AIVehicle.IsStoppedInDepot(12));
+
+ bank_after = AICompany.GetBankBalance(AICompany.MY_COMPANY);
+
+ print(" --Accounting--");
+ print(" GetCosts(): " + accounting.GetCosts());
+ print(" Should be: " + (bank - bank_after));
+
+ print(" GetName(): " + AIVehicle.GetName(12));
+ print(" SetName(): " + AIVehicle.SetName(12, "MyVehicleName"));
+ print(" GetName(): " + AIVehicle.GetName(12));
+ print(" CloneVehicle(): " + AIVehicle.CloneVehicle(33417, 12, true));
+
+ print(" --VehicleData--");
+ print(" GetLocation(): " + AIVehicle.GetLocation(12));
+ print(" GetEngineType(): " + AIVehicle.GetEngineType(12));
+ print(" GetUnitNumber(): " + AIVehicle.GetUnitNumber(12));
+ print(" GetAge(): " + AIVehicle.GetAge(12));
+ print(" GetMaxAge(): " + AIVehicle.GetMaxAge(12));
+ print(" GetAgeLeft(): " + AIVehicle.GetAgeLeft(12));
+ print(" GetCurrentSpeed(): " + AIVehicle.GetCurrentSpeed(12));
+ print(" GetRunningCost(): " + AIVehicle.GetRunningCost(12));
+ print(" GetProfitThisYear(): " + AIVehicle.GetProfitThisYear(12));
+ print(" GetProfitLastYear(): " + AIVehicle.GetProfitLastYear(12));
+ print(" GetCurrentValue(): " + AIVehicle.GetCurrentValue(12));
+ print(" GetVehicleType(): " + AIVehicle.GetVehicleType(12));
+ print(" GetRoadType(): " + AIVehicle.GetRoadType(12));
+ print(" GetCapacity(): " + AIVehicle.GetCapacity(12, 10));
+ print(" GetCargoLoad(): " + AIVehicle.GetCargoLoad(12, 10));
+ print(" IsInDepot(): " + AIVehicle.IsInDepot(12));
+ print(" GetNumWagons(): " + AIVehicle.GetNumWagons(12));
+ print(" GetWagonEngineType(): " + AIVehicle.GetWagonEngineType(12, 0));
+ print(" GetWagonAge(): " + AIVehicle.GetWagonAge(12, 0));
+ print(" GetLength(): " + AIVehicle.GetLength(12));
+
+ print(" GetOwner(): " + AITile.GetOwner(32119));
+ print(" BuildVehicle(): " + AIVehicle.BuildVehicle(32119, 219));
+ print(" IsValidVehicle(14): " + AIVehicle.IsValidVehicle(14));
+ print(" IsInDepot(14): " + AIVehicle.IsInDepot(14));
+ print(" IsStoppedInDepot(14): " + AIVehicle.IsStoppedInDepot(14));
+ print(" IsValidVehicle(15): " + AIVehicle.IsValidVehicle(15));
+ print(" IsInDepot(15): " + AIVehicle.IsInDepot(15));
+ print(" IsStoppedInDepot(15): " + AIVehicle.IsStoppedInDepot(15));
+
+ print(" BuildVehicle(): " + AIVehicle.BuildVehicle(28479, 204));
+ print(" IsValidVehicle(16): " + AIVehicle.IsValidVehicle(16));
+ print(" IsInDepot(16): " + AIVehicle.IsInDepot(16));
+ print(" IsStoppedInDepot(16): " + AIVehicle.IsStoppedInDepot(16));
+
+ print(" BuildRailDepot(): " + AIRail.BuildRailDepot(10008, 10000));
+ print(" BuildVehicle(): " + AIVehicle.BuildVehicle(10008, 9));
+ print(" BuildVehicle(): " + AIVehicle.BuildVehicle(10008, 27));
+ print(" BuildVehicle(): " + AIVehicle.BuildVehicle(10008, 27));
+ print(" MoveWagon(): " + AIVehicle.MoveWagon(18, 0, true, 17, 0));
+ print(" GetNumWagons(): " + AIVehicle.GetNumWagons(17));
+ print(" GetLength(): " + AIVehicle.GetLength(17));
+ print(" GetWagonEngineType(): " + AIVehicle.GetWagonEngineType(17, 0));
+ print(" GetWagonAge(): " + AIVehicle.GetWagonAge(17, 0));
+ print(" GetWagonEngineType(): " + AIVehicle.GetWagonEngineType(17, 1));
+ print(" GetWagonAge(): " + AIVehicle.GetWagonAge(17, 1));
+ print(" GetWagonEngineType(): " + AIVehicle.GetWagonEngineType(17 2));
+ print(" GetWagonAge(): " + AIVehicle.GetWagonAge(17, 2));
+ print(" GetWagonEngineType(): " + AIVehicle.GetWagonEngineType(17 3));
+ print(" GetWagonAge(): " + AIVehicle.GetWagonAge(17, 3));
+
+ print(" --Errors--");
+ print(" RefitVehicle(): " + AIVehicle.RefitVehicle(12, 0));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" SellVehicle(): " + AIVehicle.SellVehicle(12));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+ print(" SendVehicleToDepot(): " + AIVehicle.SendVehicleToDepot(13));
+ print(" GetLastErrorString(): " + AIError.GetLastErrorString());
+
+ local list = AIVehicleList();
+
+ print("");
+ print("--VehicleList--");
+ print(" Count(): " + list.Count());
+ list.Valuate(AIVehicle.GetLocation);
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetEngineType);
+ print(" EngineType ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetUnitNumber);
+ print(" UnitNumber ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetAge);
+ print(" Age ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetMaxAge);
+ print(" MaxAge ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetAgeLeft);
+ print(" AgeLeft ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetCurrentSpeed);
+ print(" CurrentSpeed ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetRunningCost);
+ print(" RunningCost ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetProfitThisYear);
+ print(" ProfitThisYear ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetProfitLastYear);
+ print(" ProfitLastYear ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetCurrentValue);
+ print(" CurrentValue ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetVehicleType);
+ print(" VehicleType ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetRoadType);
+ print(" RoadType ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetCapacity, 10);
+ print(" VehicleType ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+ list.Valuate(AIVehicle.GetCargoLoad, 10);
+ print(" VehicleType ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ }
+}
+
+function Regression::PrintSubsidy(subsidy_id)
+{
+ print(" --Subsidy (" + subsidy_id + ") --");
+ print(" IsValidSubsidy(): " + AISubsidy.IsValidSubsidy(subsidy_id));
+ print(" IsAwarded(): " + AISubsidy.IsAwarded(subsidy_id));
+ print(" GetAwardedTo(): " + AISubsidy.GetAwardedTo(subsidy_id));
+ print(" GetExpireDate(): " + AISubsidy.GetExpireDate(subsidy_id));
+ print(" SourceIsTown(): " + AISubsidy.SourceIsTown(subsidy_id));
+ print(" GetSource(): " + AISubsidy.GetSource(subsidy_id));
+ print(" DestionationIsTown(): " + AISubsidy.DestinationIsTown(subsidy_id));
+ print(" GetDestionation(): " + AISubsidy.GetDestination(subsidy_id));
+ print(" GetCargoType(): " + AISubsidy.GetCargoType(subsidy_id));
+}
+
+
+function Regression::Start()
+{
+ this.TestInit();
+ this.Std();
+ this.Base();
+ this.List();
+ this.Airport();
+ this.Bridge();
+ this.BridgeList();
+ this.Cargo();
+ this.CargoList();
+ this.Company();
+ this.Engine();
+ this.EngineList();
+ this.Graph();
+ this.Group();
+ this.Industry();
+ this.IndustryList();
+ this.IndustryTypeList();
+ this.Map();
+ this.Marine();
+ this.Pathfinder();
+ this.Queues();
+ this.Rail();
+ this.RailTypeList();
+ this.Road();
+ this.Sign();
+ this.Station();
+ this.Tile();
+ this.TileList();
+ this.Town();
+ this.TownList();
+ this.Tunnel();
+ this.Vehicle();
+ /* Order has to be after Vehicle */
+ this.Order();
+ print("");
+ print(" First Subsidy Test");
+ PrintSubsidy(0);
+
+ while (AIEventController.IsEventWaiting()) {
+ local e = AIEventController.GetNextEvent();
+ print(" GetNextEvent: " + (e == null ? "null" : "instance"));
+ print(" GetEventType: " + e.GetEventType());
+ switch (e.GetEventType()) {
+ case AIEvent.AI_ET_SUBSIDY_OFFER: {
+ local c = AIEventSubsidyOffer.Convert(e);
+ print(" EventName: SubsidyOffer");
+ PrintSubsidy(c.GetSubsidyID());
+ } break;
+
+ case AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT: {
+ local c = AIEventVehicleWaitingInDepot.Convert(e);
+ print(" EventName: VehicleWaitingInDepot");
+ print(" VehicleID: " + c.GetVehicleID());
+ } break;
+
+ default:
+ print(" Unknown Event");
+ break;
+ }
+ }
+ print(" IsEventWaiting: false");
+}
+
diff --git a/bin/ai/regression/regression.sav b/bin/ai/regression/regression.sav
new file mode 100644
index 000000000..84a1cf6b7
--- /dev/null
+++ b/bin/ai/regression/regression.sav
Binary files differ
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
new file mode 100644
index 000000000..3a9bb0ffa
--- /dev/null
+++ b/bin/ai/regression/regression.txt
@@ -0,0 +1,7824 @@
+
+--TestInit--
+ TickTest: 1
+ TickTest: 2
+ SetCommandDelay: (null : 0x00000000)
+ IsValid(vehicle.plane_speed): true
+ vehicle.plane_speed: 2
+ Required this file
+ min(6, 3): 3
+ min(3, 6): 3
+ max(6, 3): 6
+ max(3, 6): 6
+ AIList Consistency Tests
+
+ Value Descending
+ 40
+ 25
+ 10
+
+ 40
+ 30
+ 20
+ 10
+ 40
+ 30
+ 20
+ 10
+
+ 40
+ 30
+ 20
+ 10
+
+ Value Ascending
+ 5
+ 20
+ 35
+
+ 10
+ 20
+ 30
+ 40
+ 10
+ 20
+ 30
+ 40
+
+ 10
+ 20
+ 30
+ 40
+
+ Item Descending
+ 40
+ 25
+ 10
+
+ 40
+ 30
+ 20
+ 10
+
+ 40
+ 30
+ 20
+ 10
+
+ Item Ascending
+ 5
+ 20
+ 35
+
+ 10
+ 20
+ 30
+ 40
+
+ 10
+ 20
+ 30
+ 40
+
+--Std--
+ abs(-21): 21
+ abs( 21): 21
+
+--AIBase--
+ Rand(): -394267821
+ Rand(): -1103663825
+ Rand(): 158728217
+ RandRange(0): 0
+ RandRange(0): 0
+ RandRange(0): 0
+ RandRange(1): 0
+ RandRange(1): 0
+ RandRange(1): 0
+ RandRange(2): 1
+ RandRange(2): 0
+ RandRange(2): 1
+ RandRange(9): 6
+ RandRange(9): 0
+ RandRange(9): 5
+ Chance(1, 2): true
+ Chance(1, 2): true
+ Chance(1, 2): false
+
+--List--
+ IsEmpty(): true
+ Count(): 101
+ HasItem(1050): false
+ HasItem(1051): true
+ IsEmpty(): false
+ List Dump:
+ 1 => 1
+ 2 => 2
+ 1000 => 1000
+ 1001 => 1001
+ 1002 => 1002
+ 1003 => 1003
+ 1004 => 1004
+ 1005 => 1005
+ 1006 => 1006
+ 1007 => 1007
+ 1008 => 1008
+ 1009 => 1009
+ 1010 => 1010
+ 1011 => 1011
+ 1012 => 1012
+ 1013 => 1013
+ 1014 => 1014
+ 1015 => 1015
+ 1016 => 1016
+ 1017 => 1017
+ 1018 => 1018
+ 1019 => 1019
+ 1020 => 1020
+ 1021 => 1021
+ 1022 => 1022
+ 1023 => 1023
+ 1024 => 1024
+ 1025 => 1025
+ 1026 => 1026
+ 1027 => 1027
+ 1028 => 1028
+ 1029 => 1029
+ 1030 => 1030
+ 1031 => 1031
+ 1032 => 1032
+ 1033 => 1033
+ 1034 => 1034
+ 1035 => 1035
+ 1036 => 1036
+ 1037 => 1037
+ 1038 => 1038
+ 1039 => 1039
+ 1040 => 1040
+ 1041 => 1041
+ 1042 => 1042
+ 1043 => 1043
+ 1044 => 1044
+ 1045 => 1045
+ 1046 => 1046
+ 1047 => 1047
+ 1048 => 1048
+ 1049 => 1049
+ 1051 => 12
+ 1052 => 1052
+ 1053 => 1053
+ 1054 => 1054
+ 1055 => 1055
+ 1056 => 1056
+ 1057 => 1057
+ 1058 => 1058
+ 1059 => 1059
+ 1060 => 1060
+ 1061 => 1061
+ 1062 => 1062
+ 1063 => 1063
+ 1064 => 1064
+ 1065 => 1065
+ 1066 => 1066
+ 1067 => 1067
+ 1068 => 1068
+ 1069 => 1069
+ 1070 => 1070
+ 1071 => 1071
+ 1072 => 1072
+ 1073 => 1073
+ 1074 => 1074
+ 1075 => 1075
+ 1076 => 1076
+ 1077 => 1077
+ 1078 => 1078
+ 1079 => 1079
+ 1080 => 1080
+ 1081 => 1081
+ 1082 => 1082
+ 1083 => 1083
+ 1084 => 1084
+ 1085 => 1085
+ 1086 => 1086
+ 1087 => 1087
+ 1088 => 1088
+ 1089 => 1089
+ 1090 => 1090
+ 1091 => 1091
+ 1092 => 1092
+ 1093 => 1093
+ 1094 => 1094
+ 1095 => 1095
+ 1096 => 1096
+ 1097 => 1097
+ 1098 => 1098
+ 1099 => 1099
+ Custom ListDump:
+ 1 => 4343
+ 2 => 8686
+ 1000 => 4343000
+ 1001 => 4347343
+ 1002 => 4351686
+ 1003 => 4356029
+ 1004 => 4360372
+ 1005 => 4364715
+ 1006 => 4369058
+ 1007 => 4373401
+ 1008 => 4377744
+ 1009 => 4382087
+ 1010 => 4386430
+ 1011 => 4390773
+ 1012 => 4395116
+ 1013 => 4399459
+ 1014 => 4403802
+ 1015 => 4408145
+ 1016 => 4412488
+ 1017 => 4416831
+ 1018 => 4421174
+ 1019 => 4425517
+ 1020 => 4429860
+ 1021 => 4434203
+ 1022 => 4438546
+ 1023 => 4442889
+ 1024 => 4447232
+ 1025 => 4451575
+ 1026 => 4455918
+ 1027 => 4460261
+ 1028 => 4464604
+ 1029 => 4468947
+ 1030 => 4473290
+ 1031 => 4477633
+ 1032 => 4481976
+ 1033 => 4486319
+ 1034 => 4490662
+ 1035 => 4495005
+ 1036 => 4499348
+ 1037 => 4503691
+ 1038 => 4508034
+ 1039 => 4512377
+ 1040 => 4516720
+ 1041 => 4521063
+ 1042 => 4525406
+ 1043 => 4529749
+ 1044 => 4534092
+ 1045 => 4538435
+ 1046 => 4542778
+ 1047 => 4547121
+ 1048 => 4551464
+ 1049 => 4555807
+ 1051 => 4564493
+ 1052 => 4568836
+ 1053 => 4573179
+ 1054 => 4577522
+ 1055 => 4581865
+ 1056 => 4586208
+ 1057 => 4590551
+ 1058 => 4594894
+ 1059 => 4599237
+ 1060 => 4603580
+ 1061 => 4607923
+ 1062 => 4612266
+ 1063 => 4616609
+ 1064 => 4620952
+ 1065 => 4625295
+ 1066 => 4629638
+ 1067 => 4633981
+ 1068 => 4638324
+ 1069 => 4642667
+ 1070 => 4647010
+ 1071 => 4651353
+ 1072 => 4655696
+ 1073 => 4660039
+ 1074 => 4664382
+ 1075 => 4668725
+ 1076 => 4673068
+ 1077 => 4677411
+ 1078 => 4681754
+ 1079 => 4686097
+ 1080 => 4690440
+ 1081 => 4694783
+ 1082 => 4699126
+ 1083 => 4703469
+ 1084 => 4707812
+ 1085 => 4712155
+ 1086 => 4716498
+ 1087 => 4720841
+ 1088 => 4725184
+ 1089 => 4729527
+ 1090 => 4733870
+ 1091 => 4738213
+ 1092 => 4742556
+ 1093 => 4746899
+ 1094 => 4751242
+ 1095 => 4755585
+ 1096 => 4759928
+ 1097 => 4764271
+ 1098 => 4768614
+ 1099 => 4772957
+ Custom ListDump:
+ 1 => 42
+ 2 => 84
+ 1000 => 42000
+ 1001 => 42042
+ 1002 => 42084
+ 1003 => 42126
+ 1004 => 42168
+ 1005 => 42210
+ 1006 => 42252
+ 1007 => 42294
+ 1008 => 42336
+ 1009 => 42378
+ 1010 => 42420
+ 1011 => 42462
+ 1012 => 42504
+ 1013 => 42546
+ 1014 => 42588
+ 1015 => 42630
+ 1016 => 42672
+ 1017 => 42714
+ 1018 => 42756
+ 1019 => 42798
+ 1020 => 42840
+ 1021 => 42882
+ 1022 => 42924
+ 1023 => 42966
+ 1024 => 43008
+ 1025 => 43050
+ 1026 => 43092
+ 1027 => 43134
+ 1028 => 43176
+ 1029 => 43218
+ 1030 => 43260
+ 1031 => 43302
+ 1032 => 43344
+ 1033 => 43386
+ 1034 => 43428
+ 1035 => 43470
+ 1036 => 43512
+ 1037 => 43554
+ 1038 => 43596
+ 1039 => 43638
+ 1040 => 43680
+ 1041 => 43722
+ 1042 => 43764
+ 1043 => 43806
+ 1044 => 43848
+ 1045 => 43890
+ 1046 => 43932
+ 1047 => 43974
+ 1048 => 44016
+ 1049 => 44058
+ 1051 => 44142
+ 1052 => 44184
+ 1053 => 44226
+ 1054 => 44268
+ 1055 => 44310
+ 1056 => 44352
+ 1057 => 44394
+ 1058 => 44436
+ 1059 => 44478
+ 1060 => 44520
+ 1061 => 44562
+ 1062 => 44604
+ 1063 => 44646
+ 1064 => 44688
+ 1065 => 44730
+ 1066 => 44772
+ 1067 => 44814
+ 1068 => 44856
+ 1069 => 44898
+ 1070 => 44940
+ 1071 => 44982
+ 1072 => 45024
+ 1073 => 45066
+ 1074 => 45108
+ 1075 => 45150
+ 1076 => 45192
+ 1077 => 45234
+ 1078 => 45276
+ 1079 => 45318
+ 1080 => 45360
+ 1081 => 45402
+ 1082 => 45444
+ 1083 => 45486
+ 1084 => 45528
+ 1085 => 45570
+ 1086 => 45612
+ 1087 => 45654
+ 1088 => 45696
+ 1089 => 45738
+ 1090 => 45780
+ 1091 => 45822
+ 1092 => 45864
+ 1093 => 45906
+ 1094 => 45948
+ 1095 => 45990
+ 1096 => 46032
+ 1097 => 46074
+ 1098 => 46116
+ 1099 => 46158
+ Randomize ListDump:
+ 1 => -453900829
+ 2 => -1311244773
+ 1000 => -1189761104
+ 1001 => -767645542
+ 1002 => 1177121049
+ 1003 => 530150361
+ 1004 => -114394334
+ 1005 => 1655826028
+ 1006 => -634606345
+ 1007 => -16200093
+ 1008 => -1589979998
+ 1009 => -931781688
+ 1010 => -1612519575
+ 1011 => 232355847
+ 1012 => 1937567155
+ 1013 => 293923071
+ 1014 => 77413166
+ 1015 => -996268195
+ 1016 => 954454457
+ 1017 => -2120647595
+ 1018 => -1826344393
+ 1019 => 1036590466
+ 1020 => 1340694939
+ 1021 => 1328898286
+ 1022 => 1212995644
+ 1023 => 212080778
+ 1024 => -1116031315
+ 1025 => 2059557569
+ 1026 => -1351733639
+ 1027 => -16225284
+ 1028 => 12042907
+ 1029 => -2118970966
+ 1030 => -625495409
+ 1031 => -803433375
+ 1032 => 206484827
+ 1033 => -1275117685
+ 1034 => -1660494268
+ 1035 => 439308575
+ 1036 => 689118657
+ 1037 => 18162819
+ 1038 => 279178838
+ 1039 => -811026766
+ 1040 => -102146912
+ 1041 => 761316313
+ 1042 => -446973157
+ 1043 => 1860931649
+ 1044 => -936809412
+ 1045 => 2009637934
+ 1046 => 146746237
+ 1047 => -1122456903
+ 1048 => 496979353
+ 1049 => 1330321624
+ 1051 => 1221526431
+ 1052 => 312894323
+ 1053 => -1967316408
+ 1054 => -306362667
+ 1055 => 463694131
+ 1056 => 1180912503
+ 1057 => 962965831
+ 1058 => -1686452466
+ 1059 => 1770363784
+ 1060 => -974655700
+ 1061 => 1137105824
+ 1062 => -1195585394
+ 1063 => 814828850
+ 1064 => -319033517
+ 1065 => -1069246310
+ 1066 => 730090633
+ 1067 => -453449540
+ 1068 => -1568189245
+ 1069 => 1938098163
+ 1070 => 582038708
+ 1071 => -1513512696
+ 1072 => 2023080545
+ 1073 => 1451475423
+ 1074 => 2115922500
+ 1075 => 1714395178
+ 1076 => -1794465095
+ 1077 => 711436717
+ 1078 => 2080995690
+ 1079 => 1888980586
+ 1080 => 1441996214
+ 1081 => 2068563628
+ 1082 => 1839052927
+ 1083 => -1569187741
+ 1084 => 1117258463
+ 1085 => -373025294
+ 1086 => 836256008
+ 1087 => 894909721
+ 1088 => 320878623
+ 1089 => -324398855
+ 1090 => -2069211627
+ 1091 => 1181351335
+ 1092 => 1628415271
+ 1093 => 1998896274
+ 1094 => 1296141199
+ 1095 => 144363466
+ 1096 => -2068665023
+ 1097 => 301553896
+ 1098 => -509674842
+ 1099 => -1486885398
+ KeepTop(10):
+ 1 => -453900829
+ 2 => -1311244773
+ 1000 => -1189761104
+ 1001 => -767645542
+ 1002 => 1177121049
+ 1003 => 530150361
+ 1004 => -114394334
+ 1005 => 1655826028
+ 1006 => -634606345
+ 1007 => -16200093
+ KeepBottom(8):
+ 1000 => -1189761104
+ 1001 => -767645542
+ 1002 => 1177121049
+ 1003 => 530150361
+ 1004 => -114394334
+ 1005 => 1655826028
+ 1006 => -634606345
+ 1007 => -16200093
+ RemoveBottom(2):
+ 1000 => -1189761104
+ 1001 => -767645542
+ 1002 => 1177121049
+ 1003 => 530150361
+ 1004 => -114394334
+ 1005 => 1655826028
+ RemoveTop(2):
+ 1002 => 1177121049
+ 1003 => 530150361
+ 1004 => -114394334
+ 1005 => 1655826028
+ RemoveList({1003, 1004}):
+ 1002 => 1177121049
+ 1005 => 1655826028
+ KeepList({1003, 1004, 1005}):
+ 1005 => 1655826028
+ AddList({1005, 4000, 4001, 4002}):
+ 1005 => 1005
+ 4000 => 8000
+ 4001 => 8002
+ 4002 => 8004
+ foreach():
+ 1005 => 1005
+ 4000 => 50
+ 4001 => 8002
+ 4002 => 8004
+ 4006 => 12
+ []:
+ 4000 => 50
+ IsEmpty(): true
+
+--AIAirport--
+ IsHangarTile(): false
+ IsAirportTile(): false
+ GetHangarOfAirport(): -1
+ GetAirportType(): 255
+ IsValidAirportType(-1): false
+ AirportAvailable(-1): false
+ GetAirportWidth(-1): -1
+ GetAirportHeight(-1): -1
+ GetAirportCoverageRadius(-1): -1
+ IsValidAirportType(0): true
+ AirportAvailable(0): true
+ GetAirportWidth(0): 4
+ GetAirportHeight(0): 3
+ GetAirportCoverageRadius(0): 4
+ IsValidAirportType(1): true
+ AirportAvailable(1): false
+ GetAirportWidth(1): 6
+ GetAirportHeight(1): 6
+ GetAirportCoverageRadius(1): 5
+ IsValidAirportType(2): true
+ AirportAvailable(2): false
+ GetAirportWidth(2): 1
+ GetAirportHeight(2): 1
+ GetAirportCoverageRadius(2): 4
+ IsValidAirportType(3): true
+ AirportAvailable(3): false
+ GetAirportWidth(3): 6
+ GetAirportHeight(3): 6
+ GetAirportCoverageRadius(3): 6
+ IsValidAirportType(4): true
+ AirportAvailable(4): false
+ GetAirportWidth(4): 7
+ GetAirportHeight(4): 7
+ GetAirportCoverageRadius(4): 8
+ IsValidAirportType(5): true
+ AirportAvailable(5): false
+ GetAirportWidth(5): 5
+ GetAirportHeight(5): 4
+ GetAirportCoverageRadius(5): 4
+ IsValidAirportType(6): true
+ AirportAvailable(6): false
+ GetAirportWidth(6): 2
+ GetAirportHeight(6): 2
+ GetAirportCoverageRadius(6): 4
+ IsValidAirportType(7): true
+ AirportAvailable(7): false
+ GetAirportWidth(7): 9
+ GetAirportHeight(7): 11
+ GetAirportCoverageRadius(7): 10
+ IsValidAirportType(8): true
+ AirportAvailable(8): false
+ GetAirportWidth(8): 4
+ GetAirportHeight(8): 2
+ GetAirportCoverageRadius(8): 4
+ IsValidAirportType(9): false
+ AirportAvailable(9): false
+ GetAirportWidth(9): -1
+ GetAirportHeight(9): -1
+ GetAirportCoverageRadius(9): -1
+ GetBankBalance(): 100000
+ BuildAirport(): true
+ IsHangarTile(): false
+ IsAirportTile(): true
+ GetAirportType(): 0
+ GetHangarOfAirport(): 32119
+ IsHangarTile(): true
+ IsAirportTile(): true
+ GetAirportType(): 0
+ GetBankBalance(): 199108
+ RemoveAirport(): true
+ IsHangarTile(): false
+ IsAirportTile(): false
+ GetBankBalance(): 298300
+ BuildAirport(): true
+
+--Bridge--
+ Bridge -1
+ IsValidBridge(): false
+ GetName(): (null : 0x00000000)
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxLength(): -1
+ GetMinLength(): -1
+ GetYearAvailable(): -1
+ Bridge 0
+ IsValidBridge(): true
+ GetName(): Wooden rail bridge
+ GetMaxSpeed(): 32
+ GetPrice(): 10
+ GetMaxLength(): 102
+ GetMinLength(): 2
+ GetYearAvailable(): 0
+ Bridge 1
+ IsValidBridge(): true
+ GetName(): Concrete rail bridge
+ GetMaxSpeed(): 48
+ GetPrice(): 15
+ GetMaxLength(): 4
+ GetMinLength(): 2
+ GetYearAvailable(): 0
+ Bridge 2
+ IsValidBridge(): true
+ GetName(): Steel girder rail bridge
+ GetMaxSpeed(): 64
+ GetPrice(): 19
+ GetMaxLength(): 7
+ GetMinLength(): 2
+ GetYearAvailable(): 1930
+ Bridge 3
+ IsValidBridge(): true
+ GetName(): Reinforced concrete suspension rail bridge
+ GetMaxSpeed(): 80
+ GetPrice(): 22
+ GetMaxLength(): 12
+ GetMinLength(): 4
+ GetYearAvailable(): 0
+ Bridge 4
+ IsValidBridge(): true
+ GetName(): Steel suspension rail bridge
+ GetMaxSpeed(): 96
+ GetPrice(): 25
+ GetMaxLength(): 102
+ GetMinLength(): 5
+ GetYearAvailable(): 1930
+ Bridge 5
+ IsValidBridge(): true
+ GetName(): Steel suspension rail bridge
+ GetMaxSpeed(): 112
+ GetPrice(): 26
+ GetMaxLength(): 102
+ GetMinLength(): 5
+ GetYearAvailable(): 1930
+ Bridge 6
+ IsValidBridge(): true
+ GetName(): Steel cantilever rail bridge
+ GetMaxSpeed(): 160
+ GetPrice(): 30
+ GetMaxLength(): 9
+ GetMinLength(): 5
+ GetYearAvailable(): 1930
+ Bridge 7
+ IsValidBridge(): true
+ GetName(): Steel cantilever rail bridge
+ GetMaxSpeed(): 208
+ GetPrice(): 31
+ GetMaxLength(): 10
+ GetMinLength(): 5
+ GetYearAvailable(): 1930
+ Bridge 8
+ IsValidBridge(): true
+ GetName(): Steel cantilever rail bridge
+ GetMaxSpeed(): 240
+ GetPrice(): 33
+ GetMaxLength(): 11
+ GetMinLength(): 5
+ GetYearAvailable(): 1930
+ Bridge 9
+ IsValidBridge(): true
+ GetName(): Steel girder rail bridge
+ GetMaxSpeed(): 256
+ GetPrice(): 32
+ GetMaxLength(): 4
+ GetMinLength(): 2
+ GetYearAvailable(): 1930
+ Bridge 10
+ IsValidBridge(): true
+ GetName(): Tubular rail bridge
+ GetMaxSpeed(): 320
+ GetPrice(): 34
+ GetMaxLength(): 102
+ GetMinLength(): 4
+ GetYearAvailable(): 1995
+ Bridge 11
+ IsValidBridge(): true
+ GetName(): Tubular rail bridge
+ GetMaxSpeed(): 512
+ GetPrice(): 51
+ GetMaxLength(): 102
+ GetMinLength(): 4
+ GetYearAvailable(): 2005
+ Bridge 12
+ IsValidBridge(): true
+ GetName(): Tubular rail bridge
+ GetMaxSpeed(): 608
+ GetPrice(): 69
+ GetMaxLength(): 102
+ GetMinLength(): 4
+ GetYearAvailable(): 2010
+ Bridge 13
+ IsValidBridge(): false
+ GetName(): (null : 0x00000000)
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxLength(): -1
+ GetMinLength(): -1
+ GetYearAvailable(): -1
+ Valid Bridges: 13
+ IsBridgeTile(): false
+ RemoveBridge(): false
+ GetLastErrorString(): ERR_PRECONDITION_FAILED
+ GetOtherBridgeEnd(): -1
+ BuildBridge(): true
+ IsBridgeTile(): true
+ IsBridgeTile(): true
+ GetOtherBridgeEnd(): 33155
+ BuildBridge(): false
+ GetLastErrorString(): ERR_ALREADY_BUILT
+ RemoveBridge(): true
+ IsBridgeTile(): false
+
+--BridgeList--
+ Count(): 10
+ MaxSpeed ListDump:
+ 9 => 256
+ 8 => 240
+ 7 => 208
+ 6 => 160
+ 5 => 112
+ 4 => 96
+ 3 => 80
+ 2 => 64
+ 1 => 48
+ 0 => 32
+ Price ListDump:
+ 8 => 33
+ 9 => 32
+ 7 => 31
+ 6 => 30
+ 5 => 26
+ 4 => 25
+ 3 => 22
+ 2 => 19
+ 1 => 15
+ 0 => 10
+ MaxLength ListDump:
+ 5 => 102
+ 4 => 102
+ 0 => 102
+ 3 => 12
+ 8 => 11
+ 7 => 10
+ 6 => 9
+ 2 => 7
+ 9 => 4
+ 1 => 4
+ MinLength ListDump:
+ 8 => 5
+ 7 => 5
+ 6 => 5
+ 5 => 5
+ 4 => 5
+ 3 => 4
+ 9 => 2
+ 2 => 2
+ 1 => 2
+ 0 => 2
+ YearAvailable ListDump:
+ 9 => 1930
+ 8 => 1930
+ 7 => 1930
+ 6 => 1930
+ 5 => 1930
+ 4 => 1930
+ 2 => 1930
+ 3 => 0
+ 1 => 0
+ 0 => 0
+
+--BridgeList_Length--
+ Count(): 3
+ MaxSpeed ListDump:
+ 5 => 112
+ 4 => 96
+ 0 => 32
+ Price ListDump:
+ 5 => 73
+ 4 => 70
+ 0 => 30
+
+--AICargo--
+ Cargo -1
+ IsValidCargo(): false
+ GetCargoLabel(): '(null : 0x00000000)'
+ IsFreight(): false
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): -1
+ GetCargoIncome(10, 10): -1
+ GetCargoIncome(100, 10): -1
+ GetCargoIncome(10, 100): -1
+ Cargo 0
+ IsValidCargo(): true
+ GetCargoLabel(): 'PASS'
+ IsFreight(): false
+ HasCargoClass(): true
+ GetTownEffect(): 1
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 4
+ GetCargoIncome(100, 10): 40
+ GetCargoIncome(10, 100): 3
+ Cargo 1
+ IsValidCargo(): true
+ GetCargoLabel(): 'COAL'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 7
+ GetCargoIncome(100, 10): 75
+ GetCargoIncome(10, 100): 6
+ Cargo 2
+ IsValidCargo(): true
+ GetCargoLabel(): 'MAIL'
+ IsFreight(): false
+ HasCargoClass(): false
+ GetTownEffect(): 2
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 5
+ GetCargoIncome(100, 10): 58
+ GetCargoIncome(10, 100): 5
+ Cargo 3
+ IsValidCargo(): true
+ GetCargoLabel(): 'OIL_'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 5
+ GetCargoIncome(100, 10): 56
+ GetCargoIncome(10, 100): 5
+ Cargo 4
+ IsValidCargo(): true
+ GetCargoLabel(): 'LVST'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 5
+ GetCargoIncome(100, 10): 55
+ GetCargoIncome(10, 100): 4
+ Cargo 5
+ IsValidCargo(): true
+ GetCargoLabel(): 'GOOD'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 3
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 7
+ GetCargoIncome(100, 10): 78
+ GetCargoIncome(10, 100): 6
+ Cargo 6
+ IsValidCargo(): true
+ GetCargoLabel(): 'GRAI'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 6
+ GetCargoIncome(100, 10): 60
+ GetCargoIncome(10, 100): 5
+ Cargo 7
+ IsValidCargo(): true
+ GetCargoLabel(): 'WOOD'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 6
+ GetCargoIncome(100, 10): 63
+ GetCargoIncome(10, 100): 5
+ Cargo 8
+ IsValidCargo(): true
+ GetCargoLabel(): 'IORE'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 6
+ GetCargoIncome(100, 10): 65
+ GetCargoIncome(10, 100): 5
+ Cargo 9
+ IsValidCargo(): true
+ GetCargoLabel(): 'STEL'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 7
+ GetCargoIncome(100, 10): 72
+ GetCargoIncome(10, 100): 6
+ Cargo 10
+ IsValidCargo(): true
+ GetCargoLabel(): 'VALU'
+ IsFreight(): true
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): 0
+ GetCargoIncome(10, 10): 9
+ GetCargoIncome(100, 10): 94
+ GetCargoIncome(10, 100): 7
+ Cargo 11
+ IsValidCargo(): false
+ GetCargoLabel(): '(null : 0x00000000)'
+ IsFreight(): false
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): -1
+ GetCargoIncome(10, 10): -1
+ GetCargoIncome(100, 10): -1
+ GetCargoIncome(10, 100): -1
+ Cargo 12
+ IsValidCargo(): false
+ GetCargoLabel(): '(null : 0x00000000)'
+ IsFreight(): false
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): -1
+ GetCargoIncome(10, 10): -1
+ GetCargoIncome(100, 10): -1
+ GetCargoIncome(10, 100): -1
+ Cargo 13
+ IsValidCargo(): false
+ GetCargoLabel(): '(null : 0x00000000)'
+ IsFreight(): false
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): -1
+ GetCargoIncome(10, 10): -1
+ GetCargoIncome(100, 10): -1
+ GetCargoIncome(10, 100): -1
+ Cargo 14
+ IsValidCargo(): false
+ GetCargoLabel(): '(null : 0x00000000)'
+ IsFreight(): false
+ HasCargoClass(): false
+ GetTownEffect(): 0
+ GetCargoIncome(0, 0): -1
+ GetCargoIncome(10, 10): -1
+ GetCargoIncome(100, 10): -1
+ GetCargoIncome(10, 100): -1
+
+--CargoList--
+ Count(): 11
+ IsFreight ListDump:
+ 10 => 1
+ 9 => 1
+ 8 => 1
+ 7 => 1
+ 6 => 1
+ 5 => 1
+ 4 => 1
+ 3 => 1
+ 1 => 1
+ 2 => 0
+ 0 => 0
+ CargoIncomes(100, 100) ListDump:
+ 10 => 78
+ 5 => 65
+ 1 => 65
+ 9 => 63
+ 8 => 57
+ 7 => 57
+ 3 => 53
+ 2 => 53
+ 6 => 52
+ 4 => 43
+ 0 => 31
+
+--CargoList_IndustryAccepting--
+ Count(): 1
+ ListDump:
+ 7
+
+--CargoList_IndustryProducing--
+ Count(): 1
+ ListDump:
+ 7
+
+--Company--
+ SetName(): true
+ SetName(): true
+ SetName(): true
+ SetName(): false
+ GetLastErrorString(): ERR_NAME_IS_NOT_UNIQUE
+ GetName(): Regression
+ GetPresidentName(): K. O'Donnell
+ SetPresidentName(): true
+ GetPresidentName(): Regression AI
+ GetCompanyValue(): 355454
+ GetBankBalance(): 455204
+ GetName(): (null : 0x00000000)
+ GetLoanAmount(): 100000
+ GetMaxLoanAmount(): 300000
+ GetLoanInterval(): 10000
+ SetLoanAmount(1): false
+ SetLoanAmount(100): false
+ SetLoanAmount(10000): true
+ GetLastErrorString(): ERR_NONE
+ GetBankBalance(): 365204
+ GetLoanAmount(): 10000
+ SetMinimumLoanAmount(31337): true
+ GetBankBalance(): 395204
+ GetLoanAmount(): 40000
+ SetLoanAmount(10000): true
+ GetBankBalance(): 655204
+ GetLoanAmount(): 300000
+ GetCompanyHQ(): -1
+ BuildCompanyHQ(): true
+ GetCompanyHQ(): 33151
+ BuildCompanyHQ(): true
+ GetCompanyHQ(): 33153
+ BuildCompanyHQ(): false
+ GetLastErrorString(): ERR_AREA_NOT_CLEAR
+ GetAutoRenewStatus(); false
+ SetAutoRenewStatus(true); true
+ GetAutoRenewStatus(); true
+ SetAutoRenewStatus(true); false
+ SetAutoRenewStatus(false); true
+ GetAutoRenewMonths(); -6
+ SetAutoRenewMonths(-12); true
+ GetAutoRenewMonths(); -12
+ SetAutoRenewMonths(-12); false
+ SetAutoRenewMonths(6); true
+ GetAutoRenewMoney(); 100000
+ SetAutoRenewMoney(200000); true
+ GetAutoRenewMoney(); 200000
+ SetAutoRenewMoney(200000); false
+ SetAutoRenewMoney(100000); true
+
+--Engine--
+ Engine -1
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 0
+ IsValidEngine(): true
+ GetName(): Kirby Paul Tank (Steam)
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): 74
+ GetMaxSpeed(): 64
+ GetPrice(): 22
+ GetMaxAge(): 5490
+ GetRunningCost(): 7
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 1
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 2
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 3
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 4
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 5
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 6
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 7
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 8
+ IsValidEngine(): true
+ GetName(): Chaney 'Jubilee' (Steam)
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): 79
+ GetMaxSpeed(): 112
+ GetPrice(): 41
+ GetMaxAge(): 7686
+ GetRunningCost(): 18
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 9
+ IsValidEngine(): true
+ GetName(): Ginzu 'A4' (Steam)
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): 83
+ GetMaxSpeed(): 128
+ GetPrice(): 61
+ GetMaxAge(): 7320
+ GetRunningCost(): 21
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 10
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 11
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 12
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 13
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 14
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 15
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 16
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 17
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 18
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 19
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 20
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 21
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 22
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 23
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 24
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 25
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 26
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 27
+ IsValidEngine(): true
+ GetName(): Passenger Carriage
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 40
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 795
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 28
+ IsValidEngine(): true
+ GetName(): Mail Van
+ GetCargoType(): 2
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 733
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 29
+ IsValidEngine(): true
+ GetName(): Coal Truck
+ GetCargoType(): 1
+ CanRefitCargo(): true
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 566
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 30
+ IsValidEngine(): true
+ GetName(): Oil Tanker
+ GetCargoType(): 3
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 643
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 31
+ IsValidEngine(): true
+ GetName(): Livestock Van
+ GetCargoType(): 4
+ CanRefitCargo(): false
+ GetCapacity(): 25
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 618
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 32
+ IsValidEngine(): true
+ GetName(): Goods Van
+ GetCargoType(): 5
+ CanRefitCargo(): false
+ GetCapacity(): 25
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 611
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 33
+ IsValidEngine(): true
+ GetName(): Grain Hopper
+ GetCargoType(): 6
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 585
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 34
+ IsValidEngine(): true
+ GetName(): Wood Truck
+ GetCargoType(): 7
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 582
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 35
+ IsValidEngine(): true
+ GetName(): Iron Ore Hopper
+ GetCargoType(): 8
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 576
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 36
+ IsValidEngine(): true
+ GetName(): Steel Truck
+ GetCargoType(): 9
+ CanRefitCargo(): false
+ GetCapacity(): 20
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 630
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 37
+ IsValidEngine(): true
+ GetName(): Armoured Van
+ GetCargoType(): 10
+ CanRefitCargo(): false
+ GetCapacity(): 20
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 820
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 0
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 38
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 39
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 40
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 41
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 42
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 43
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 44
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 45
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 46
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 47
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 48
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 49
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 50
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 51
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 52
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 53
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 54
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 55
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 56
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 57
+ IsValidEngine(): true
+ GetName(): Passenger Carriage
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 45
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 795
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 58
+ IsValidEngine(): true
+ GetName(): Mail Van
+ GetCargoType(): 2
+ CanRefitCargo(): false
+ GetCapacity(): 35
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 733
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 59
+ IsValidEngine(): true
+ GetName(): Coal Truck
+ GetCargoType(): 1
+ CanRefitCargo(): true
+ GetCapacity(): 35
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 566
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 60
+ IsValidEngine(): true
+ GetName(): Oil Tanker
+ GetCargoType(): 3
+ CanRefitCargo(): false
+ GetCapacity(): 35
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 643
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 61
+ IsValidEngine(): true
+ GetName(): Livestock Van
+ GetCargoType(): 4
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 618
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 62
+ IsValidEngine(): true
+ GetName(): Goods Van
+ GetCargoType(): 5
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 611
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 63
+ IsValidEngine(): true
+ GetName(): Grain Hopper
+ GetCargoType(): 6
+ CanRefitCargo(): false
+ GetCapacity(): 35
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 585
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 64
+ IsValidEngine(): true
+ GetName(): Wood Truck
+ GetCargoType(): 7
+ CanRefitCargo(): false
+ GetCapacity(): 35
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 582
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 65
+ IsValidEngine(): true
+ GetName(): Iron Ore Hopper
+ GetCargoType(): 8
+ CanRefitCargo(): false
+ GetCapacity(): 35
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 576
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 66
+ IsValidEngine(): true
+ GetName(): Steel Truck
+ GetCargoType(): 9
+ CanRefitCargo(): false
+ GetCapacity(): 25
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 630
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 67
+ IsValidEngine(): true
+ GetName(): Armoured Van
+ GetCargoType(): 10
+ CanRefitCargo(): false
+ GetCapacity(): 25
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 820
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 2
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 68
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 69
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 70
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 71
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 72
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 73
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 74
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 75
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 76
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 77
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 78
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 79
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 80
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 81
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 82
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 83
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 84
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 85
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 86
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 87
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 88
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 89
+ IsValidEngine(): true
+ GetName(): Passenger Carriage
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 47
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 795
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 90
+ IsValidEngine(): true
+ GetName(): Mail Van
+ GetCargoType(): 2
+ CanRefitCargo(): false
+ GetCapacity(): 37
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 733
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 91
+ IsValidEngine(): true
+ GetName(): Coal Truck
+ GetCargoType(): 1
+ CanRefitCargo(): true
+ GetCapacity(): 37
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 566
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 92
+ IsValidEngine(): true
+ GetName(): Oil Tanker
+ GetCargoType(): 3
+ CanRefitCargo(): false
+ GetCapacity(): 37
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 643
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 93
+ IsValidEngine(): true
+ GetName(): Livestock Van
+ GetCargoType(): 4
+ CanRefitCargo(): false
+ GetCapacity(): 32
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 618
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 94
+ IsValidEngine(): true
+ GetName(): Goods Van
+ GetCargoType(): 5
+ CanRefitCargo(): false
+ GetCapacity(): 32
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 611
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 95
+ IsValidEngine(): true
+ GetName(): Grain Hopper
+ GetCargoType(): 6
+ CanRefitCargo(): false
+ GetCapacity(): 37
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 585
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 96
+ IsValidEngine(): true
+ GetName(): Wood Truck
+ GetCargoType(): 7
+ CanRefitCargo(): false
+ GetCapacity(): 37
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 582
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 97
+ IsValidEngine(): true
+ GetName(): Iron Ore Hopper
+ GetCargoType(): 8
+ CanRefitCargo(): false
+ GetCapacity(): 37
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 576
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 98
+ IsValidEngine(): true
+ GetName(): Steel Truck
+ GetCargoType(): 9
+ CanRefitCargo(): false
+ GetCapacity(): 27
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 630
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 99
+ IsValidEngine(): true
+ GetName(): Armoured Van
+ GetCargoType(): 10
+ CanRefitCargo(): false
+ GetCapacity(): 27
+ GetReliability(): 0
+ GetMaxSpeed(): 0
+ GetPrice(): 820
+ GetMaxAge(): 7320
+ GetRunningCost(): 0
+ GetVehicleType(): 0
+ GetRailType(): 3
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 100
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 101
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 102
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 103
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 104
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 105
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 106
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 107
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 108
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 109
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 110
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 111
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 112
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 113
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 114
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 115
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 116
+ IsValidEngine(): true
+ GetName(): MPS Regal Bus
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 31
+ GetReliability(): 78
+ GetMaxSpeed(): 56
+ GetPrice(): 386
+ GetMaxAge(): 4392
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 117
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 118
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 119
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 120
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 121
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 122
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 123
+ IsValidEngine(): true
+ GetName(): Balogh Coal Truck
+ GetCargoType(): 1
+ CanRefitCargo(): true
+ GetCapacity(): 20
+ GetReliability(): 76
+ GetMaxSpeed(): 48
+ GetPrice(): 347
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 124
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 125
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 126
+ IsValidEngine(): true
+ GetName(): MPS Mail Truck
+ GetCargoType(): 2
+ CanRefitCargo(): false
+ GetCapacity(): 22
+ GetReliability(): 91
+ GetMaxSpeed(): 48
+ GetPrice(): 370
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 127
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 128
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 129
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 130
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 131
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 132
+ IsValidEngine(): true
+ GetName(): Witcombe Oil Tanker
+ GetCargoType(): 3
+ CanRefitCargo(): false
+ GetCapacity(): 21
+ GetReliability(): 97
+ GetMaxSpeed(): 48
+ GetPrice(): 354
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 133
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 134
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 135
+ IsValidEngine(): true
+ GetName(): Talbott Livestock Van
+ GetCargoType(): 4
+ CanRefitCargo(): false
+ GetCapacity(): 14
+ GetReliability(): 96
+ GetMaxSpeed(): 48
+ GetPrice(): 337
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 136
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 137
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 138
+ IsValidEngine(): true
+ GetName(): Balogh Goods Truck
+ GetCargoType(): 5
+ CanRefitCargo(): false
+ GetCapacity(): 14
+ GetReliability(): 86
+ GetMaxSpeed(): 48
+ GetPrice(): 344
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 139
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 140
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 141
+ IsValidEngine(): true
+ GetName(): Hereford Grain Truck
+ GetCargoType(): 6
+ CanRefitCargo(): false
+ GetCapacity(): 20
+ GetReliability(): 96
+ GetMaxSpeed(): 48
+ GetPrice(): 366
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 142
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 143
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 144
+ IsValidEngine(): true
+ GetName(): Witcombe Wood Truck
+ GetCargoType(): 7
+ CanRefitCargo(): false
+ GetCapacity(): 20
+ GetReliability(): 97
+ GetMaxSpeed(): 48
+ GetPrice(): 379
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 145
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 146
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 147
+ IsValidEngine(): true
+ GetName(): MPS Iron Ore Truck
+ GetCargoType(): 8
+ CanRefitCargo(): false
+ GetCapacity(): 22
+ GetReliability(): 96
+ GetMaxSpeed(): 48
+ GetPrice(): 389
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 148
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 149
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 150
+ IsValidEngine(): true
+ GetName(): Balogh Steel Truck
+ GetCargoType(): 9
+ CanRefitCargo(): false
+ GetCapacity(): 15
+ GetReliability(): 81
+ GetMaxSpeed(): 48
+ GetPrice(): 360
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 151
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 152
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 153
+ IsValidEngine(): true
+ GetName(): Balogh Armoured Truck
+ GetCargoType(): 10
+ CanRefitCargo(): false
+ GetCapacity(): 12
+ GetReliability(): 75
+ GetMaxSpeed(): 48
+ GetPrice(): 466
+ GetMaxAge(): 5490
+ GetRunningCost(): 14
+ GetVehicleType(): 1
+ GetRailType(): 255
+ GetRoadType(): 0
+ GetPlaneType(): -1
+ Engine 154
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 155
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 156
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 157
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 158
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 159
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 160
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 161
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 162
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 163
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 164
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 165
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 166
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 167
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 168
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 169
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 170
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 171
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 172
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 173
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 174
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 175
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 176
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 177
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 178
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 179
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 180
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 181
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 182
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 183
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 184
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 185
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 186
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 187
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 188
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 189
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 190
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 191
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 192
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 193
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 194
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 195
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 196
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 197
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 198
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 199
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 200
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 201
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 202
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 203
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 204
+ IsValidEngine(): true
+ GetName(): MPS Oil Tanker
+ GetCargoType(): 3
+ CanRefitCargo(): false
+ GetCapacity(): 220
+ GetReliability(): 98
+ GetMaxSpeed(): 24
+ GetPrice(): 515
+ GetMaxAge(): 10980
+ GetRunningCost(): 21
+ GetVehicleType(): 2
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 205
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 206
+ IsValidEngine(): true
+ GetName(): MPS Passenger Ferry
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 100
+ GetReliability(): 87
+ GetMaxSpeed(): 32
+ GetPrice(): 309
+ GetMaxAge(): 10980
+ GetRunningCost(): 14
+ GetVehicleType(): 2
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 207
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 208
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 209
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 210
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 211
+ IsValidEngine(): true
+ GetName(): Yate Cargo ship
+ GetCargoType(): 5
+ CanRefitCargo(): true
+ GetCapacity(): 160
+ GetReliability(): 81
+ GetMaxSpeed(): 24
+ GetPrice(): 412
+ GetMaxAge(): 10980
+ GetRunningCost(): 23
+ GetVehicleType(): 2
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 212
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 213
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 214
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 215
+ IsValidEngine(): true
+ GetName(): Sampson U52
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 25
+ GetReliability(): 58
+ GetMaxSpeed(): 238
+ GetPrice(): 45
+ GetMaxAge(): 7320
+ GetRunningCost(): 13
+ GetVehicleType(): 3
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): 1
+ Engine 216
+ IsValidEngine(): true
+ GetName(): Coleman Count
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 65
+ GetReliability(): 95
+ GetMaxSpeed(): 238
+ GetPrice(): 48
+ GetMaxAge(): 8784
+ GetRunningCost(): 15
+ GetVehicleType(): 3
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): 1
+ Engine 217
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 218
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 219
+ IsValidEngine(): true
+ GetName(): Bakewell Cotswald LB-3
+ GetCargoType(): 0
+ CanRefitCargo(): false
+ GetCapacity(): 30
+ GetReliability(): 76
+ GetMaxSpeed(): 238
+ GetPrice(): 48
+ GetMaxAge(): 10980
+ GetRunningCost(): 15
+ GetVehicleType(): 3
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): 1
+ Engine 220
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 221
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 222
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 223
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 224
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 225
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 226
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 227
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 228
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 229
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 230
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 231
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 232
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 233
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 234
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 235
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 236
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 237
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 238
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 239
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 240
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 241
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 242
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 243
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 244
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 245
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 246
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 247
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 248
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 249
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 250
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 251
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 252
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 253
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 254
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 255
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Engine 256
+ IsValidEngine(): false
+ GetName(): (null : 0x00000000)
+ GetCargoType(): 255
+ CanRefitCargo(): false
+ GetCapacity(): -1
+ GetReliability(): -1
+ GetMaxSpeed(): -1
+ GetPrice(): -1
+ GetMaxAge(): -1
+ GetRunningCost(): -1
+ GetVehicleType(): 255
+ GetRailType(): 255
+ GetRoadType(): -1
+ GetPlaneType(): -1
+ Valid Engines: 53
+
+--EngineList--
+ Count(): 11
+ CargoType ListDump:
+ 153 => 10
+ 150 => 9
+ 147 => 8
+ 144 => 7
+ 141 => 6
+ 138 => 5
+ 135 => 4
+ 132 => 3
+ 126 => 2
+ 123 => 1
+ 116 => 0
+ Capacity ListDump:
+ 116 => 31
+ 147 => 22
+ 126 => 22
+ 132 => 21
+ 144 => 20
+ 141 => 20
+ 123 => 20
+ 150 => 15
+ 138 => 14
+ 135 => 14
+ 153 => 12
+ Reliability ListDump:
+ 144 => 97
+ 132 => 97
+ 147 => 96
+ 141 => 96
+ 135 => 96
+ 126 => 91
+ 138 => 86
+ 150 => 81
+ 116 => 78
+ 123 => 76
+ 153 => 75
+ MaxSpeed ListDump:
+ 116 => 56
+ 153 => 48
+ 150 => 48
+ 147 => 48
+ 144 => 48
+ 141 => 48
+ 138 => 48
+ 135 => 48
+ 132 => 48
+ 126 => 48
+ 123 => 48
+ Price ListDump:
+ 153 => 466
+ 147 => 389
+ 116 => 386
+ 144 => 379
+ 126 => 370
+ 141 => 366
+ 150 => 360
+ 132 => 354
+ 123 => 347
+ 138 => 344
+ 135 => 337
+--AyStar--
+ Fastest path:
+ Tile 10
+ Tile 9
+ Tile 8
+ Tile 7
+ Tile 6
+ Tile 5
+ Tile 4
+ Tile 3
+ Tile 2
+ Tile 1
+
+--Group--
+ SetAutoReplace(): false
+ GetEngineReplacement(): 65535
+ GetNumEngines(): 0
+ AIRoad.BuildRoadDepot(): true
+ AIVehicle.BuildVehicle(): 12
+ GetNumEngines(): 1
+ CreateGroup(): 0
+ MoveVehicle(): true
+ GetNumEngines(): 1
+ GetNumEngines(): 1
+ GetNumEngines(): 0
+ GetName(): Group 0
+ GetName(): (null : 0x00000000)
+ AIVehicle.SellVehicle(): true
+ AITile.DemolishTile(): true
+ HasWagonRemoval(): false
+ EnableWagonRemoval(): true
+ HasWagonRemoval(): true
+ EnableWagonRemoval(): true
+ EnableWagonRemoval(): true
+ HasWagonRemoval(): false
+
+--Industry--
+ GetMaxIndustryID(): 71
+ GetIndustryCount(): 71
+ Industry -1
+ IsValidIndustry(): false
+ GetName(): (null : 0x00000000)
+ GetLocation(): -1
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 0
+ IsValidIndustry(): true
+ GetName(): Kennville Oil Refinery
+ GetLocation(): 19695
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 1
+ IsValidIndustry(): true
+ GetName(): Sadtown Forest
+ GetLocation(): 45122
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 2
+ IsValidIndustry(): true
+ GetName(): Fudinghattan Forest
+ GetLocation(): 41929
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 3
+ IsValidIndustry(): true
+ GetName(): Benville Forest
+ GetLocation(): 44640
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 80
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 4
+ IsValidIndustry(): true
+ GetName(): Netfingbridge Forest
+ GetLocation(): 8793
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 135
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 5
+ IsValidIndustry(): true
+ GetName(): Hutfingford Forest
+ GetLocation(): 55429
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 99
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 6
+ IsValidIndustry(): true
+ GetName(): Great Hinninghall Forest
+ GetLocation(): 6533
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 7
+ IsValidIndustry(): true
+ GetName(): Tondston Forest
+ GetLocation(): 27609
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 117
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 8
+ IsValidIndustry(): true
+ GetName(): Planfield Sawmill
+ GetLocation(): 17318
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 9
+ IsValidIndustry(): true
+ GetName(): Hutfingford Sawmill
+ GetLocation(): 60050
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 10
+ IsValidIndustry(): true
+ GetName(): Naborough Sawmill
+ GetLocation(): 54184
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 11
+ IsValidIndustry(): true
+ GetName(): Prundinghall Sawmill
+ GetLocation(): 48499
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 12
+ IsValidIndustry(): true
+ GetName(): Fraston Sawmill
+ GetLocation(): 51419
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 13
+ IsValidIndustry(): true
+ GetName(): Fort Frindston Sawmill
+ GetLocation(): 15950
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 14
+ IsValidIndustry(): true
+ GetName(): Grinnway Sawmill
+ GetLocation(): 20001
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 15
+ IsValidIndustry(): true
+ GetName(): Trenningville Coal Mine
+ GetLocation(): 51854
+ GetProduction(): 104
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 117
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 16
+ IsValidIndustry(): true
+ GetName(): Kennville Coal Mine
+ GetLocation(): 11734
+ GetProduction(): 96
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 99
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 17
+ IsValidIndustry(): true
+ GetName(): Great Hinninghall Coal Mine
+ GetLocation(): 13947
+ GetProduction(): 152
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 152
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 18
+ IsValidIndustry(): true
+ GetName(): Little Fruford Coal Mine
+ GetLocation(): 23682
+ GetProduction(): 112
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 126
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 19
+ IsValidIndustry(): true
+ GetName(): Hutfingford Coal Mine
+ GetLocation(): 57429
+ GetProduction(): 88
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 88
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 20
+ IsValidIndustry(): true
+ GetName(): Mendingston Coal Mine
+ GetLocation(): 8562
+ GetProduction(): 152
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 171
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 21
+ IsValidIndustry(): true
+ GetName(): Tondston Coal Mine
+ GetLocation(): 29147
+ GetProduction(): 104
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 117
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 22
+ IsValidIndustry(): true
+ GetName(): Quartfingfield Coal Mine
+ GetLocation(): 27822
+ GetProduction(): 136
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 136
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 23
+ IsValidIndustry(): true
+ GetName(): Muningville Coal Mine
+ GetLocation(): 43035
+ GetProduction(): 80
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 90
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 24
+ IsValidIndustry(): true
+ GetName(): Grinnway Coal Mine
+ GetLocation(): 17943
+ GetProduction(): 32
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 32
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 25
+ IsValidIndustry(): true
+ GetName(): Sadtown Power Station
+ GetLocation(): 48182
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 26
+ IsValidIndustry(): true
+ GetName(): Tunford Power Station
+ GetLocation(): 33934
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 27
+ IsValidIndustry(): true
+ GetName(): Quartfingfield Power Station
+ GetLocation(): 23714
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 28
+ IsValidIndustry(): true
+ GetName(): Kennville Power Station
+ GetLocation(): 20170
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 29
+ IsValidIndustry(): true
+ GetName(): Nuntfingburg Power Station
+ GetLocation(): 6685
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 30
+ IsValidIndustry(): true
+ GetName(): Bedburg Power Station
+ GetLocation(): 29022
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 31
+ IsValidIndustry(): true
+ GetName(): Benville Power Station
+ GetLocation(): 44160
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 32
+ IsValidIndustry(): true
+ GetName(): Fort Frindston Oil Wells
+ GetLocation(): 14701
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 108
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 33
+ IsValidIndustry(): true
+ GetName(): Nuntfingburg Oil Wells
+ GetLocation(): 5659
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 50
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 34
+ IsValidIndustry(): true
+ GetName(): Benville Oil Wells
+ GetLocation(): 36728
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 35
+ IsValidIndustry(): true
+ GetName(): Grinnway Oil Wells
+ GetLocation(): 14361
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 56
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 36
+ IsValidIndustry(): true
+ GetName(): Muningville Oil Wells
+ GetLocation(): 36908
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 64
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 37
+ IsValidIndustry(): true
+ GetName(): Tondston Oil Wells
+ GetLocation(): 34237
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 96
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 38
+ IsValidIndustry(): true
+ GetName(): Fort Frindston Iron Ore Mine
+ GetLocation(): 17742
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 108
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 39
+ IsValidIndustry(): true
+ GetName(): Tondston Iron Ore Mine
+ GetLocation(): 25545
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 24
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 40
+ IsValidIndustry(): true
+ GetName(): Fudinghattan Iron Ore Mine
+ GetLocation(): 47838
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 64
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 41
+ IsValidIndustry(): true
+ GetName(): Nuntfingburg Iron Ore Mine
+ GetLocation(): 8763
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 42
+ IsValidIndustry(): true
+ GetName(): Lardborough Iron Ore Mine
+ GetLocation(): 60866
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 43
+ IsValidIndustry(): true
+ GetName(): Tunford Iron Ore Mine
+ GetLocation(): 41155
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 96
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 44
+ IsValidIndustry(): true
+ GetName(): Chentfingbourne Iron Ore Mine
+ GetLocation(): 19529
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 120
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 45
+ IsValidIndustry(): true
+ GetName(): Naborough Farm
+ GetLocation(): 52931
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 81
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 81
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 46
+ IsValidIndustry(): true
+ GetName(): Lardborough Farm
+ GetLocation(): 59604
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 40
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 47
+ IsValidIndustry(): true
+ GetName(): Chentfingbourne Farm
+ GetLocation(): 24366
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 56
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 24
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 48
+ IsValidIndustry(): true
+ GetName(): Wrundtown Farm
+ GetLocation(): 36847
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 126
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 49
+ IsValidIndustry(): true
+ GetName(): Little Fruford Farm
+ GetLocation(): 28287
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 90
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 40
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 50
+ IsValidIndustry(): true
+ GetName(): Hutfingford Farm
+ GetLocation(): 57432
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 117
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 90
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 51
+ IsValidIndustry(): true
+ GetName(): Tondston Farm
+ GetLocation(): 23519
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 48
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 52
+ IsValidIndustry(): true
+ GetName(): Nuntfingburg Farm
+ GetLocation(): 10773
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 126
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 63
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 53
+ IsValidIndustry(): true
+ GetName(): Sadtown Farm
+ GetLocation(): 48206
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 50
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 50
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 54
+ IsValidIndustry(): true
+ GetName(): Quartfingfield Farm
+ GetLocation(): 24005
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ GetLastMonthProduction(): 64
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ GetLastMonthProduction(): 72
+ GetLastMonthTransported(): 0
+ GetStockpiledCargo(): -1
+ Industry 55
+ IsValidIndustry(): true
+ GetName(): Little Fruford Steel Mill
+ GetLocation(): 21107
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 56
+ IsValidIndustry(): true
+ GetName(): Quartfingfield Steel Mill
+ GetLocation(): 23727
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 57
+ IsValidIndustry(): true
+ GetName(): Bedburg Steel Mill
+ GetLocation(): 41813
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 58
+ IsValidIndustry(): true
+ GetName(): Franinghead Steel Mill
+ GetLocation(): 8852
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 59
+ IsValidIndustry(): true
+ GetName(): Lardborough Steel Mill
+ GetLocation(): 59867
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 60
+ IsValidIndustry(): true
+ GetName(): Sadtown Steel Mill
+ GetLocation(): 55360
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 61
+ IsValidIndustry(): true
+ GetName(): Fraston Steel Mill
+ GetLocation(): 52953
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 62
+ IsValidIndustry(): true
+ GetName(): Chentfingbourne Factory
+ GetLocation(): 24893
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 63
+ IsValidIndustry(): true
+ GetName(): Fort Frindston Factory
+ GetLocation(): 20819
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 64
+ IsValidIndustry(): true
+ GetName(): Fudinghattan Factory
+ GetLocation(): 46278
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 65
+ IsValidIndustry(): true
+ GetName(): Prundinghall Factory
+ GetLocation(): 53096
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 66
+ IsValidIndustry(): true
+ GetName(): Kennville Factory
+ GetLocation(): 14818
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 67
+ IsValidIndustry(): true
+ GetName(): Muningville Factory
+ GetLocation(): 34375
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 68
+ IsValidIndustry(): true
+ GetName(): Trenningville Factory
+ GetLocation(): 44181
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 69
+ IsValidIndustry(): true
+ GetName(): Wrundtown Oil Refinery
+ GetLocation(): 39663
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Industry 70
+ IsValidIndustry(): true
+ GetName(): Mendingston Power Station
+ GetLocation(): 6498
+ GetProduction(): -1
+ IsCargoAccepted(): true
+ Industry 71
+ IsValidIndustry(): false
+ GetName(): (null : 0x00000000)
+ GetLocation(): -1
+ GetProduction(): -1
+ IsCargoAccepted(): false
+ Valid Industries: 71
+ GetIndustryCount(): 71
+
+--IndustryList--
+ Count(): 71
+ Location ListDump:
+ 42 => 60866
+ 9 => 60050
+ 59 => 59867
+ 46 => 59604
+ 50 => 57432
+ 19 => 57429
+ 5 => 55429
+ 60 => 55360
+ 10 => 54184
+ 65 => 53096
+ 61 => 52953
+ 45 => 52931
+ 15 => 51854
+ 12 => 51419
+ 11 => 48499
+ 53 => 48206
+ 25 => 48182
+ 40 => 47838
+ 64 => 46278
+ 1 => 45122
+ 3 => 44640
+ 68 => 44181
+ 31 => 44160
+ 23 => 43035
+ 2 => 41929
+ 57 => 41813
+ 43 => 41155
+ 69 => 39663
+ 36 => 36908
+ 48 => 36847
+ 34 => 36728
+ 67 => 34375
+ 37 => 34237
+ 26 => 33934
+ 21 => 29147
+ 30 => 29022
+ 49 => 28287
+ 22 => 27822
+ 7 => 27609
+ 39 => 25545
+ 62 => 24893
+ 47 => 24366
+ 54 => 24005
+ 56 => 23727
+ 27 => 23714
+ 18 => 23682
+ 51 => 23519
+ 55 => 21107
+ 63 => 20819
+ 28 => 20170
+ 14 => 20001
+ 0 => 19695
+ 44 => 19529
+ 24 => 17943
+ 38 => 17742
+ 8 => 17318
+ 13 => 15950
+ 66 => 14818
+ 32 => 14701
+ 35 => 14361
+ 17 => 13947
+ 16 => 11734
+ 52 => 10773
+ 58 => 8852
+ 4 => 8793
+ 41 => 8763
+ 20 => 8562
+ 29 => 6685
+ 6 => 6533
+ 70 => 6498
+ 33 => 5659
+ DistanceManhattanToTile(30000) ListDump:
+ 59 => 287
+ 46 => 279
+ 42 => 266
+ 61 => 258
+ 12 => 254
+ 40 => 243
+ 66 => 238
+ 16 => 238
+ 45 => 236
+ 0 => 232
+ 69 => 228
+ 48 => 217
+ 9 => 215
+ 10 => 214
+ 64 => 213
+ 51 => 201
+ 2 => 199
+ 28 => 193
+ 43 => 190
+ 5 => 184
+ 58 => 183
+ 15 => 179
+ 7 => 179
+ 6 => 177
+ 21 => 175
+ 54 => 173
+ 39 => 171
+ 8 => 168
+ 37 => 157
+ 68 => 156
+ 56 => 152
+ 20 => 150
+ 50 => 147
+ 65 => 146
+ 19 => 144
+ 70 => 142
+ 27 => 139
+ 11 => 139
+ 17 => 138
+ 31 => 135
+ 22 => 135
+ 4 => 124
+ 32 => 121
+ 33 => 116
+ 60 => 115
+ 29 => 110
+ 26 => 109
+ 18 => 107
+ 3 => 105
+ 55 => 102
+ 52 => 102
+ 53 => 101
+ 34 => 98
+ 41 => 94
+ 49 => 86
+ 13 => 85
+ 35 => 84
+ 57 => 83
+ 38 => 78
+ 25 => 77
+ 1 => 77
+ 24 => 72
+ 23 => 72
+ 63 => 71
+ 44 => 66
+ 14 => 54
+ 30 => 50
+ 67 => 40
+ 62 => 33
+ 36 => 31
+ 47 => 24
+ DistanceSquareToTile(30000) ListDump:
+ 59 => 42697
+ 46 => 40121
+ 0 => 38162
+ 69 => 37850
+ 48 => 37157
+ 61 => 36482
+ 12 => 36130
+ 42 => 35716
+ 66 => 35284
+ 40 => 35037
+ 16 => 32740
+ 51 => 31301
+ 45 => 29530
+ 21 => 29257
+ 7 => 28661
+ 64 => 26469
+ 2 => 25525
+ 28 => 25237
+ 39 => 23733
+ 43 => 23458
+ 9 => 23293
+ 10 => 23236
+ 54 => 22777
+ 37 => 20137
+ 5 => 17026
+ 58 => 16889
+ 56 => 16754
+ 8 => 16424
+ 15 => 16061
+ 22 => 15957
+ 6 => 15689
+ 27 => 13621
+ 68 => 13226
+ 50 => 13049
+ 19 => 12818
+ 20 => 11412
+ 65 => 11236
+ 70 => 10964
+ 60 => 10057
+ 11 => 9673
+ 17 => 9594
+ 33 => 9466
+ 31 => 9425
+ 26 => 9061
+ 29 => 8642
+ 4 => 8570
+ 18 => 7349
+ 32 => 7321
+ 41 => 7010
+ 52 => 6354
+ 49 => 6290
+ 53 => 5941
+ 34 => 5860
+ 55 => 5714
+ 3 => 5553
+ 25 => 5077
+ 35 => 4250
+ 13 => 3925
+ 1 => 3805
+ 57 => 3485
+ 38 => 3204
+ 23 => 3042
+ 24 => 2834
+ 63 => 2521
+ 44 => 2306
+ 30 => 2132
+ 14 => 1746
+ 67 => 818
+ 36 => 745
+ 62 => 569
+ 47 => 488
+ GetAmountOfStationsAround(30000) ListDump:
+ 70 => 0
+ 69 => 0
+ 68 => 0
+ 67 => 0
+ 66 => 0
+ 65 => 0
+ 64 => 0
+ 63 => 0
+ 62 => 0
+ 61 => 0
+ 60 => 0
+ 59 => 0
+ 58 => 0
+ 57 => 0
+ 56 => 0
+ 55 => 0
+ 54 => 0
+ 53 => 0
+ 52 => 0
+ 51 => 0
+ 50 => 0
+ 49 => 0
+ 48 => 0
+ 47 => 0
+ 46 => 0
+ 45 => 0
+ 44 => 0
+ 43 => 0
+ 42 => 0
+ 41 => 0
+ 40 => 0
+ 39 => 0
+ 38 => 0
+ 37 => 0
+ 36 => 0
+ 35 => 0
+ 34 => 0
+ 33 => 0
+ 32 => 0
+ 31 => 0
+ 30 => 0
+ 29 => 0
+ 28 => 0
+ 27 => 0
+ 26 => 0
+ 25 => 0
+ 24 => 0
+ 23 => 0
+ 22 => 0
+ 21 => 0
+ 20 => 0
+ 19 => 0
+ 18 => 0
+ 17 => 0
+ 16 => 0
+ 15 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+ 11 => 0
+ 10 => 0
+ 9 => 0
+ 8 => 0
+ 7 => 0
+ 6 => 0
+ 5 => 0
+ 4 => 0
+ 3 => 0
+ 2 => 0
+ 1 => 0
+ 0 => 0
+ CargoAccepted(1) ListDump:
+ 70 => 1
+ 31 => 1
+ 30 => 1
+ 29 => 1
+ 28 => 1
+ 27 => 1
+ 26 => 1
+ 25 => 1
+ 69 => 0
+ 68 => 0
+ 67 => 0
+ 66 => 0
+ 65 => 0
+ 64 => 0
+ 63 => 0
+ 62 => 0
+ 61 => 0
+ 60 => 0
+ 59 => 0
+ 58 => 0
+ 57 => 0
+ 56 => 0
+ 55 => 0
+ 54 => 0
+ 53 => 0
+ 52 => 0
+ 51 => 0
+ 50 => 0
+ 49 => 0
+ 48 => 0
+ 47 => 0
+ 46 => 0
+ 45 => 0
+ 44 => 0
+ 43 => 0
+ 42 => 0
+ 41 => 0
+ 40 => 0
+ 39 => 0
+ 38 => 0
+ 37 => 0
+ 36 => 0
+ 35 => 0
+ 34 => 0
+ 33 => 0
+ 32 => 0
+ 24 => 0
+ 23 => 0
+ 22 => 0
+ 21 => 0
+ 20 => 0
+ 19 => 0
+ 18 => 0
+ 17 => 0
+ 16 => 0
+ 15 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+ 11 => 0
+ 10 => 0
+ 9 => 0
+ 8 => 0
+ 7 => 0
+ 6 => 0
+ 5 => 0
+ 4 => 0
+ 3 => 0
+ 2 => 0
+ 1 => 0
+ 0 => 0
+ KeepAboveValue(50): done
+ Count(): 9
+ Production ListDump:
+ 20 => 152
+ 17 => 152
+ 22 => 136
+ 18 => 112
+ 21 => 104
+ 15 => 104
+ 16 => 96
+ 19 => 88
+ 23 => 80
+--IndustryList_CargoAccepting--
+ Count(): 8
+ Location ListDump:
+ 25 => 48182
+ 31 => 44160
+ 26 => 33934
+ 30 => 29022
+ 27 => 23714
+ 28 => 20170
+ 29 => 6685
+ 70 => 6498
+--IndustryList_CargoProducing--
+ Count(): 10
+ Location ListDump:
+ 19 => 57429
+ 15 => 51854
+ 23 => 43035
+ 21 => 29147
+ 22 => 27822
+ 18 => 23682
+ 24 => 17943
+ 17 => 13947
+ 16 => 11734
+ 20 => 8562
+
+--IndustryTypeList--
+ Count(): 12
+ Location ListDump:
+ Id: 9
+ IsRawIndustry(): true
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 823289
+ GetName(): Farm
+ CanBuildIndustry(): false
+ CanProspectIndustry(): false
+ Id: 5
+ IsRawIndustry(): true
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 823289
+ GetName(): Oil Rig
+ CanBuildIndustry(): false
+ CanProspectIndustry(): false
+ Id: 12
+ IsRawIndustry(): false
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 823289
+ GetName(): Bank
+ CanBuildIndustry(): true
+ CanProspectIndustry(): false
+ Id: 11
+ IsRawIndustry(): true
+ ProductionCanIncrease(): false
+ GetConstructionCost(): 823289
+ GetName(): Oil Wells
+ CanBuildIndustry(): false
+ CanProspectIndustry(): false
+ Id: 1
+ IsRawIndustry(): false
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 774860
+ GetName(): Power Station
+ CanBuildIndustry(): true
+ CanProspectIndustry(): false
+ Id: 3
+ IsRawIndustry(): true
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 823289
+ GetName(): Forest
+ CanBuildIndustry(): false
+ CanProspectIndustry(): false
+ Id: 2
+ IsRawIndustry(): false
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 723203
+ GetName(): Sawmill
+ CanBuildIndustry(): true
+ CanProspectIndustry(): false
+ Id: 18
+ IsRawIndustry(): true
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 823289
+ GetName(): Iron Ore Mine
+ CanBuildIndustry(): false
+ CanProspectIndustry(): false
+ Id: 0
+ IsRawIndustry(): true
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 823289
+ GetName(): Coal Mine
+ CanBuildIndustry(): false
+ CanProspectIndustry(): false
+ Id: 8
+ IsRawIndustry(): false
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 694145
+ GetName(): Steel Mill
+ CanBuildIndustry(): true
+ CanProspectIndustry(): false
+ Id: 4
+ IsRawIndustry(): false
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 787774
+ GetName(): Oil Refinery
+ CanBuildIndustry(): true
+ CanProspectIndustry(): false
+ Id: 6
+ IsRawIndustry(): false
+ ProductionCanIncrease(): true
+ GetConstructionCost(): 671545
+ GetName(): Factory
+ CanBuildIndustry(): true
+ CanProspectIndustry(): false
+
+--Map--
+ GetMapSize(): 65536
+ GetMapSizeX(): 256
+ GetMapSizeY(): 256
+ GetTileX(123): 123
+ GetTileY(123): 0
+ GetTileIndex(): 123
+ GetTileIndex(): 31488
+ GetTileIndex(): 0
+ GetTileIndex(): -257
+ GetTileIndex(): 2570000
+ IsValidTile(123): true
+ GetTileX(124): 124
+ GetTileY(124): 0
+ IsValidTile(124): true
+ IsValidTile(0): true
+ IsValidTile(-1): false
+ IsValidTile(): false
+ IsValidTile(): true
+ DemolishTile(): false
+ DemolishTile(): true
+ Distance
+ DistanceManhattan(): 54
+ DistanceMax(): 39
+ DistanceSquare(): 1746
+ DistanceFromEdge(): 16
+
+--AIMarine--
+ IsWaterDepotTile(): false
+ IsDockTile(): false
+ IsBuoyTile(): false
+ IsLockTile(): false
+ IsCanalTile(): false
+ GetBankBalance(): 766678
+ BuildWaterDepot(): true
+ BuildDock(): true
+ BuildBuoy(): true
+ BuildLock(): true
+ HasTransportType(): false
+ BuildCanal(): true
+ HasTransportType(): true
+ IsWaterDepotTile(): true
+ IsDockTile(): true
+ IsBuoyTile(): true
+ IsLockTile(): true
+ IsCanalTile(): true
+ GetBankBalance(): 805921
+ RemoveWaterDepot(): true
+ RemoveDock(): true
+ RemoveBuoy(): true
+ RemoveLock(): true
+ RemoveCanal(): true
+ IsWaterDepotTile(): false
+ IsDockTile(): false
+ IsBuoyTile(): false
+ IsLockTile(): false
+ IsCanalTile(): false
+ GetBankBalance(): 855517
+ BuildWaterDepot(): true
+ BuildDock(): true
+
+--PathFinder--
+ Road Between Towns:
+ Tile 46751
+ Tile 46495
+ Tile 46239
+ Tile 45983
+ Tile 45727
+ Tile 45471
+ Tile 45470
+ Tile 45469
+ Tile 45468
+ Tile 45467
+ Tile 45466
+ Tile 45210
+ Tile 44954
+ Tile 44698
+ Tile 44442
+ Tile 44186
+ Tile 43930
+ Tile 43929
+ Tile 43928
+ Tile 43927
+ Tile 43926
+ Tile 43925
+ Tile 43669
+ Tile 43413
+ Tile 43157
+ Tile 42901
+ Tile 42645
+ Tile 42389
+ Tile 42133
+ Tile 41877
+ Tile 41621
+ Tile 41365
+ Tile 41109
+ Tile 40853
+ Tile 40597
+ Tile 40341
+ Tile 40085
+ Tile 39829
+ Tile 39573
+ Tile 39317
+ Tile 39061
+ Tile 38805
+ Tile 38549
+ Tile 38293
+ Tile 38037
+ Tile 37781
+ Tile 37525
+ Tile 37269
+ Tile 37013
+ Tile 36757
+ Tile 36501
+ Tile 36245
+ Tile 35989
+ Tile 35733
+ Tile 35477
+ Tile 35221
+ Tile 34965
+ Tile 34709
+ Tile 34453
+ Tile 34197
+ Tile 33941
+ Tile 33685
+ Tile 33429
+ Tile 33173
+ Tile 32917
+ Tile 32661
+ Tile 32405
+ Tile 32149
+ Tile 31893
+ Tile 31637
+ Tile 31381
+ Tile 31125
+ Tile 30869
+ Tile 30613
+ Tile 30357
+ Tile 30101
+ Tile 29845
+ Tile 29589
+ Tile 29333
+ Tile 29077
+ Tile 28821
+ Tile 28565
+ Tile 28309
+ Tile 28053
+ Tile 27797
+ Tile 27541
+ Tile 27285
+ Tile 27029
+ Tile 26773
+ Tile 26517
+ Tile 26261
+ Tile 26005
+ Tile 25749
+ Tile 25493
+ Tile 25237
+ Tile 24981
+ Tile 24725
+ Tile 24469
+ Tile 24213
+ Tile 23957
+ Tile 23701
+ Tile 23445
+ Tile 23189
+ Tile 22933
+ Tile 22677
+ Tile 22421
+ Tile 22165
+ Tile 21909
+ Tile 21653
+ Tile 21397
+ Tile 21141
+ Tile 20885
+ Tile 20629
+ Tile 20373
+ Tile 20117
+ Tile 19861
+ Tile 19605
+ Tile 19349
+ Tile 19093
+ Tile 18837
+ Tile 18581
+ Tile 18325
+ Tile 18069
+ Tile 17813
+ Tile 17557
+ Tile 17301
+ Tile 17045
+ Tile 16789
+ Tile 16533
+ Tile 16277
+ Tile 16021
+ Tile 15765
+ Tile 15509
+ Tile 15508
+
+--PriorityQueue--
+ Count(): 0
+ Peek(): (null : 0x00000000)
+ Pop(): (null : 0x00000000)
+ Count(): 9
+ Peek(): 1
+ Pop(): 1
+ Pop(): 4
+ Pop(): 3
+ Pop(): 2
+ Pop(): 1
+ Pop(): 5
+ Pop(): 6
+ Pop(): 7
+ Pop(): 8
+ Pop(): 9
+ Pop(): 10
+ Peek(): (null : 0x00000000)
+ Pop(): (null : 0x00000000)
+ Count(): 0
+
+--BinaryHeap--
+ Count(): 0
+ Peek(): (null : 0x00000000)
+ Pop(): (null : 0x00000000)
+ Count(): 9
+ Peek(): 1
+ Pop(): 1
+ Pop(): 3
+ Pop(): 4
+ Pop(): 2
+ Pop(): 1
+ Pop(): 5
+ Pop(): 6
+ Pop(): 7
+ Pop(): 8
+ Pop(): 9
+ Pop(): 10
+ Peek(): (null : 0x00000000)
+ Pop(): (null : 0x00000000)
+ Count(): 0
+
+--FibonacciHeap--
+ Count(): 0
+ Peek(): (null : 0x00000000)
+ Pop(): (null : 0x00000000)
+ Count(): 9
+ Peek(): 1
+ Pop(): 1
+ Pop(): 4
+ Pop(): 3
+ Pop(): 2
+ Pop(): 1
+ Pop(): 5
+ Pop(): 6
+ Pop(): 7
+ Pop(): 8
+ Pop(): 9
+ Pop(): 10
+ Peek(): (null : 0x00000000)
+ Pop(): (null : 0x00000000)
+ Count(): 0
+
+--Rail--
+ IsRailTile(): false
+ BuildRailTrack(): true
+ BuildSignal(): true
+ RemoveRailTrack(): false
+ RemoveRailTrack(): true
+ BuildRail(): true
+ HasTransportType(): true
+ HasTransportType(): false
+ RemoveRail(): true
+ Depot
+ IsRailTile(): false
+ BuildRailDepot(): false
+ BuildRailDepot(): false
+ BuildRailDepot(): true
+ BuildRailDepot(): false
+ GetRailDepotFrontTile(): 33412
+ IsBuildable(): false
+ DepotList
+ Count(): 1
+ Depot distance from (0,0) ListDump:
+ 33411 => 261
+ RemoveDepot(): true
+ Station
+ BuildRailStation(): false
+ BuildRailStation(): true
+ IsRailStationTile(): false
+ IsRailStationTile(): true
+ IsRailStationTile(): true
+ RemoveRailStationTileRect(): true
+ IsRailStationTile(): false
+ IsRailStationTile(): true
+ IsRailStationTile(): false
+ DemolishTile(): true
+ IsRailStationTile(): false
+ IsRailStationTile(): false
+ IsRailStationTile(): false
+
+--RailTypeList--
+ Count(): 1
+ ListDump:
+ RailType: 0
+ IsRailTypeAvailable(): true
+
+--Road--
+ Road
+ IsRoadTile(): false
+ BuildRoad(): false
+ BuildRoad(): false
+ HasTransportType(): false
+ BuildRoad(): true
+ HasTransportType(): true
+ AreRoadTilesConnected(): true
+ IsRoadTile(): true
+ HasRoadType(Road): true
+ HasRoadType(Tram): false
+ GetNeighbourRoadCount(): 2
+ RemoveRoad(): true
+ RemoveRoad(): true
+ RemoveRoad(): false
+ RemoveRoad(): true
+ BuildOneWayRoad(): true
+ AreRoadTilesConnected(): true
+ AreRoadTilesConnected(): false
+ BuildOneWayRoad(): true
+ AreRoadTilesConnected(): false
+ AreRoadTilesConnected(): false
+ BuildOneWayRoad(): true
+ BuildOneWayRoad(): true
+ AreRoadTilesConnected(): true
+ AreRoadTilesConnected(): true
+ RemoveRoad(): true
+ IsRoadTypeAvailable(Road): true
+ IsRoadTypeAvailable(Tram): false
+ SetCurrentRoadType(Tram): (null : 0x00000000)
+ GetCurrentRoadType(): 0
+ Depot
+ IsRoadTile(): false
+ BuildRoadDepot(): false
+ BuildRoadDepot(): false
+ BuildRoadDepot(): true
+ BuildRoadDepot(): false
+ HasRoadType(Road): true
+ HasRoadType(Tram): false
+ GetLastError(): 260
+ GetLastErrorString(): ERR_AREA_NOT_CLEAR
+ GetErrorCategory(): 1
+ IsRoadTile(): false
+ GetRoadDepotFrontTile(): 33412
+ IsRoadDepotTile(): true
+ IsBuildable(): false
+ DepotList
+ Count(): 1
+ Depot distance from (0,0) ListDump:
+ 33411 => 261
+ RemoveRoadDepot(): true
+ RemoveRoadDepot(): false
+ Station
+ IsRoadTile(): false
+ BuildRoadStation(): false
+ BuildRoadStation(): false
+ BuildRoadStation(): true
+ BuildRoadStation(): false
+ IsStationTile(): true
+ IsStationTile(): false
+ HasRoadType(Road): true
+ HasRoadType(Tram): false
+ IsRoadTile(): false
+ GetDriveThroughBackTile(): -1
+ GetRoadStationFrontTile(): 33412
+ IsRoadStationTile(): true
+ IsDriveThroughRoadStationTile: false
+ RemoveRoadStation(): true
+ RemoveRoadStation(): false
+ Station Types
+ BuildRoadStation(bus): true
+ BuildRoadStation(truck): true
+ BuildRoadStation(truck): true
+ BuildRoadStation(bus): true
+ BuildRoadStation(truck): true
+ BuildRoadStation(bus-drive): true
+ BuildRoadStation(truck-drive): true
+ BuildRoadStation(bus-drive): true
+ BuildRoadStation(truck-drive): true
+ BuildRoadDepot(): true
+ GetRoadStationFrontTile(): 33411
+ GetRoadStationFrontTile(): 33924
+ IsDriveThroughRoadStationTile: true
+ IsBuildable(): false
+ GetDriveThroughBackTile(): 33416
+ GetRoadStationFrontTile(): 33414
+ IsRoadTile(): true
+
+--Sign--
+ BuildSign(33410, 'Some Sign'): 0
+ BuildSign(33411, 'Test'): 1
+ SetName(1, 'Test2'): true
+ BuildSign(33409, 'Some other Sign'): 2
+ RemoveSign(2): true
+
+ GetMaxSignID(): 3
+ Sign -1
+ IsValidSign(): false
+ GetName(): (null : 0x00000000)
+ GetLocation(): -1
+ Sign 0
+ IsValidSign(): true
+ GetName(): Some Sign
+ GetLocation(): 33410
+ Sign 1
+ IsValidSign(): true
+ GetName(): Test2
+ GetLocation(): 33411
+ Sign 2
+ IsValidSign(): false
+ GetName(): (null : 0x00000000)
+ GetLocation(): -1
+ Sign 3
+ IsValidSign(): false
+ GetName(): (null : 0x00000000)
+ GetLocation(): -1
+ Valid Signs: 2
+
+--Station--
+ IsValidStation(0): true
+ IsValidStation(1000): false
+ GetName(0): Benville Airport
+ SetName(0): true
+ GetName(0): Look, a station
+ GetLocation(1): 29253
+ GetLocation(1000): -1
+ GetStationID(33411): 3
+ GetStationID(34411): 65535
+ GetCargoWaiting(0, 0): 0
+ GetCargoWaiting(1000, 0): -1
+ GetCargoWaiting(0, 1000): -1
+ GetStationID(33411): 3
+ HasRoadType(3, TRAM): false
+ HasRoadType(3, ROAD): true
+ HasRoadType(33411, TRAM): false
+ HasRoadType(33411, ROAD): true
+ HasStationType(3, BUS): true
+ HasStationType(3, TRAIN): false
+ GetCoverageRadius(BUS): 3
+ GetCoverageRadius(TRUCK): 3
+ GetCoverageRadius(TRAIN): 4
+ GetNearestTown(): 15
+ GetNearestTown(): 65535
+ GetNearestTown(): 24
+
+--StationList--
+ Count(): 2
+ Location ListDump:
+ 4 => 33421
+ 3 => 33411
+ CargoWaiting(0) ListDump:
+ 4 => 0
+ 3 => 0
+ CargoWaiting(1) ListDump:
+ 4 => 0
+ 3 => 0
+
+--Tile--
+ HasTreeOnTile(): false
+ IsFarmTile(): true
+ IsRockTile(): true
+ IsRoughTile(): true
+ HasTreeOnTile(): true
+ IsFarmTile(): false
+ IsRockTile(): false
+ IsRoughTile(): false
+ IsSnowTile(): false
+ IsDesertTile(): false
+ PlantTree(): true
+ HasTreeOnTile(): true
+ PlantTree(): false
+ HasTreeOnTile(): true
+ PlantTreeRectangle(): true
+ HasTreeOnTile(): true
+
+--TileList--
+ Count(): 0
+ Count(): 9
+ Slope(): done
+ Count(): 9
+ ListDump:
+ 27631 => 29
+ 27631 => 255
+ 27631 => true
+ 27631 => false
+ 27888 => 13
+ 27888 => 2
+ 27888 => false
+ 27888 => false
+ 27376 => 12
+ 27376 => 3
+ 27376 => false
+ 27376 => false
+ 27375 => 12
+ 27375 => 3
+ 27375 => false
+ 27375 => false
+ 27889 => 9
+ 27889 => 6
+ 27889 => false
+ 27889 => false
+ 27887 => 8
+ 27887 => 7
+ 27887 => false
+ 27887 => false
+ 27632 => 8
+ 27632 => 7
+ 27632 => false
+ 27632 => false
+ 27633 => 0
+ 27633 => 15
+ 27633 => false
+ 27633 => false
+ 27377 => 0
+ 27377 => 15
+ 27377 => false
+ 27377 => false
+
+--TileList--
+ Count(): 0
+ Count(): 45
+ Height(): done
+ Count(): 45
+ ListDump:
+ 42411 => 2
+ 42410 => 2
+ 42409 => 2
+ 42408 => 2
+ 42407 => 2
+ 42154 => 2
+ 42153 => 2
+ 42152 => 2
+ 42151 => 2
+ 41898 => 2
+ 41897 => 2
+ 41896 => 2
+ 41895 => 2
+ 41642 => 2
+ 41641 => 2
+ 41640 => 2
+ 41639 => 2
+ 41386 => 2
+ 41385 => 2
+ 41384 => 2
+ 41383 => 2
+ 42415 => 1
+ 42414 => 1
+ 42413 => 1
+ 42412 => 1
+ 42159 => 1
+ 42158 => 1
+ 42157 => 1
+ 42156 => 1
+ 42155 => 1
+ 41903 => 1
+ 41902 => 1
+ 41901 => 1
+ 41900 => 1
+ 41899 => 1
+ 41647 => 1
+ 41646 => 1
+ 41645 => 1
+ 41644 => 1
+ 41643 => 1
+ 41391 => 1
+ 41390 => 1
+ 41389 => 1
+ 41388 => 1
+ 41387 => 1
+ Slope(): done
+ KeepValue(0): done
+ Count(): 38
+ ListDump:
+ 42415 => 0
+ 42414 => 0
+ 42413 => 0
+ 42410 => 0
+ 42409 => 0
+ 42408 => 0
+ 42407 => 0
+ 42159 => 0
+ 42158 => 0
+ 42157 => 0
+ 42156 => 0
+ 42153 => 0
+ 42152 => 0
+ 42151 => 0
+ 41903 => 0
+ 41902 => 0
+ 41901 => 0
+ 41900 => 0
+ 41899 => 0
+ 41897 => 0
+ 41896 => 0
+ 41895 => 0
+ 41647 => 0
+ 41646 => 0
+ 41645 => 0
+ 41644 => 0
+ 41643 => 0
+ 41641 => 0
+ 41640 => 0
+ 41639 => 0
+ 41391 => 0
+ 41390 => 0
+ 41389 => 0
+ 41388 => 0
+ 41387 => 0
+ 41385 => 0
+ 41384 => 0
+ 41383 => 0
+ Buildable(): done
+ KeepValue(1): done
+ Count(): 28
+ BuildableRectangle(3, 3) ListDump:
+ 42415 => 1
+ 42414 => 1
+ 42413 => 1
+ 42410 => 1
+ 42159 => 1
+ 42158 => 1
+ 42157 => 1
+ 42156 => 1
+ 41903 => 1
+ 41902 => 1
+ 41901 => 1
+ 41900 => 1
+ 41899 => 1
+ 41647 => 1
+ 41646 => 1
+ 41645 => 1
+ 41644 => 1
+ 41643 => 1
+ 41641 => 1
+ 41391 => 1
+ 41390 => 1
+ 41389 => 1
+ 41388 => 1
+ 41387 => 1
+ 41385 => 1
+ 42153 => 0
+ 41897 => 0
+ 41384 => 0
+ DistanceManhattanToTile(30000) ListDump:
+ 42415 => 175
+ 42414 => 174
+ 42159 => 174
+ 42413 => 173
+ 42158 => 173
+ 41903 => 173
+ 42157 => 172
+ 41902 => 172
+ 41647 => 172
+ 42156 => 171
+ 41901 => 171
+ 41646 => 171
+ 41391 => 171
+ 42410 => 170
+ 41900 => 170
+ 41645 => 170
+ 41390 => 170
+ 41899 => 169
+ 41644 => 169
+ 41389 => 169
+ 42153 => 168
+ 41643 => 168
+ 41388 => 168
+ 41897 => 167
+ 41387 => 167
+ 41641 => 166
+ 41385 => 165
+ 41384 => 164
+ DistanceSquareToTile(30000) ListDump:
+ 42415 => 18433
+ 42159 => 18338
+ 41903 => 18245
+ 42414 => 18180
+ 41647 => 18154
+ 42158 => 18085
+ 41391 => 18065
+ 41902 => 17992
+ 42413 => 17929
+ 41646 => 17901
+ 42157 => 17834
+ 41390 => 17812
+ 41901 => 17741
+ 41645 => 17650
+ 42156 => 17585
+ 41389 => 17561
+ 41900 => 17492
+ 41644 => 17401
+ 41388 => 17312
+ 41899 => 17245
+ 42410 => 17188
+ 41643 => 17154
+ 41387 => 17065
+ 42153 => 16850
+ 41897 => 16757
+ 41641 => 16666
+ 41385 => 16577
+ 41384 => 16336
+ GetOwner() ListDump:
+ 42415 => -1
+ 42414 => -1
+ 42413 => -1
+ 42410 => -1
+ 42159 => -1
+ 42158 => -1
+ 42157 => -1
+ 42156 => -1
+ 42153 => -1
+ 41903 => -1
+ 41902 => -1
+ 41901 => -1
+ 41900 => -1
+ 41899 => -1
+ 41897 => -1
+ 41647 => -1
+ 41646 => -1
+ 41645 => -1
+ 41644 => -1
+ 41643 => -1
+ 41641 => -1
+ 41391 => -1
+ 41390 => -1
+ 41389 => -1
+ 41388 => -1
+ 41387 => -1
+ 41385 => -1
+ 41384 => -1
+ GetClosestTown() ListDump:
+ 42415 => 3
+ 42414 => 3
+ 42413 => 3
+ 42410 => 3
+ 42159 => 3
+ 42158 => 3
+ 42157 => 3
+ 42156 => 3
+ 42153 => 3
+ 41903 => 3
+ 41902 => 3
+ 41901 => 3
+ 41900 => 3
+ 41899 => 3
+ 41897 => 3
+ 41647 => 3
+ 41646 => 3
+ 41645 => 3
+ 41644 => 3
+ 41643 => 3
+ 41641 => 3
+ 41391 => 3
+ 41390 => 3
+ 41389 => 3
+ 41388 => 3
+ 41387 => 3
+ 41385 => 3
+ 41384 => 3
+ CargoAcceptance(): done
+ KeepAboveValue(10): done
+ Count(): 9
+ ListDump:
+ 41897 => 29
+ 41385 => 26
+ 41384 => 26
+ 42153 => 25
+ 41641 => 23
+ 41899 => 17
+ 41387 => 17
+ 41643 => 14
+ 42410 => 13
+ RoadTile(): done
+ KeepValue(1): done
+ Count(): 0
+ ListDump:
+ NeighbourRoadCount():done
+ KeepValue(1): done
+ Count(): 0
+ ListDump:
+ Water(): done
+ Count(): 45
+ ListDump:
+ 54941 => 1
+ 54940 => 1
+ 54939 => 1
+ 54938 => 1
+ 54937 => 1
+ 54936 => 1
+ 54935 => 1
+ 54934 => 1
+ 54933 => 1
+ 54685 => 1
+ 54684 => 1
+ 54683 => 1
+ 54682 => 1
+ 54681 => 1
+ 54680 => 1
+ 54679 => 1
+ 54678 => 1
+ 54677 => 1
+ 54429 => 1
+ 54428 => 1
+ 54427 => 1
+ 54426 => 1
+ 54425 => 1
+ 54424 => 1
+ 54423 => 1
+ 54422 => 1
+ 54421 => 1
+ 54173 => 1
+ 54172 => 1
+ 54171 => 1
+ 54170 => 1
+ 54169 => 1
+ 54168 => 0
+ 54167 => 0
+ 54166 => 0
+ 54165 => 0
+ 53917 => 0
+ 53916 => 0
+ 53915 => 0
+ 53914 => 0
+ 53913 => 0
+ 53912 => 0
+ 53911 => 0
+ 53910 => 0
+ 53909 => 0
+
+--TileList_IndustryAccepting--
+ Count(): 47
+ Location ListDump:
+ 21234 => 16
+ 21233 => 16
+ 21232 => 16
+ 21231 => 16
+ 21230 => 16
+ 21229 => 16
+ 20978 => 16
+ 20977 => 16
+ 20976 => 16
+ 20975 => 16
+ 20974 => 16
+ 20973 => 16
+ 20722 => 16
+ 20718 => 16
+ 20717 => 16
+ 20466 => 16
+ 20462 => 16
+ 20461 => 16
+ 20210 => 16
+ 20206 => 16
+ 20205 => 16
+ 19954 => 16
+ 19950 => 16
+ 19949 => 16
+ 21490 => 8
+ 21489 => 8
+ 21488 => 8
+ 21487 => 8
+ 21486 => 8
+ 21485 => 8
+ 21484 => 8
+ 21235 => 8
+ 21228 => 8
+ 20979 => 8
+ 20972 => 8
+ 20723 => 8
+ 20716 => 8
+ 20467 => 8
+ 20460 => 8
+ 20211 => 8
+ 20204 => 8
+ 19955 => 8
+ 19948 => 8
+ 19699 => 8
+ 19698 => 8
+ 19694 => 8
+ 19693 => 8
+
+--TileList_IndustryProducing--
+ Count(): 90
+ Location ListDump:
+ 46149 => 14
+ 46146 => 14
+ 45894 => 14
+ 45889 => 14
+ 45638 => 14
+ 45633 => 14
+ 45382 => 14
+ 45377 => 14
+ 45126 => 12
+ 45121 => 12
+ 44869 => 12
+ 44868 => 12
+ 44867 => 12
+ 44866 => 12
+ 46150 => 11
+ 46145 => 11
+ 46405 => 10
+ 46404 => 10
+ 46403 => 10
+ 46402 => 10
+ 45895 => 9
+ 45888 => 9
+ 45639 => 9
+ 45632 => 9
+ 45383 => 9
+ 45376 => 9
+ 44870 => 9
+ 44865 => 9
+ 46406 => 8
+ 46401 => 8
+ 45127 => 8
+ 45120 => 8
+ 44613 => 8
+ 44612 => 8
+ 44611 => 8
+ 44610 => 8
+ 46151 => 7
+ 46144 => 7
+ 46661 => 6
+ 46660 => 6
+ 46659 => 6
+ 46658 => 6
+ 44871 => 6
+ 44864 => 6
+ 44614 => 6
+ 44609 => 6
+ 46662 => 5
+ 46657 => 5
+ 46407 => 5
+ 46400 => 5
+ 45896 => 4
+ 45887 => 4
+ 45640 => 4
+ 45631 => 4
+ 45384 => 4
+ 45375 => 4
+ 45128 => 4
+ 45119 => 4
+ 44615 => 4
+ 44608 => 4
+ 44357 => 4
+ 44356 => 4
+ 44355 => 4
+ 44354 => 4
+ 46663 => 3
+ 46656 => 3
+ 46152 => 3
+ 46143 => 3
+ 44872 => 3
+ 44863 => 3
+ 44358 => 3
+ 44353 => 3
+ 46918 => 2
+ 46917 => 2
+ 46916 => 2
+ 46915 => 2
+ 46914 => 2
+ 46913 => 2
+ 46408 => 2
+ 46399 => 2
+ 44616 => 2
+ 44607 => 2
+ 44359 => 2
+ 44352 => 2
+ 46919 => 1
+ 46912 => 1
+ 46664 => 1
+ 46655 => 1
+ 44360 => 1
+ 44351 => 1
+
+--TileList_StationType--
+ Count(): 0
+ Location ListDump:
+
+--Town--
+ GetMaxTownID(): 31
+ GetTownCount(): 28
+ Town -1
+ IsValidTown(): false
+ GetName(): (null : 0x00000000)
+ GetPopulation(): -1
+ GetLocation(): -1
+ GetHouseCount(): -1
+ GetRating(): -1
+ Town 0
+ IsValidTown(): true
+ GetName(): Planfield
+ GetPopulation(): 757
+ GetLocation(): 15508
+ GetHouseCount(): 30
+ GetRating(): 5
+ Town 1
+ IsValidTown(): true
+ GetName(): Trenningville
+ GetPopulation(): 343
+ GetLocation(): 46751
+ GetHouseCount(): 17
+ GetRating(): 5
+ Town 2
+ IsValidTown(): true
+ GetName(): Tondston
+ GetPopulation(): 380
+ GetLocation(): 28365
+ GetHouseCount(): 19
+ GetRating(): 0
+ Town 3
+ IsValidTown(): true
+ GetName(): Tunford
+ GetPopulation(): 176
+ GetLocation(): 41895
+ GetHouseCount(): 11
+ GetRating(): 5
+ Town 4
+ IsValidTown(): true
+ GetName(): Wrundtown
+ GetPopulation(): 426
+ GetLocation(): 41450
+ GetHouseCount(): 18
+ GetRating(): 0
+ Town 5
+ IsValidTown(): true
+ GetName(): Fraston
+ GetPopulation(): 205
+ GetLocation(): 55007
+ GetHouseCount(): 11
+ GetRating(): 0
+ Town 6
+ IsValidTown(): true
+ GetName(): Muningville
+ GetPopulation(): 679
+ GetLocation(): 38200
+ GetHouseCount(): 28
+ GetRating(): 0
+ Town 7
+ IsValidTown(): true
+ GetName(): Hutfingford
+ GetPopulation(): 1006
+ GetLocation(): 59234
+ GetHouseCount(): 33
+ GetRating(): 0
+ Town 8
+ IsValidTown(): true
+ GetName(): Sadtown
+ GetPopulation(): 358
+ GetLocation(): 51267
+ GetHouseCount(): 20
+ GetRating(): 0
+ Town 9
+ IsValidTown(): true
+ GetName(): Frindinghattan
+ GetPopulation(): 478
+ GetLocation(): 5825
+ GetHouseCount(): 18
+ GetRating(): 0
+ Town 10
+ IsValidTown(): true
+ GetName(): Nuntfingburg
+ GetPopulation(): 737
+ GetLocation(): 6446
+ GetHouseCount(): 26
+ GetRating(): 5
+ Town 11
+ IsValidTown(): true
+ GetName(): Fort Frindston
+ GetPopulation(): 180
+ GetLocation(): 14935
+ GetHouseCount(): 13
+ GetRating(): 5
+ Town 12
+ IsValidTown(): true
+ GetName(): Ginborough
+ GetPopulation(): 982
+ GetLocation(): 32740
+ GetHouseCount(): 28
+ GetRating(): 0
+ Town 13
+ IsValidTown(): true
+ GetName(): Great Hinninghall
+ GetPopulation(): 310
+ GetLocation(): 9595
+ GetHouseCount(): 14
+ GetRating(): 5
+ Town 14
+ IsValidTown(): true
+ GetName(): Prundinghall
+ GetPopulation(): 432
+ GetLocation(): 51298
+ GetHouseCount(): 18
+ GetRating(): 0
+ Town 15
+ IsValidTown(): true
+ GetName(): Benville
+ GetPopulation(): 807
+ GetLocation(): 42338
+ GetHouseCount(): 33
+ GetRating(): 5
+ Town 16
+ IsValidTown(): true
+ GetName(): Kennville
+ GetPopulation(): 767
+ GetLocation(): 17345
+ GetHouseCount(): 33
+ GetRating(): 5
+ Town 17
+ IsValidTown(): true
+ GetName(): Quartfingfield
+ GetPopulation(): 218
+ GetLocation(): 24252
+ GetHouseCount(): 13
+ GetRating(): 5
+ Town 18
+ IsValidTown(): true
+ GetName(): Netfingbridge
+ GetPopulation(): 262
+ GetLocation(): 10574
+ GetHouseCount(): 13
+ GetRating(): 5
+ Town 19
+ IsValidTown(): true
+ GetName(): Mendingston
+ GetPopulation(): 243
+ GetLocation(): 6511
+ GetHouseCount(): 14
+ GetRating(): 0
+ Town 20
+ IsValidTown(): true
+ GetName(): Chentfingbourne
+ GetPopulation(): 437
+ GetLocation(): 22585
+ GetHouseCount(): 15
+ GetRating(): 5
+ Town 21
+ IsValidTown(): true
+ GetName(): Franinghead
+ GetPopulation(): 772
+ GetLocation(): 9634
+ GetHouseCount(): 27
+ GetRating(): 5
+ Town 22
+ IsValidTown(): true
+ GetName(): Naborough
+ GetPopulation(): 221
+ GetLocation(): 51891
+ GetHouseCount(): 12
+ GetRating(): 0
+ Town 23
+ IsValidTown(): true
+ GetName(): Lardborough
+ GetPopulation(): 752
+ GetLocation(): 59622
+ GetHouseCount(): 27
+ GetRating(): 0
+ Town 24
+ IsValidTown(): true
+ GetName(): Little Fruford
+ GetPopulation(): 668
+ GetLocation(): 19596
+ GetHouseCount(): 34
+ GetRating(): 4
+ Town 25
+ IsValidTown(): true
+ GetName(): Grinnway
+ GetPopulation(): 563
+ GetLocation(): 16433
+ GetHouseCount(): 15
+ GetRating(): 5
+ Town 26
+ IsValidTown(): true
+ GetName(): Bedburg
+ GetPopulation(): 362
+ GetLocation(): 39505
+ GetHouseCount(): 18
+ GetRating(): 0
+ Town 27
+ IsValidTown(): true
+ GetName(): Fudinghattan
+ GetPopulation(): 390
+ GetLocation(): 45525
+ GetHouseCount(): 19
+ GetRating(): 0
+ Town 28
+ IsValidTown(): false
+ GetName(): (null : 0x00000000)
+ GetPopulation(): -1
+ GetLocation(): -1
+ GetHouseCount(): -1
+ GetRating(): -1
+ Town 29
+ IsValidTown(): false
+ GetName(): (null : 0x00000000)
+ GetPopulation(): -1
+ GetLocation(): -1
+ GetHouseCount(): -1
+ GetRating(): -1
+ Town 30
+ IsValidTown(): false
+ GetName(): (null : 0x00000000)
+ GetPopulation(): -1
+ GetLocation(): -1
+ GetHouseCount(): -1
+ GetRating(): -1
+ Town 31
+ IsValidTown(): false
+ GetName(): (null : 0x00000000)
+ GetPopulation(): -1
+ GetLocation(): -1
+ GetHouseCount(): -1
+ GetRating(): -1
+ Valid Towns: 28
+ GetTownCount(): 28
+
+--TownList--
+ Count(): 28
+ Location ListDump:
+ 23 => 59622
+ 7 => 59234
+ 5 => 55007
+ 22 => 51891
+ 14 => 51298
+ 8 => 51267
+ 1 => 46751
+ 27 => 45525
+ 15 => 42338
+ 3 => 41895
+ 4 => 41450
+ 26 => 39505
+ 6 => 38200
+ 12 => 32740
+ 2 => 28365
+ 17 => 24252
+ 20 => 22585
+ 24 => 19596
+ 16 => 17345
+ 25 => 16433
+ 0 => 15508
+ 11 => 14935
+ 18 => 10574
+ 21 => 9634
+ 13 => 9595
+ 19 => 6511
+ 10 => 6446
+ 9 => 5825
+ DistanceManhattanToTile(30000) ListDump:
+ 23 => 297
+ 5 => 272
+ 9 => 240
+ 4 => 230
+ 27 => 225
+ 22 => 216
+ 16 => 195
+ 21 => 194
+ 12 => 190
+ 1 => 176
+ 3 => 165
+ 7 => 164
+ 2 => 164
+ 17 => 163
+ 0 => 157
+ 19 => 155
+ 13 => 155
+ 24 => 133
+ 14 => 133
+ 18 => 106
+ 8 => 102
+ 15 => 98
+ 11 => 98
+ 10 => 94
+ 26 => 70
+ 25 => 54
+ 6 => 40
+ 20 => 38
+ DistanceSquareToTile(30000) ListDump:
+ 23 => 46349
+ 5 => 40034
+ 4 => 36532
+ 12 => 32500
+ 27 => 30825
+ 9 => 30050
+ 2 => 24698
+ 22 => 24386
+ 16 => 23525
+ 17 => 20129
+ 21 => 19396
+ 1 => 16546
+ 3 => 16277
+ 7 => 15496
+ 0 => 13249
+ 19 => 12433
+ 13 => 12025
+ 24 => 10145
+ 14 => 9389
+ 10 => 8468
+ 8 => 7250
+ 18 => 6676
+ 11 => 5002
+ 15 => 4804
+ 25 => 2810
+ 26 => 2458
+ 6 => 1088
+ 20 => 922
+ IsWithinTownInfluence(15508) ListDump:
+ 0 => 1
+ 27 => 0
+ 26 => 0
+ 25 => 0
+ 24 => 0
+ 23 => 0
+ 22 => 0
+ 21 => 0
+ 20 => 0
+ 19 => 0
+ 18 => 0
+ 17 => 0
+ 16 => 0
+ 15 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+ 11 => 0
+ 10 => 0
+ 9 => 0
+ 8 => 0
+ 7 => 0
+ 6 => 0
+ 5 => 0
+ 4 => 0
+ 3 => 0
+ 2 => 0
+ 1 => 0
+ GetAllowedNoise() ListDump:
+ 27 => 2
+ 26 => 2
+ 25 => 2
+ 24 => 2
+ 23 => 2
+ 22 => 2
+ 21 => 2
+ 20 => 2
+ 19 => 2
+ 18 => 2
+ 17 => 2
+ 16 => 2
+ 14 => 2
+ 13 => 2
+ 12 => 2
+ 11 => 2
+ 10 => 2
+ 9 => 2
+ 8 => 2
+ 7 => 2
+ 6 => 2
+ 5 => 2
+ 4 => 2
+ 3 => 2
+ 2 => 2
+ 1 => 2
+ 0 => 2
+ 15 => 1
+ KeepAboveValue(500): done
+ Count(): 11
+ Population ListDump:
+ 7 => 1006
+ 12 => 982
+ 15 => 807
+ 21 => 772
+ 16 => 767
+ 0 => 757
+ 23 => 752
+ 10 => 737
+ 6 => 679
+ 24 => 668
+ 25 => 563
+ HasStatue(): false
+ GetRoadReworkDuration(): 0
+ GetExclusiveRightsCompany(): -1
+ GetExclusiveRightsDuration(): 0
+ IsActionAvailable(BUILD_STATUE): true
+ PerformTownAction(BUILD_STATUE): true
+ IsActionAvailable(BUILD_STATUE): false
+ HasStatue(): true
+
+--Tunnel--
+ IsTunnelTile(): false
+ RemoveTunnel(): false
+ GetOtherTunnelEnd(): 28026
+ BuildTunnel(): true
+ GetOtherTunnelEnd(): 28026
+ IsTunnelTile(): true
+ IsTunnelTile(): true
+ RemoveTunnel(): true
+ IsTunnelTile(): false
+ --Errors--
+ BuildTunnel(): true
+ BuildTunnel(): false
+ GetLastErrorString(): ERR_TUNNEL_ANOTHER_TUNNEL_IN_THE_WAY
+ RemoveTunnel(): true
+
+--Vehicle--
+ IsValidVehicle(-1): false
+ IsValidVehicle(0): false
+ IsValidVehicle(12): false
+ ISValidVehicle(9999): false
+ BuildVehicle(): 12
+ IsValidVehicle(12): true
+ CloneVehicle(): 13
+ --Accounting--
+ GetCosts(): 932
+ Should be: 932
+ ResetCosts(): (null : 0x00000000)
+ SellVehicle(13): true
+ IsInDepot(): true
+ IsStoppedInDepot(): true
+ StartStopVehicle(): true
+ IsInDepot(): false
+ IsStoppedInDepot(): false
+ SendVehicleToDepot(): true
+ IsInDepot(): false
+ IsStoppedInDepot(): false
+ --Accounting--
+ GetCosts(): -466
+ Should be: -466
+ GetName(): Road Vehicle 1
+ SetName(): true
+ GetName(): MyVehicleName
+ CloneVehicle(): 13
+ --VehicleData--
+ GetLocation(): 33417
+ GetEngineType(): 153
+ GetUnitNumber(): 1
+ GetAge(): 0
+ GetMaxAge(): 5490
+ GetAgeLeft(): 5490
+ GetCurrentSpeed(): 4
+ GetRunningCost(): 14
+ GetProfitThisYear(): 0
+ GetProfitLastYear(): 0
+ GetCurrentValue(): 466
+ GetVehicleType(): 1
+ GetRoadType(): 0
+ GetCapacity(): 12
+ GetCargoLoad(): 0
+ IsInDepot(): false
+ GetNumWagons(): 1
+ GetWagonEngineType(): 153
+ GetWagonAge(): 0
+ GetLength(): 8
+ GetOwner(): 1
+ BuildVehicle(): 14
+ IsValidVehicle(14): true
+ IsInDepot(14): true
+ IsStoppedInDepot(14): true
+ IsValidVehicle(15): false
+ IsInDepot(15): false
+ IsStoppedInDepot(15): false
+ BuildVehicle(): 16
+ IsValidVehicle(16): true
+ IsInDepot(16): true
+ IsStoppedInDepot(16): true
+ BuildRailDepot(): true
+ BuildVehicle(): 17
+ BuildVehicle(): 18
+ BuildVehicle(): 19
+ MoveWagon(): true
+ GetNumWagons(): 3
+ GetLength(): 24
+ GetWagonEngineType(): 9
+ GetWagonAge(): 0
+ GetWagonEngineType(): 27
+ GetWagonAge(): 0
+ GetWagonEngineType(): 27
+ GetWagonAge(): 0
+ GetWagonEngineType(): 65535
+ GetWagonAge(): -1
+ --Errors--
+ RefitVehicle(): false
+ GetLastErrorString(): ERR_VEHICLE_NOT_IN_DEPOT
+ SellVehicle(): false
+ GetLastErrorString(): ERR_VEHICLE_NOT_IN_DEPOT
+ SendVehicleToDepot(): false
+ GetLastErrorString(): ERR_UNKNOWN
+
+--VehicleList--
+ Count(): 5
+ Location ListDump:
+ 13 => 33417
+ 12 => 33417
+ 14 => 32119
+ 16 => 28479
+ 17 => 10008
+ EngineType ListDump:
+ 14 => 219
+ 16 => 204
+ 13 => 153
+ 12 => 153
+ 17 => 9
+ UnitNumber ListDump:
+ 13 => 2
+ 17 => 1
+ 16 => 1
+ 14 => 1
+ 12 => 1
+ Age ListDump:
+ 17 => 0
+ 16 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+ MaxAge ListDump:
+ 16 => 10980
+ 14 => 10980
+ 17 => 7320
+ 13 => 5490
+ 12 => 5490
+ AgeLeft ListDump:
+ 16 => 10980
+ 14 => 10980
+ 17 => 7320
+ 13 => 5490
+ 12 => 5490
+ CurrentSpeed ListDump:
+ 12 => 13
+ 17 => 0
+ 16 => 0
+ 14 => 0
+ 13 => 0
+ RunningCost ListDump:
+ 17 => 21
+ 16 => 21
+ 14 => 15
+ 13 => 14
+ 12 => 14
+ ProfitThisYear ListDump:
+ 17 => 0
+ 16 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+ ProfitLastYear ListDump:
+ 17 => 0
+ 16 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+ CurrentValue ListDump:
+ 16 => 515
+ 13 => 466
+ 12 => 466
+ 17 => 61
+ 14 => 48
+ VehicleType ListDump:
+ 14 => 3
+ 16 => 2
+ 13 => 1
+ 12 => 1
+ 17 => 0
+ RoadType ListDump:
+ 13 => 0
+ 12 => 0
+ 17 => -1
+ 16 => -1
+ 14 => -1
+ VehicleType ListDump:
+ 13 => 12
+ 12 => 12
+ 17 => 0
+ 16 => 0
+ 14 => 0
+ VehicleType ListDump:
+ 17 => 0
+ 16 => 0
+ 14 => 0
+ 13 => 0
+ 12 => 0
+
+--Order--
+ GetOrderCount(): 0
+ GetOrderDestination(): -1
+ AreOrderFlagsValid(): true
+ IsValidVehicleOrder(): false
+ GetOrderFlags(): 65535
+ AppendOrder(): true
+ InsertOrder(): true
+ GetOrderCount(): 2
+ IsValidVehicleOrder(): true
+ RemoveOrder(): true
+ ChangeOrder(): true
+ GetOrderDestination(): 33411
+ CopyOrders(): false
+ CopyOrders(): true
+ ShareOrders(): false
+ ShareOrders(): true
+ UnshareOrders(): true
+ AppendOrder(): true
+
+--StationList_Vehicle--
+ Count(): 2
+ Location ListDump:
+ 4 => 33421
+ 3 => 33411
+ CargoWaiting(0) ListDump:
+ 4 => 0
+ 3 => 0
+ CargoWaiting(1) ListDump:
+ 4 => 0
+ 3 => 0
+ CargoRating(1) ListDump:
+ 4 => 69
+ 3 => 69
+ DistanceManhattanToTile(30000) ListDump:
+ 4 => 106
+ 3 => 96
+ DistanceSquareToTile(30000) ListDump:
+ 4 => 8818
+ 3 => 7058
+ IsWithinTownInfluence(0) ListDump:
+ 4 => 0
+ 3 => 0
+
+--VehicleList_Station--
+ Count(): 1
+ Location ListDump:
+ 12 => 33417
+ foreach():
+ 12 => 33417
+
+ First Subsidy Test
+ --Subsidy (0) --
+ IsValidSubsidy(): false
+ IsAwarded(): false
+ GetAwardedTo(): -1
+ GetExpireDate(): -1
+ SourceIsTown(): false
+ GetSource(): 65535
+ DestionationIsTown(): false
+ GetDestionation(): 65535
+ GetCargoType(): 255
+ GetNextEvent: instance
+ GetEventType: 2
+ EventName: SubsidyOffer
+ --Subsidy (4) --
+ IsValidSubsidy(): true
+ IsAwarded(): false
+ GetAwardedTo(): -1
+ GetExpireDate(): 714414
+ SourceIsTown(): true
+ GetSource(): 10
+ DestionationIsTown(): true
+ GetDestionation(): 25
+ GetCargoType(): 0
+ GetNextEvent: instance
+ GetEventType: 6
+ Unknown Event
+ GetNextEvent: instance
+ GetEventType: 3
+ Unknown Event
+ GetNextEvent: instance
+ GetEventType: 3
+ Unknown Event
+ IsEventWaiting: false
+ERROR: The AI died unexpectedly.
diff --git a/bin/ai/regression/regression_info.nut b/bin/ai/regression/regression_info.nut
new file mode 100644
index 000000000..9ddd3daa2
--- /dev/null
+++ b/bin/ai/regression/regression_info.nut
@@ -0,0 +1,11 @@
+class Regression extends AIInfo {
+ function GetAuthor() { return "OpenTTD NoAI Developers Team"; }
+ function GetName() { return "Regression"; }
+ function GetDescription() { return "This runs regression-tests on all commands. On the same map the result should always be the same."; }
+ function GetVersion() { return 1; }
+ function GetDate() { return "2007-03-18"; }
+ function CreateInstance() { return "Regression"; }
+}
+
+RegisterAI(Regression());
+
diff --git a/bin/ai/regression/require.nut b/bin/ai/regression/require.nut
new file mode 100644
index 000000000..806f5df45
--- /dev/null
+++ b/bin/ai/regression/require.nut
@@ -0,0 +1,3 @@
+
+print(" Required this file");
+
diff --git a/bin/ai/regression/run.sh b/bin/ai/regression/run.sh
new file mode 100644
index 000000000..3f9819e91
--- /dev/null
+++ b/bin/ai/regression/run.sh
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+if ! [ -f ai/regression/regression.nut ]; then
+ echo "Make sure you are in the root of OpenTTD before starting this script."
+ exit 1
+fi
+
+cp ai/regression/regression.nut ai/regression/main.nut
+cp ai/regression/regression_info.nut ai/regression/info.nut
+
+if [ -f scripts/game_start.scr ]; then
+ mv scripts/game_start.scr scripts/game_start.src.regression
+fi
+
+params=""
+gdb=""
+if [ "$1" != "-r" ]; then
+ params="-snull -mnull -vnull:ticks=30000"
+fi
+if [ "$1" = "-g" ]; then
+ gdb="gdb --ex run --args "
+fi
+if [ -n "$gdb" ]; then
+ $gdb ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav
+else
+ ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d ai=2 2>&1 | awk '{ gsub("0x\\(nil\\)", "0x00000000", $0); gsub("^dbg: \\[ai\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression
+fi
+
+if [ -z "$gdb" ]; then
+ res="`diff -ub ai/regression/regression.txt tmp.regression`"
+ if [ -z "$res" ]; then
+ echo "Regression test passed!"
+ else
+ echo "Regression test failed! Difference:"
+ echo "$res"
+ fi
+ echo ""
+ echo "Regression test done"
+fi
+
+rm -f ai/regression/main.nut ai/regression/info.nut
+
+if [ -f scripts/game_start.scr.regression ]; then
+ mv scripts/game_start.scr.regression scripts/game_start.src
+fi
+
+if [ "$1" != "-k" ]; then
+ rm -f tmp.regression
+fi