diff options
author | Patric Stout <truebrain@openttd.org> | 2019-04-07 11:45:52 +0200 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2020-06-05 19:36:05 +0200 |
commit | 203a77c1dc722df677302e84c6d5c0d4cb06d8ee (patch) | |
tree | f14d2016746b24640b0dd8d7dd9d0b342ece9cde /bin | |
parent | 84b71f796220b382c2bf943a406234ffb18098b8 (diff) | |
download | openttd-203a77c1dc722df677302e84c6d5c0d4cb06d8ee.tar.xz |
Codechange: move regression outside of bin and make it work via CMake script
The tst_stationlist savegame had to be changed to start the correct
AI. In the old setup, all regression AIs had the same name, which
made it impossible to run both regressions in parallel. With the new
setup this is possible.
Although all files are available to run the regression, it won't
really work till CMake is introduced (which will happen in a few
commits from here)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ai/regression/completeness.sh | 67 | ||||
-rw-r--r-- | bin/ai/regression/empty.sav | bin | 97731 -> 0 bytes | |||
-rw-r--r-- | bin/ai/regression/regression.cfg | 20 | ||||
-rw-r--r-- | bin/ai/regression/regression_info.nut | 13 | ||||
-rwxr-xr-x | bin/ai/regression/run.sh | 69 | ||||
-rw-r--r-- | bin/ai/regression/run.vbs | 152 | ||||
-rw-r--r-- | bin/ai/regression/tst_regression/main.nut | 1935 | ||||
-rw-r--r-- | bin/ai/regression/tst_regression/require.nut | 2 | ||||
-rw-r--r-- | bin/ai/regression/tst_regression/result.txt | 9348 | ||||
-rw-r--r-- | bin/ai/regression/tst_stationlist/main.nut | 214 | ||||
-rw-r--r-- | bin/ai/regression/tst_stationlist/result.txt | 127 | ||||
-rw-r--r-- | bin/ai/regression/tst_stationlist/test.sav | bin | 94348 -> 0 bytes |
12 files changed, 0 insertions, 11947 deletions
diff --git a/bin/ai/regression/completeness.sh b/bin/ai/regression/completeness.sh deleted file mode 100755 index 46cee4ed3..000000000 --- a/bin/ai/regression/completeness.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -if ! [ -f ai/regression/completeness.sh ]; then - echo "Make sure you are in the root of OpenTTD before starting this script." - exit 1 -fi - -cat ai/regression/tst_*/main.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 occurrence of AI. - # If we do not remove any other occurrences of AI from the string - # we will remove everything before the LAST occurrence 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/script/api/ai/*.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/empty.sav b/bin/ai/regression/empty.sav Binary files differdeleted file mode 100644 index cf97052c2..000000000 --- a/bin/ai/regression/empty.sav +++ /dev/null diff --git a/bin/ai/regression/regression.cfg b/bin/ai/regression/regression.cfg deleted file mode 100644 index 4b8a5f6cd..000000000 --- a/bin/ai/regression/regression.cfg +++ /dev/null @@ -1,20 +0,0 @@ -[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 - -[construction] -max_bridge_length = 100 diff --git a/bin/ai/regression/regression_info.nut b/bin/ai/regression/regression_info.nut deleted file mode 100644 index 758754cfe..000000000 --- a/bin/ai/regression/regression_info.nut +++ /dev/null @@ -1,13 +0,0 @@ -class Regression extends AIInfo { - function GetAuthor() { return "OpenTTD NoAI Developers Team"; } - function GetName() { return "Regression"; } - function GetShortName() { return "REGR"; } - function GetDescription() { return "This runs regression-tests on some commands. On the same map the result should always be the same."; } - function GetVersion() { return 1; } - function GetAPIVersion() { return "1.11"; } - function GetDate() { return "2007-03-18"; } - function CreateInstance() { return "Regression"; } -} - -RegisterAI(Regression()); - diff --git a/bin/ai/regression/run.sh b/bin/ai/regression/run.sh deleted file mode 100755 index 7574b0b38..000000000 --- a/bin/ai/regression/run.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -if ! [ -f ai/regression/run.sh ]; then - echo "Make sure you are in the root of OpenTTD before starting this script." - exit 1 -fi - -if [ -f scripts/game_start.scr ]; then - mv scripts/game_start.scr scripts/game_start.scr.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 [ -d "ai/regression/tst_$1" ]; then - tests="ai/regression/tst_$1" -elif [ -d "ai/regression/tst_$2" ]; then - tests="ai/regression/tst_$2" -else - tests=ai/regression/tst_* -fi - -ret=0 -for tst in $tests; do - echo -n "Running $tst... " - - # Make sure that only one info.nut is present for each test run. Otherwise openttd gets confused. - cp ai/regression/regression_info.nut $tst/info.nut - - sav=$tst/test.sav - if ! [ -f $sav ]; then - sav=ai/regression/empty.sav - fi - - if [ -n "$gdb" ]; then - $gdb ./openttd -x -c ai/regression/regression.cfg $params -g $sav - else - ./openttd -x -c ai/regression/regression.cfg $params -g $sav -d script=2 -d misc=9 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)(x0)?", "0x00000000", $0); gsub("^dbg: \\[script\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' | grep -v '^dbg: \[.*\]' > $tst/tmp.regression - fi - - if [ -z "$gdb" ]; then - res="`diff -ub $tst/result.txt $tst/tmp.regression`" - if [ -z "$res" ]; then - echo "passed!" - else - echo "failed! Difference:" - echo "$res" - ret=1 - fi - fi - - rm $tst/info.nut - - if [ "$1" != "-k" ]; then - rm -f $tst/tmp.regression - fi -done - -if [ -f scripts/game_start.scr.regression ]; then - mv scripts/game_start.scr.regression scripts/game_start.scr -fi - -exit $ret diff --git a/bin/ai/regression/run.vbs b/bin/ai/regression/run.vbs deleted file mode 100644 index b4bdef4c1..000000000 --- a/bin/ai/regression/run.vbs +++ /dev/null @@ -1,152 +0,0 @@ -Option Explicit - -' This file is part of OpenTTD. -' OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. -' OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -' See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. - -Dim FSO -Set FSO = CreateObject("Scripting.FileSystemObject") - -Function GetTestList() - Dim retests, i, tests, dir - Set retests = New RegExp - Set GetTestList = CreateObject("Scripting.Dictionary") - - retests.Pattern = "ai/regression/tst_*" - retests.Global = True - For i = 0 To WScript.Arguments.Count - 1 - Dim test - test = "ai/regression/tst_" & WScript.Arguments.Item(i) - If FSO.FolderExists(test) Then - retests.Pattern = test - Exit For - End If - Next - - For Each dir In FSO.GetFolder("ai/regression/").SubFolders - Dim name - name = "ai/regression/" & dir.Name - If retests.Test(name) Then - GetTestList.Add name, name - End If - Next -End Function - -Function GetParams() - GetParams = "-snull -mnull -vnull:ticks=30000" - If WScript.Arguments.Count = 0 Then Exit Function - If WScript.Arguments.Item(0) <> "-r" Then Exit Function - GetParams = "" -End Function - -Sub FilterFile(filename) - Dim lines, filter, file - - Set file = FSO.OpenTextFile(filename, 1) - If Not file.AtEndOfStream Then - lines = file.ReadAll - End If - file.Close - - Set filter = New RegExp - filter.Global = True - filter.Multiline = True - filter.Pattern = "0x(\(nil\)|0+)(x0)?" - lines = filter.Replace(lines, "0x00000000") - filter.Pattern = "^dbg: \[script\]" - lines = filter.Replace(lines, "") - filter.Pattern = "^ " - lines = filter.Replace(lines, "ERROR: ") - filter.Pattern = "ERROR: \[1\] \[P\] " - lines = filter.Replace(lines, "") - filter.Pattern = "^dbg: .*\r\n" - lines = filter.Replace(lines, "") - - Set file = FSO.OpenTextFile(filename, 2) - file.Write lines - file.Close -End Sub - -Function CompareFiles(filename1, filename2) - Dim file, lines1, lines2 - Set file = FSO.OpenTextFile(filename1, 1) - If Not file.AtEndOfStream Then - lines1 = file.ReadAll - End IF - file.Close - Set file = FSO.OpenTextFile(filename2, 1) - If Not file.AtEndOfStream Then - lines2 = file.ReadAll - End IF - file.Close - CompareFiles = (lines1 = lines2) -End Function - -Function RunTest(test, params, ret) - Dim WshShell, oExec, sav, command - Set WshShell = CreateObject("WScript.Shell") - - ' Make sure that only one info.nut is present for each test run. Otherwise openttd gets confused. - FSO.CopyFile "ai/regression/regression_info.nut", test & "/info.nut" - - sav = test & "/test.sav" - If Not FSO.FileExists(sav) Then - sav = "ai/regression/empty.sav" - End If - - command = ".\openttd -x -c ai/regression/regression.cfg " & params & " -g " & sav & " -d script=2 -d misc=9" - ' 2>&1 must be after >tmp.regression, else stderr is not redirected to the file - WshShell.Run "cmd /c " & command & " >"& test & "/tmp.regression 2>&1", 0, True - - FilterFile test & "/tmp.regression" - - If CompareFiles(test & "/result.txt", test & "/tmp.regression") Then - RunTest = "passed!" - Else - RunTest = "failed!" - ret = 1 - End If - - FSO.DeleteFile test & "/info.nut" - - If WScript.Arguments.Count > 0 Then - If WScript.Arguments.Item(0) = "-k" Then - Exit Function - End If - End If - - FSO.DeleteFile test & "/tmp.regression" -End Function - -On Error Resume Next -WScript.StdOut.WriteLine "" -If Err.Number <> 0 Then - WScript.Echo "This script must be started with cscript." - WScript.Quit 1 -End If -On Error Goto 0 - -If Not FSO.FileExists("ai/regression/run.vbs") Then - WScript.Echo "Make sure you are in the root of OpenTTD before starting this script." - WScript.Quit 1 -End If - -If FSO.FileExists("scripts/game_start.scr") Then - FSO.MoveFile "scripts/game_start.scr", "scripts/game_start.scr.regression" -End If - -Dim params, test, ret -params = GetParams() -ret = 0 - -For Each test in GetTestList() - WScript.StdOut.Write "Running " & test & "... " - WScript.StdOut.WriteLine RunTest(test, params, ret) -Next - -If FSO.FileExists("scripts/game_start.scr.regression") Then - FSO.MoveFile "scripts/game_start.scr.regression", "scripts/game_start.scr" -End If - -WScript.Quit ret diff --git a/bin/ai/regression/tst_regression/main.nut b/bin/ai/regression/tst_regression/main.nut deleted file mode 100644 index 65742d71b..000000000 --- a/bin/ai/regression/tst_regression/main.nut +++ /dev/null @@ -1,1935 +0,0 @@ -class Regression extends AIController { - function Start(); -}; - - - -function Regression::TestInit() -{ - print(""); - print("--TestInit--"); - print(" Ops: " + this.GetOpsTillSuspend()); - print(" TickTest: " + this.GetTick()); - this.Sleep(1); - print(" TickTest: " + this.GetTick()); - print(" Ops: " + this.GetOpsTillSuspend()); - 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.IsEnd(); 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.IsEnd(); i = list.Next()) { - list.SetValue(i, 2); - print(" " + i); - } - print(""); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i); - } - - list = AIList(); - list.Sort(AIList.SORT_BY_VALUE, AIList.SORT_ASCENDING); - 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.IsEnd(); 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.IsEnd(); i = list.Next()) { - list.SetValue(i, 50); - print(" " + i); - } - print(""); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i); - } - - list = AIList(); - list.Sort(AIList.SORT_BY_ITEM, AIList.SORT_DESCENDING); - 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.IsEnd(); 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.IsEnd(); i = list.Next()) { - list.SetValue(i, 2); - print(" " + i); - } - print(""); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i); - } - - list = AIList(); - list.Sort(AIList.SORT_BY_ITEM, AIList.SORT_ASCENDING); - 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.IsEnd(); 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.IsEnd(); i = list.Next()) { - list.SetValue(i, 50); - print(" " + i); - } - print(""); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i); - } - - list.Clear(); - foreach (idx, val in list) { - print(" " + idx); - } - - print(" Ops: " + this.GetOpsTillSuspend()); -} - -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(1000000): " + AIBase.RandRange(1000000)); // 32 bit tests - print(" RandRange(1000000): " + AIBase.RandRange(1000000)); - print(" RandRange(1000000): " + AIBase.RandRange(1000000)); - 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(" IsAirportInformationAvailable(" + i + "): " + AIAirport.IsAirportInformationAvailable(i)); - print(" IsValidAirportType(" + i + "): " + AIAirport.IsValidAirportType(i)); - print(" GetAirportWidth(" + i + "): " + AIAirport.GetAirportWidth(i)); - print(" GetAirportHeight(" + i + "): " + AIAirport.GetAirportHeight(i)); - print(" GetAirportCoverageRadius(" + i + "): " + AIAirport.GetAirportCoverageRadius(i)); - } - - print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF)); - print(" GetPrice(): " + AIAirport.GetPrice(0)); - print(" BuildAirport(): " + AIAirport.BuildAirport(32116, 0, AIStation.STATION_JOIN_ADJACENT)); - 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.COMPANY_SELF)); - - print(" RemoveAirport(): " + AIAirport.RemoveAirport(32118)); - print(" IsHangarTile(): " + AIAirport.IsHangarTile(32119)); - print(" IsAirportTile(): " + AIAirport.IsAirportTile(32119)); - print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF)); - print(" BuildAirport(): " + AIAirport.BuildAirport(32116, 0, AIStation.STATION_JOIN_ADJACENT)); -} - -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():"); - print(" VT_RAIL: " + AIBridge.GetName(i, AIVehicle.VT_RAIL)); - print(" VT_ROAD: " + AIBridge.GetName(i, AIVehicle.VT_ROAD)); - print(" VT_WATER: " + AIBridge.GetName(i, AIVehicle.VT_WATER)); - print(" VT_AIR: " + AIBridge.GetName(i, AIVehicle.VT_AIR)); - print(" GetMaxSpeed(): " + AIBridge.GetMaxSpeed(i)); - print(" GetPrice(): " + AIBridge.GetPrice(i, 5)); - print(" GetMaxLength(): " + AIBridge.GetMaxLength(i)); - print(" GetMinLength(): " + AIBridge.GetMinLength(i)); - } - print(" Valid Bridges: " + j); - - print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33160)); - print(" GetBridgeID(): " + AIBridge.GetBridgeID(33160)); - print(" RemoveBridge(): " + AIBridge.RemoveBridge(33155)); - print(" GetLastErrorString(): " + AIError.GetLastErrorString()); - print(" GetOtherBridgeEnd(): " + AIBridge.GetOtherBridgeEnd(33160)); - print(" BuildBridge(): " + AIBridge.BuildBridge(AIVehicle.VT_ROAD, 5, 33160, 33155)); - print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33160)); - print(" GetBridgeID(): " + AIBridge.GetBridgeID(33160)); - print(" IsBridgeTile(): " + AIBridge.IsBridgeTile(33155)); - print(" GetBridgeID(): " + AIBridge.GetBridgeID(33155)); - print(" GetOtherBridgeEnd(): " + AIBridge.GetOtherBridgeEnd(33160)); - print(" BuildBridge(): " + AIBridge.BuildBridge(AIVehicle.VT_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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIBridge.GetPrice, 5); - print(" Price ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIBridge.GetMaxLength); - print(" MaxLength ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIBridge.GetMinLength); - print(" MinLength ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIBridge.GetPrice, 14); - print(" Price ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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)); - print(" GetRoadVehicleTypeForCargo(): " + AIRoad.GetRoadVehicleTypeForCargo(i)); - } -} - -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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.COMPANY_SELF)); - print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.COMPANY_SELF)); - print(" SetPresidentName(): " + AICompany.SetPresidentName("Regression AI")); - print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.COMPANY_SELF)); - print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF)); - 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.COMPANY_SELF)); - print(" GetLoanAmount(): " + AICompany.GetLoanAmount()); - print(" SetMinimumLoanAmount(31337): " + AICompany.SetMinimumLoanAmount(31337)); - print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF)); - print(" GetLoanAmount(): " + AICompany.GetLoanAmount()); - print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(AICompany.GetMaxLoanAmount())); - print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF)); - print(" GetLoanAmount(): " + AICompany.GetLoanAmount()); - print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF)); - print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(127, 129))); - print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF)); - print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 129))); - print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF)); - print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 128))); - print(" GetLastErrorString(): " + AIError.GetLastErrorString()); - print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF)); - print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true)); - print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF)); - print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true)); - print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false)); - print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF)); - print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12)); - print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF)); - print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12)); - print(" SetAutoRenewMonths(6); " + AICompany.SetAutoRenewMonths(6)); - print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.COMPANY_SELF)); - print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000)); - print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.COMPANY_SELF)); - print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000)); - print(" SetAutoRenewMoney(100000); " + AICompany.SetAutoRenewMoney(100000)); - for (local i = -1; i <= AICompany.EARLIEST_QUARTER; i++) { - print(" Quarter: " + i); - print(" GetQuarterlyIncome(); " + AICompany.GetQuarterlyIncome(AICompany.COMPANY_SELF, i)); - print(" GetQuarterlyExpenses(); " + AICompany.GetQuarterlyExpenses(AICompany.COMPANY_SELF, i)); - print(" GetQuarterlyCargoDelivered(); " + AICompany.GetQuarterlyCargoDelivered(AICompany.COMPANY_SELF, i)); - print(" GetQuarterlyPerformanceRating(); " + AICompany.GetQuarterlyPerformanceRating(AICompany.COMPANY_SELF, i)); - print(" GetQuarterlyCompanyValue(); " + AICompany.GetQuarterlyCompanyValue(AICompany.COMPANY_SELF, i)); - } -} - -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(" GetPower(): " + AIEngine.GetPower(i)); - print(" GetWeight(): " + AIEngine.GetWeight(i)); - print(" GetMaxTractiveEffort(): " + AIEngine.GetMaxTractiveEffort(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.VT_ROAD); - - print(""); - print("--EngineList--"); - print(" Count(): " + list.Count()); - list.Valuate(AIEngine.GetCargoType); - print(" CargoType ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIEngine.GetCapacity); - print(" Capacity ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIEngine.GetReliability); - print(" Reliability ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIEngine.GetMaxSpeed); - print(" MaxSpeed ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIEngine.GetPrice); - print(" Price ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -} - -function Regression::Prices() -{ - print(""); - print("--Prices--"); - print(" -Rail-"); - print(" 0,BT_TRACK: " + AIRail.GetBuildCost(0, AIRail.BT_TRACK)); - print(" 0,BT_SIGNAL: " + AIRail.GetBuildCost(0, AIRail.BT_SIGNAL)); - print(" 0,BT_DEPOT: " + AIRail.GetBuildCost(0, AIRail.BT_DEPOT)); - print(" 0,BT_STATION: " + AIRail.GetBuildCost(0, AIRail.BT_STATION)); - print(" 0,BT_WAYPOINT: " + AIRail.GetBuildCost(0, AIRail.BT_WAYPOINT)); - print(" 1,BT_TRACK: " + AIRail.GetBuildCost(1, AIRail.BT_TRACK)); - print(" 1,BT_SIGNAL: " + AIRail.GetBuildCost(1, AIRail.BT_SIGNAL)); - print(" 1,BT_DEPOT: " + AIRail.GetBuildCost(1, AIRail.BT_DEPOT)); - print(" 1,BT_STATION: " + AIRail.GetBuildCost(1, AIRail.BT_STATION)); - print(" 1,BT_WAYPOINT: " + AIRail.GetBuildCost(1, AIRail.BT_WAYPOINT)); - print(" -Road-"); - print(" ROADTYPE_ROAD,BT_ROAD: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_ROAD, AIRoad.BT_ROAD)); - print(" ROADTYPE_ROAD,BT_DEPOT: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_ROAD, AIRoad.BT_DEPOT)); - print(" ROADTYPE_ROAD,BT_BUS_STOP: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_ROAD, AIRoad.BT_BUS_STOP)); - print(" ROADTYPE_ROAD,BT_TRUCK_STOP: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_ROAD, AIRoad.BT_TRUCK_STOP)); - print(" ROADTYPE_TRAM,BT_ROAD: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_TRAM, AIRoad.BT_ROAD)); - print(" ROADTYPE_TRAM,BT_DEPOT: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_TRAM, AIRoad.BT_DEPOT)); - print(" ROADTYPE_TRAM,BT_BUS_STOP: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_TRAM, AIRoad.BT_BUS_STOP)); - print(" ROADTYPE_TRAM,BT_TRUCK_STOP: " + AIRoad.GetBuildCost(AIRoad.ROADTYPE_TRAM, AIRoad.BT_TRUCK_STOP)); - print(" -Water-"); - print(" BT_DOCK: " + AIMarine.GetBuildCost(AIMarine.BT_DOCK)); - print(" BT_DEPOT: " + AIMarine.GetBuildCost(AIMarine.BT_DEPOT)); - print(" BT_BUOY: " + AIMarine.GetBuildCost(AIMarine.BT_BUOY)); - print(" -Tile-"); - print(" BT_FOUNDATION: " + AITile.GetBuildCost(AITile.BT_FOUNDATION)); - print(" BT_TERRAFORM: " + AITile.GetBuildCost(AITile.BT_TERRAFORM)); - print(" BT_BUILD_TREES: " + AITile.GetBuildCost(AITile.BT_BUILD_TREES)); - print(" BT_CLEAR_GRASS: " + AITile.GetBuildCost(AITile.BT_CLEAR_GRASS)); - print(" BT_CLEAR_ROUGH: " + AITile.GetBuildCost(AITile.BT_CLEAR_ROUGH)); - print(" BT_CLEAR_ROCKY: " + AITile.GetBuildCost(AITile.BT_CLEAR_ROCKY)); - print(" BT_CLEAR_FIELDS: " + AITile.GetBuildCost(AITile.BT_CLEAR_FIELDS)); - print(" BT_CLEAR_HOUSE: " + AITile.GetBuildCost(AITile.BT_CLEAR_HOUSE)); -} - -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::Group() -{ - print (""); - print("--Group--"); - print(" SetAutoReplace(): " + AIGroup.SetAutoReplace(AIGroup.GROUP_ALL, 116, 117)); - print(" GetEngineReplacement(): " + AIGroup.GetEngineReplacement(AIGroup.GROUP_ALL, 116)); - print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.GROUP_ALL, 116)); - print(" AIRoad.BuildRoadDepot(): " + AIRoad.BuildRoadDepot(10000, 10001)); - local vehicle = AIVehicle.BuildVehicle(10000, 116); - print(" AIVehicle.BuildVehicle(): " + vehicle); - print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.GROUP_ALL, 116)); - local group = AIGroup.CreateGroup(AIVehicle.VT_ROAD, AIGroup.GROUP_INVALID); - print(" CreateGroup(): " + group); - print(" MoveVehicle(): " + AIGroup.MoveVehicle(group, vehicle)); - print(" GetNumEngines(): " + AIGroup.GetNumEngines(group, 116)); - print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.GROUP_ALL, 116)); - print(" GetNumEngines(): " + AIGroup.GetNumEngines(AIGroup.GROUP_DEFAULT, 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(" GetIndustryCount(): " + AIIndustry.GetIndustryCount()); - local list = AIIndustryList(); - list.Sort(AIList.SORT_BY_ITEM, AIList.SORT_ASCENDING); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - if (AIIndustry.IsValidIndustry(i)) j++; - print(" Industry " + i); - print(" IsValidIndustry(): " + AIIndustry.IsValidIndustry(i)); - print(" GetName(): " + AIIndustry.GetName(i)); - print(" GetLocation(): " + AIIndustry.GetLocation(i)); - print(" IsCargoAccepted(): " + AIIndustry.IsCargoAccepted(i, 1)); - - local cargo_list = AICargoList(); - for (local j = cargo_list.Begin(); !cargo_list.IsEnd(); j = cargo_list.Next()) { - if (AIIndustry.IsCargoAccepted(i, j) || AIIndustry.GetLastMonthProduction(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()); - print(" GetIndustryID(): " + AIIndustry.GetIndustryID(19694)); - print(" GetIndustryID(): " + AIIndustry.GetIndustryID(19695)); -} - -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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIIndustry.GetDistanceManhattanToTile, 30000); - print(" DistanceManhattanToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIIndustry.GetDistanceSquareToTile, 30000); - print(" DistanceSquareToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIIndustry.GetAmountOfStationsAround); - print(" GetAmountOfStationsAround(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIIndustry.IsCargoAccepted, 1); - print(" CargoAccepted(1) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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)); - print(" IsBuiltOnWater(): " + AIIndustryType.IsBuiltOnWater(i)); - print(" HasHeliport(): " + AIIndustryType.HasHeliport(i)); - print(" HasDock(): " + AIIndustryType.HasDock(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.SetValue(1051, 12); - print(" Count(): " + list.Count()); - print(" HasItem(1050): " + list.HasItem(1050)); - print(" HasItem(1051): " + list.HasItem(1051)); - print(" IsEmpty(): " + list.IsEmpty()); - list.Sort(AIList.SORT_BY_ITEM, AIList.SORT_ASCENDING); - print(" List Dump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(CustomValuator); - print(" Custom ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(function (a) { return a * 42; }); - print(" Custom ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIBase.RandItem); - print(" Randomize ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list.KeepTop(10); - print(" KeepTop(10):"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.KeepBottom(8); - print(" KeepBottom(8):"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.RemoveBottom(2); - print(" RemoveBottom(2):"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.RemoveTop(2); - print(" RemoveTop(2):"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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()); - - for (local i = 0; i < 10; i++) { - list.AddItem(i, 5 + i / 2); - } - - local it = list.Begin(); - print(" " + it + " => " + list.GetValue(it) + " (" + !list.IsEnd() + ")"); - list.Sort(list.SORT_BY_VALUE, list.SORT_ASCENDING); - it = list.Next(); - print(" " + it + " => " + list.GetValue(it) + " (" + !list.IsEnd() + ")"); - - it = list.Begin(); - print(" " + it + " => " + list.GetValue(it) + " (" + !list.IsEnd() + ")"); - - list.SetValue(it + 1, -5); - it = list.Next(); - print(" " + it + " => " + list.GetValue(it) + " (" + !list.IsEnd() + ")"); - - list.RemoveValue(list.GetValue(it) + 1); - it = list.Next(); - print(" " + it + " => " + list.GetValue(it) + " (" + !list.IsEnd() + ")"); - - list.RemoveAboveValue(list.GetValue(it)); - it = list.Next(); - print(" " + it + " => " + list.GetValue(it) + " (" + !list.IsEnd() + ")"); - - while (!list.IsEnd()) { - it = list.Next(); - print(" " + it + " => " + list.GetValue(it)); - } -} - -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.COMPANY_SELF)); - print(" BuildWaterDepot(): " + AIMarine.BuildWaterDepot(28479, 28478)); - print(" BuildDock(): " + AIMarine.BuildDock(29253, AIStation.STATION_JOIN_ADJACENT)); - 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.COMPANY_SELF)); - - local list = AIWaypointList(AIWaypoint.WAYPOINT_BUOY); - print(""); - print("--AIWaypointList(BUOY)--"); - print(" Count(): " + list.Count()); - print(" Location ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + AIWaypoint.GetLocation(i)); - } - print(" HasWaypointType:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + AIWaypoint.HasWaypointType(i, AIWaypoint.WAYPOINT_RAIL) + " " + AIWaypoint.HasWaypointType(i, AIWaypoint.WAYPOINT_BUOY) + " " + AIWaypoint.HasWaypointType(i, AIWaypoint.WAYPOINT_ANY)); - } - print(""); - - 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.COMPANY_SELF)); - - print(" BuildWaterDepot(): " + AIMarine.BuildWaterDepot(28479, 28480)); - print(" BuildDock(): " + AIMarine.BuildDock(29253, AIStation.STATION_JOIN_ADJACENT)); -} - -function Regression::Order() -{ - print(""); - print("--Order--"); - print(" GetOrderCount(): " + AIOrder.GetOrderCount(12)); - print(" GetOrderDestination(): " + AIOrder.GetOrderDestination(12, 1)); - print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33416, AIOrder.OF_TRANSFER)); - print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33416, AIOrder.OF_TRANSFER | AIOrder.OF_UNLOAD)); - print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33416, AIOrder.OF_TRANSFER | AIOrder.OF_FULL_LOAD)); - print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33417, AIOrder.OF_SERVICE_IF_NEEDED)); - print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33417, AIOrder.OF_STOP_IN_DEPOT)); - print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(0, AIOrder.OF_SERVICE_IF_NEEDED | AIOrder.OF_GOTO_NEAREST_DEPOT)); - print(" IsValidConditionalOrder(): " + AIOrder.IsValidConditionalOrder(AIOrder.OC_LOAD_PERCENTAGE, AIOrder.CF_EQUALS)); - print(" IsValidConditionalOrder(): " + AIOrder.IsValidConditionalOrder(AIOrder.OC_RELIABILITY, AIOrder.CF_IS_TRUE)); - print(" IsValidConditionalOrder(): " + AIOrder.IsValidConditionalOrder(AIOrder.OC_REQUIRES_SERVICE, AIOrder.CF_IS_FALSE)); - print(" IsValidConditionalOrder(): " + AIOrder.IsValidConditionalOrder(AIOrder.OC_AGE, AIOrder.CF_INVALID)); - print(" IsValidVehicleOrder(): " + AIOrder.IsValidVehicleOrder(12, 1)); - print(" IsGotoStationOrder(): " + AIOrder.IsGotoStationOrder(12, 1)); - print(" IsGotoDepotOrder(): " + AIOrder.IsGotoDepotOrder(12, 1)); - print(" IsGotoWaypointOrder(): " + AIOrder.IsGotoWaypointOrder(12, 1)); - print(" IsConditionalOrder(): " + AIOrder.IsConditionalOrder(12, 1)); - print(" IsCurrentOrderPartOfOrderList(): " + AIOrder.IsCurrentOrderPartOfOrderList(12)); - print(" GetOrderFlags(): " + AIOrder.GetOrderFlags(12, 1)); - print(" AppendOrder(): " + AIOrder.AppendOrder(12, 33416, AIOrder.OF_TRANSFER)); - print(" InsertOrder(): " + AIOrder.InsertOrder(12, 0, 33416, AIOrder.OF_TRANSFER)); - print(" GetOrderCount(): " + AIOrder.GetOrderCount(12)); - print(" IsValidVehicleOrder(): " + AIOrder.IsValidVehicleOrder(12, 1)); - print(" IsGotoStationOrder(): " + AIOrder.IsGotoStationOrder(12, 1)); - print(" IsGotoDepotOrder(): " + AIOrder.IsGotoDepotOrder(12, 1)); - print(" IsGotoWaypointOrder(): " + AIOrder.IsGotoWaypointOrder(12, 1)); - print(" IsConditionalOrder(): " + AIOrder.IsConditionalOrder(12, 1)); - print(" IsCurrentOrderPartOfOrderList(): " + AIOrder.IsCurrentOrderPartOfOrderList(12)); - print(" GetOrderFlags(): " + AIOrder.GetOrderFlags(12, 0)); - print(" GetOrderFlags(): " + AIOrder.GetOrderFlags(12, 1)); - print(" GetOrderJumpTo(): " + AIOrder.GetOrderJumpTo(12, 1)); - print(" RemoveOrder(): " + AIOrder.RemoveOrder(12, 0)); - print(" SetOrderFlags(): " + AIOrder.SetOrderFlags(12, 0, AIOrder.OF_FULL_LOAD)); - print(" GetOrderFlags(): " + AIOrder.GetOrderFlags(12, 0)); - 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.OF_NONE)); - - print(" GetStopLocation(): " + AIOrder.GetStopLocation(13, 0)); - print(" BuildVehicle(): " + AIVehicle.BuildVehicle(23596, 8)); - print(" BuildRailStation(): " + AIRail.BuildRailStation(7958, AIRail.RAILTRACK_NE_SW, 1, 1, AIStation.STATION_NEW)); - print(" AppendOrder(): " + AIOrder.AppendOrder(20, 7958, AIOrder.OF_NONE)); - print(" GetOrderCount(): " + AIOrder.GetOrderCount(20)); - print(" GetStopLocation(): " + AIOrder.GetStopLocation(20, 0)); - print(" SetStopLocation(): " + AIOrder.SetStopLocation(20, 0, AIOrder.STOPLOCATION_MIDDLE)); - print(" GetStopLocation(): " + AIOrder.GetStopLocation(20, 0)); - - local 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - print(" foreach():"); - foreach (idx, val in list) { - print(" " + idx + " => " + val); - } -} - -function Regression::RailTypeList() -{ - local list = AIRailTypeList(); - - print(""); - print("--RailTypeList--"); - print(" Count(): " + list.Count()); - print(" ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" RailType: " + i); - print(" GetName(): " + AIRail.GetName(i)); - print(" IsRailTypeAvailable(): " + AIRail.IsRailTypeAvailable(i)); - print(" GetMaxSpeed(): " + AIRail.GetMaxSpeed(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(10006, 10005, 10002)); - print(" HasTransportType(): " + AITile.HasTransportType(10004, AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(10005, AITile.TRANSPORT_RAIL)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(6200, AIRail.RAILTRACK_NE_SW)); - print(" RemoveRailTrack(): " + AIRail.RemoveRailTrack(6200, AIRail.RAILTRACK_NW_NE)); - print(" RemoveRailTrack(): " + AIRail.RemoveRailTrack(6200, AIRail.RAILTRACK_NE_SW)); - print(" BuildRail(): " + AIRail.BuildRail(6200, 6200 + 256, 6200 + (256 * 4))); - print(" HasTransportType(): " + AITile.HasTransportType(6200 + (256 * 3), AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(6200 + (256 * 4), AITile.TRANSPORT_RAIL)); - print(" RemoveRail(): " + AIRail.RemoveRail(6200 + (256 * 3), 6200 + (256 * 2), 6200 - 256)); - print(" HasTransportType(): " + AITile.HasTransportType(6200 + (256 * 3), AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(6200 + (256 * 4), AITile.TRANSPORT_RAIL)); - print(" BuildRailTrack(): " + AIRail.BuildRail(14706, 14705, 12907)); - print(" HasTransportType(): " + AITile.HasTransportType(13421, AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(14191, AITile.TRANSPORT_RAIL)); - print(" RemoveRail(): " + AIRail.RemoveRail(12907, 13163, 14706)); - print(" HasTransportType(): " + AITile.HasTransportType(13421, AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(14191, AITile.TRANSPORT_RAIL)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NW_SW)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NE_SE)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NW_NE)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_SW_SE)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NE_SW)); - print(" DemolishTile(): " + AITile.DemolishTile(61533)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NE_SW)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NW_SE)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NW_NE)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_SW_SE)); - print(" DemolishTile(): " + AITile.DemolishTile(61533)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(61533, AIRail.RAILTRACK_NW_SE)); - - 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - print(" RemoveDepot(): " + AITile.DemolishTile(33411)); - print(" BuildRailDepot(): " + AIRail.BuildRailDepot(23596, 23597)); - - print(" Station"); - print(" BuildRailStation(): " + AIRail.BuildRailStation(0, AIRail.RAILTRACK_NE_SW, 1, 1, AIStation.STATION_NEW)); - print(" BuildRailStation(): " + AIRail.BuildRailStation(7958, AIRail.RAILTRACK_NE_SW, 4, 5, AIStation.STATION_NEW)); - print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7957)); - print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7958)); - print(" IsRailStationTile(): " + AIRail.IsRailStationTile(7959)); - print(" RemoveRailStationTileRectangle():" + AIRail.RemoveRailStationTileRectangle(7959, 7959, false)); - 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)); - - print(" Waypoint"); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(12646, AIRail.RAILTRACK_NW_SE)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(12648, AIRail.RAILTRACK_NE_SW)); - print(" BuildRailTrack(): " + AIRail.BuildRailTrack(12650, AIRail.RAILTRACK_NW_NE)); - print(" BuildRailWaypoint(): " + AIRail.BuildRailWaypoint(12644)); - print(" BuildRailWaypoint(): " + AIRail.BuildRailWaypoint(12646)); - print(" BuildRailWaypoint(): " + AIRail.BuildRailWaypoint(12648)); - print(" BuildRailWaypoint(): " + AIRail.BuildRailWaypoint(12650)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12644)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12646)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12648)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12650)); - print(" RemoveRailWaypointTileRectangle():" + AIRail.RemoveRailWaypointTileRectangle(12644, 12646, false)); - print(" RemoveRailWaypointTileRectangle():" + AIRail.RemoveRailWaypointTileRectangle(12648, 12650, true)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12644)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12646)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12648)); - print(" IsRailWaypointTile(): " + AIRail.IsRailWaypointTile(12650)); - print(" HasTransportType(): " + AITile.HasTransportType(12644, AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(12646, AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(12648, AITile.TRANSPORT_RAIL)); - print(" HasTransportType(): " + AITile.HasTransportType(12650, AITile.TRANSPORT_RAIL)); - print(" DemolishTile(): " + AITile.DemolishTile(12648)); - print(" DemolishTile(): " + AITile.DemolishTile(12650)); -} - -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.IsEnd(); 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, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(33411, 33411, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(33411, 33414, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(): " + AIRoad.BuildRoadStation(33411, 33412, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - 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, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(truck): " + AIRoad.BuildRoadStation(33421, 33422, AIRoad.ROADVEHTYPE_TRUCK, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(truck): " + AIRoad.BuildRoadStation(33412, 33413, AIRoad.ROADVEHTYPE_TRUCK, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(bus): " + AIRoad.BuildRoadStation(33411 + 256, 33411, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildRoadStation(truck): " + AIRoad.BuildRoadStation(33412 + 256, 33412 + 256 + 256, AIRoad.ROADVEHTYPE_TRUCK, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildDriveThroughRoadStation(bus-drive): " + AIRoad.BuildDriveThroughRoadStation(33413, 33412, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildDriveThroughRoadStation(truck-drive): " + AIRoad.BuildDriveThroughRoadStation(33414, 33413, AIRoad.ROADVEHTYPE_TRUCK, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildDriveThroughRoadStation(bus-drive): " + AIRoad.BuildDriveThroughRoadStation(33415, 33414, AIRoad.ROADVEHTYPE_BUS, AIStation.STATION_JOIN_ADJACENT)); - print(" BuildDriveThroughRoadStation(truck-drive): " + AIRoad.BuildDriveThroughRoadStation(33416, 33415, AIRoad.ROADVEHTYPE_TRUCK, AIStation.STATION_JOIN_ADJACENT)); - 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(""); - local list = AISignList(); - list.Sort(AIList.SORT_BY_ITEM, AIList.SORT_ASCENDING); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - 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(" 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)); - - print(""); - print("--CargoWaiting--"); - for (local cargo = 0; cargo <= 1000; cargo += 1000) { - for (local station0 = 0; station0 <= 1000; station0 += 1000) { - print(" GetCargoWaiting(" + station0 + ", " + cargo + "): " + - AIStation.GetCargoWaiting(station0, cargo)); - for (local station1 = 0; station1 <= 1000; station1 += 1000) { - print(" GetCargoWaitingFrom(" + station0 + ", " + station1 + ", " + cargo + "): " + - AIStation.GetCargoWaitingFrom(station0, station1, cargo)); - print(" GetCargoWaitingVia(" + station0 + ", " + station1 + ", " + cargo + "): " + - AIStation.GetCargoWaitingFrom(station0, station1, cargo)); - for (local station2 = 0; station2 <= 1000; station2 += 1000) { - print(" GetCargoWaitingFromVia(" + station0 + ", " + station1 + ", " + station2 + ", " + cargo + "): " + - AIStation.GetCargoWaitingFromVia(station0, station1, station2, cargo)); - } - } - } - } - - print(""); - print("--CargoPlanned--"); - for (local cargo = 0; cargo <= 1000; cargo += 1000) { - for (local station0 = 0; station0 <= 1000; station0 += 1000) { - print(" GetCargoPlanned(" + station0 + ", " + cargo + "): " + - AIStation.GetCargoPlanned(station0, cargo)); - for (local station1 = 0; station1 <= 1000; station1 += 1000) { - print(" GetCargoPlannedFrom(" + station0 + ", " + station1 + ", " + cargo + "): " + - AIStation.GetCargoPlannedFrom(station0, station1, cargo)); - print(" GetCargoPlannedVia(" + station0 + ", " + station1 + ", " + cargo + "): " + - AIStation.GetCargoPlannedFrom(station0, station1, cargo)); - for (local station2 = 0; station2 <= 1000; station2 += 1000) { - print(" GetCargoPlannedFromVia(" + station0 + ", " + station1 + ", " + station2 + ", " + cargo + "): " + - AIStation.GetCargoPlannedFromVia(station0, station1, station2, cargo)); - } - } - } - } -} - -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.IsEnd(); 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(34436, 256 * 2 + 34436 + 8); - print(" Count(): " + list.Count()); - - list.Valuate(AITile.GetCornerHeight, AITile.CORNER_N); - print(" Height(): done"); - print(" Count(): " + list.Count()); - print(" ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list.Valuate(AITile.GetCornerHeight, AITile.CORNER_N); - print(" CornerHeight(North): done"); - print(" Count(): " + list.Count()); - print(" ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list.Valuate(AITile.GetMinHeight); - print(" MinHeight(): done"); - print(" Count(): " + list.Count()); - print(" ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list.Valuate(AITile.GetMaxHeight); - print(" MaxHeight(): done"); - print(" Count(): " + list.Count()); - print(" ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list.Clear(); - list.AddRectangle(41895 - 256 * 2, 256 * 2 + 41895 + 8); - 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITile.GetDistanceManhattanToTile, 30000); - print(" DistanceManhattanToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITile.GetDistanceSquareToTile, 30000); - print(" DistanceSquareToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list.AddRectangle(31895 - 256 * 5, 256 * 5 + 31895 + 8); - - list.Valuate(AITile.GetOwner); - print(" GetOwner() ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITile.GetTownAuthority); - print(" GetTownAuthority() ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITile.GetClosestTown); - print(" GetClosestTown() ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - - list = AITileList_StationType(6, AIStation.STATION_BUS_STOP); - print(""); - print("--TileList_StationType--"); - print(" Count(): " + list.Count()); - print(" Location ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -} - -function Regression::Town() -{ - local j = 0; - - print(""); - print("--Town--"); - print(" GetTownCount(): " + AITown.GetTownCount()); - local list = AITownList(); - list.Sort(AIList.SORT_BY_ITEM, AIList.SORT_ASCENDING); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - 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.COMPANY_SELF)); - print(" IsCity(): " + AITown.IsCity(i)); - } - 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITown.GetDistanceManhattanToTile, 30000); - print(" DistanceManhattanToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITown.GetDistanceSquareToTile, 30000); - print(" DistanceSquareToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AITown.GetAllowedNoise); - print(" GetAllowedNoise() ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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.IsEnd(); 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.VT_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.VT_ROAD, 7529)); - print(" BuildTunnel(): " + AITunnel.BuildTunnel(AIVehicle.VT_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.COMPANY_SELF); - - 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.COMPANY_SELF); - - print(" --Accounting--"); - print(" GetCosts(): " + accounting.GetCosts()); - print(" Should be: " + (bank - bank_after)); - print(" ResetCosts(): " + accounting.ResetCosts()); - - bank = AICompany.GetBankBalance(AICompany.COMPANY_SELF); - - 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.COMPANY_SELF); - - 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(" IsValidVehicle(17): " + AIVehicle.IsValidVehicle(17)); - print(" IsValidVehicle(18): " + AIVehicle.IsValidVehicle(18)); - print(" IsValidVehicle(19): " + AIVehicle.IsValidVehicle(19)); // 19 is immediately joined to 18 - print(" MoveWagonChain(): " + AIVehicle.MoveWagonChain(18, 0, 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(" --Refit--"); - print(" GetBuildWithRefitCapacity(): " + AIVehicle.GetBuildWithRefitCapacity(28479, 211, 255)); - print(" GetBuildWithRefitCapacity(): " + AIVehicle.GetBuildWithRefitCapacity(28479, 211, 0)); - print(" GetBuildWithRefitCapacity(): " + AIVehicle.GetBuildWithRefitCapacity(28479, 211, 9)); - print(" BuildVehicleWithRefit(): " + AIVehicle.BuildVehicleWithRefit(28479, 211, 9)); - print(" GetCapacity(): " + AIVehicle.GetCapacity(20, 9)); - print(" GetCapacity(): " + AIVehicle.GetCapacity(20, 5)); - print(" GetRefitCapacity(): " + AIVehicle.GetRefitCapacity(20, 5)); - print(" RefitVehicle(): " + AIVehicle.RefitVehicle(20, 5)); - print(" GetCapacity(): " + AIVehicle.GetCapacity(20, 9)); - print(" GetCapacity(): " + AIVehicle.GetCapacity(20, 5)); - print(" SellVehicle(): " + AIVehicle.SellVehicle(20)); - - 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetEngineType); - print(" EngineType ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetUnitNumber); - print(" UnitNumber ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetAge); - print(" Age ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetMaxAge); - print(" MaxAge ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetAgeLeft); - print(" AgeLeft ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetCurrentSpeed); - print(" CurrentSpeed ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetRunningCost); - print(" RunningCost ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetProfitThisYear); - print(" ProfitThisYear ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetProfitLastYear); - print(" ProfitLastYear ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetCurrentValue); - print(" CurrentValue ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetVehicleType); - print(" VehicleType ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetRoadType); - print(" RoadType ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetCapacity, 10); - print(" VehicleType ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIVehicle.GetCargoLoad, 10); - print(" VehicleType ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); 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(" GetSourceType(): " + AISubsidy.GetSourceType(subsidy_id)); - print(" GetSourceIndex(): " + AISubsidy.GetSourceIndex(subsidy_id)); - print(" GetDestinationType(): " + AISubsidy.GetDestinationType(subsidy_id)); - print(" GetDestinationIndex(): " + AISubsidy.GetDestinationIndex(subsidy_id)); - print(" GetCargoType(): " + AISubsidy.GetCargoType(subsidy_id)); -} - -function Regression::Math() -{ - print(""); - print("--Math--"); - print(" -2147483648 < -2147483647: " + (-2147483648 < -2147483647)); - print(" -2147483648 < -1 : " + (-2147483648 < -1 )); - print(" -2147483648 < 0 : " + (-2147483648 < 0 )); - print(" -2147483648 < 1 : " + (-2147483648 < 1 )); - print(" -2147483648 < 2147483647: " + (-2147483648 < 2147483647)); - - print(" -2147483647 < -2147483648: " + (-2147483647 < -2147483648)); - print(" -1 < -2147483648: " + (-1 < -2147483648)); - print(" 0 < -2147483648: " + ( 0 < -2147483648)); - print(" 1 < -2147483648: " + ( 1 < -2147483648)); - print(" 2147483647 < -2147483648: " + ( 2147483647 < -2147483648)); - - print(" -1 > 2147483647: " + (-1 > 2147483647)); - print(" -1 > 1 : " + (-1 > 1 )); - print(" -1 > 0 : " + (-1 > 0 )); - print(" -1 > -1 : " + (-1 > -1 )); - print(" -1 > -2147483648: " + (-1 > -2147483648)); - - print(" 1 > 2147483647: " + ( 1 > 2147483647)); - print(" 1 > 1 : " + ( 1 > 1 )); - print(" 1 > 0 : " + ( 1 > 0 )); - print(" 1 > -1 : " + ( 1 > -1 )); - print(" 1 > -2147483648: " + ( 1 > -2147483648)); - - print(" 2147483647 > 2147483646: " + ( 2147483647 > 2147483646)); - print(" 2147483647 > 1 : " + ( 2147483647 > 1 )); - print(" 2147483647 > 0 : " + ( 2147483647 > 0 )); - print(" 2147483647 > -1 : " + ( 2147483647 > -1 )); - print(" 2147483647 > -2147483648: " + ( 2147483647 > -2147483648)); - - print(" 2147483646 > 2147483647: " + ( 2147483646 > 2147483647)); - print(" 1 > 2147483647: " + ( 1 > 2147483647)); - print(" 0 > 2147483647: " + ( 0 > 2147483647)); - print(" -1 > 2147483647: " + (-1 > 2147483647)); - print(" -2147483648 > 2147483647: " + (-2147483648 > 2147483647)); - - print(" 13725 > -2147483648: " + ( 13725 > -2147483648)); -} - -function Regression::Start() -{ - this.TestInit(); - this.Std(); - this.Base(); - this.List(); - - /* Do this first as it gains maximum loan (which is faked to quite a lot). */ - this.Company(); - - this.Airport(); - this.Bridge(); - this.BridgeList(); - this.Cargo(); - this.CargoList(); - this.Engine(); - this.EngineList(); - this.Group(); - this.Industry(); - this.IndustryList(); - this.IndustryTypeList(); - this.Map(); - this.Marine(); - this.Prices(); - 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.ET_SUBSIDY_OFFER: { - local c = AIEventSubsidyOffer.Convert(e); - print(" EventName: SubsidyOffer"); - PrintSubsidy(c.GetSubsidyID()); - } break; - - case AIEvent.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"); - - this.Math(); -} - diff --git a/bin/ai/regression/tst_regression/require.nut b/bin/ai/regression/tst_regression/require.nut deleted file mode 100644 index d8dc4baa7..000000000 --- a/bin/ai/regression/tst_regression/require.nut +++ /dev/null @@ -1,2 +0,0 @@ -print(" Required this file"); - diff --git a/bin/ai/regression/tst_regression/result.txt b/bin/ai/regression/tst_regression/result.txt deleted file mode 100644 index 4cb74aaa5..000000000 --- a/bin/ai/regression/tst_regression/result.txt +++ /dev/null @@ -1,9348 +0,0 @@ - ---TestInit-- - Ops: 9988 - TickTest: 1 - TickTest: 2 - Ops: 9990 - 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 - Ops: 8673 - ---Std-- - abs(-21): 21 - abs( 21): 21 - ---AIBase-- - Rand(): -54346916 - Rand(): -937374575 - Rand(): 823953997 - RandRange(0): 0 - RandRange(0): 0 - RandRange(0): 0 - RandRange(1): 0 - RandRange(1): 0 - RandRange(1): 0 - RandRange(2): 1 - RandRange(2): 1 - RandRange(2): 1 - RandRange(1000000): 966676 - RandRange(1000000): 289525 - RandRange(1000000): 170283 - Chance(1, 2): false - 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 => -200078348 - 2 => -29799264 - 1000 => 1630721656 - 1001 => 959306175 - 1002 => 1527421791 - 1003 => 1259692483 - 1004 => -1289244298 - 1005 => -1572996668 - 1006 => -2069479746 - 1007 => -1819131606 - 1008 => -1007163964 - 1009 => -1185394870 - 1010 => -1471365065 - 1011 => 364354366 - 1012 => -1478084253 - 1013 => 405281367 - 1014 => -11170062 - 1015 => 156767750 - 1016 => 1288924796 - 1017 => 1796884876 - 1018 => -1947073702 - 1019 => -1999614238 - 1020 => -231292809 - 1021 => 966621566 - 1022 => -606766557 - 1023 => -1138727825 - 1024 => -749544262 - 1025 => 2004771271 - 1026 => 686734186 - 1027 => 923274744 - 1028 => -1672035149 - 1029 => -1642064950 - 1030 => 1363389551 - 1031 => -559500928 - 1032 => 1656196991 - 1033 => 1655354425 - 1034 => -1027156689 - 1035 => 1952644328 - 1036 => 1217870217 - 1037 => 242274100 - 1038 => 201816080 - 1039 => 2127464758 - 1040 => 446043650 - 1041 => -319728455 - 1042 => 204701002 - 1043 => -571265398 - 1044 => -1422217131 - 1045 => -391208397 - 1046 => -1822628371 - 1047 => -1499755350 - 1048 => -1422137641 - 1049 => 1621693134 - 1051 => -1428728134 - 1052 => -147587573 - 1053 => 681719500 - 1054 => 1172011190 - 1055 => -1834344882 - 1056 => 1157634586 - 1057 => 1902133676 - 1058 => -1967780161 - 1059 => -1618025531 - 1060 => -810220453 - 1061 => 1582854921 - 1062 => -410004643 - 1063 => 1159917159 - 1064 => -1377804984 - 1065 => -738843914 - 1066 => -1578756103 - 1067 => -464090986 - 1068 => 1711504679 - 1069 => 545330655 - 1070 => 379462570 - 1071 => 514511099 - 1072 => -1813251176 - 1073 => 1424958266 - 1074 => -825255131 - 1075 => 539054595 - 1076 => -1764192010 - 1077 => -1243277769 - 1078 => 2017874281 - 1079 => -1972353607 - 1080 => 1879761467 - 1081 => 1638986560 - 1082 => -1832287507 - 1083 => -492411882 - 1084 => 658940812 - 1085 => -1044199400 - 1086 => 1586504918 - 1087 => -125492611 - 1088 => -1562883174 - 1089 => -1013778441 - 1090 => 1560228607 - 1091 => -550265689 - 1092 => 524767105 - 1093 => -713387661 - 1094 => 1425927738 - 1095 => 942653932 - 1096 => 1233220698 - 1097 => 1313602368 - 1098 => -140318584 - 1099 => 1199179892 - KeepTop(10): - 1 => -200078348 - 2 => -29799264 - 1000 => 1630721656 - 1001 => 959306175 - 1002 => 1527421791 - 1003 => 1259692483 - 1004 => -1289244298 - 1005 => -1572996668 - 1006 => -2069479746 - 1007 => -1819131606 - KeepBottom(8): - 1000 => 1630721656 - 1001 => 959306175 - 1002 => 1527421791 - 1003 => 1259692483 - 1004 => -1289244298 - 1005 => -1572996668 - 1006 => -2069479746 - 1007 => -1819131606 - RemoveBottom(2): - 1000 => 1630721656 - 1001 => 959306175 - 1002 => 1527421791 - 1003 => 1259692483 - 1004 => -1289244298 - 1005 => -1572996668 - RemoveTop(2): - 1002 => 1527421791 - 1003 => 1259692483 - 1004 => -1289244298 - 1005 => -1572996668 - RemoveList({1003, 1004}): - 1002 => 1527421791 - 1005 => -1572996668 - KeepList({1003, 1004, 1005}): - 1005 => -1572996668 - 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 - 0 => 5 (true) -ERROR: Next() is invalid as Begin() is never called -ERROR: IsEnd() is invalid as Begin() is never called - 0 => 5 (false) - 0 => 5 (true) - 2 => 6 (true) - 3 => 6 (true) - 9 => 0 (false) - ---Company-- - SetName(): true - SetName(): true - SetName(): true - SetName(): false - GetLastErrorString(): ERR_NAME_IS_NOT_UNIQUE - GetName(): Regression - GetPresidentName(): E. McAlpine - SetPresidentName(): true - GetPresidentName(): Regression AI - GetBankBalance(): 100000 - GetName(): (null : 0x00000000) - GetLoanAmount(): 100000 - GetMaxLoanAmount(): 500000 - GetLoanInterval(): 10000 - SetLoanAmount(1): false - SetLoanAmount(100): false - SetLoanAmount(10000): true - GetLastErrorString(): ERR_NONE - GetBankBalance(): 10000 - GetLoanAmount(): 10000 - SetMinimumLoanAmount(31337): true - GetBankBalance(): 40000 - GetLoanAmount(): 40000 - SetLoanAmount(10000): true - GetBankBalance(): 500000 - GetLoanAmount(): 500000 - 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); true - SetAutoRenewStatus(false); true - GetAutoRenewMonths(); 6 - SetAutoRenewMonths(-12); true - GetAutoRenewMonths(); -12 - SetAutoRenewMonths(-12); true - SetAutoRenewMonths(6); true - GetAutoRenewMoney(); 100000 - SetAutoRenewMoney(200000); true - GetAutoRenewMoney(); 200000 - SetAutoRenewMoney(200000); true - SetAutoRenewMoney(100000); true - Quarter: -1 - GetQuarterlyIncome(); -1 - GetQuarterlyExpenses(); -1 - GetQuarterlyCargoDelivered(); -1 - GetQuarterlyPerformanceRating(); -1 - GetQuarterlyCompanyValue(); -1 - Quarter: 0 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); -210 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); -1 - GetQuarterlyCompanyValue(); 1 - Quarter: 1 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 2 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 3 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 4 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 5 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 6 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 7 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 8 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 9 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 10 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 11 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 12 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 13 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 14 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 15 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 16 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 17 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 18 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 19 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 20 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 21 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 22 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 23 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - Quarter: 24 - GetQuarterlyIncome(); 0 - GetQuarterlyExpenses(); 0 - GetQuarterlyCargoDelivered(); 0 - GetQuarterlyPerformanceRating(); 0 - GetQuarterlyCompanyValue(); 0 - ---AIAirport-- - IsHangarTile(): false - IsAirportTile(): false - GetHangarOfAirport(): -1 - GetAirportType(): 254 - IsAirportInformationAvailable(-1): false - IsValidAirportType(-1): false - GetAirportWidth(-1): -1 - GetAirportHeight(-1): -1 - GetAirportCoverageRadius(-1): -1 - IsAirportInformationAvailable(0): true - IsValidAirportType(0): true - GetAirportWidth(0): 4 - GetAirportHeight(0): 3 - GetAirportCoverageRadius(0): 4 - IsAirportInformationAvailable(1): true - IsValidAirportType(1): false - GetAirportWidth(1): 6 - GetAirportHeight(1): 6 - GetAirportCoverageRadius(1): 5 - IsAirportInformationAvailable(2): true - IsValidAirportType(2): false - GetAirportWidth(2): 1 - GetAirportHeight(2): 1 - GetAirportCoverageRadius(2): 4 - IsAirportInformationAvailable(3): true - IsValidAirportType(3): false - GetAirportWidth(3): 6 - GetAirportHeight(3): 6 - GetAirportCoverageRadius(3): 6 - IsAirportInformationAvailable(4): true - IsValidAirportType(4): false - GetAirportWidth(4): 7 - GetAirportHeight(4): 7 - GetAirportCoverageRadius(4): 8 - IsAirportInformationAvailable(5): true - IsValidAirportType(5): false - GetAirportWidth(5): 5 - GetAirportHeight(5): 4 - GetAirportCoverageRadius(5): 4 - IsAirportInformationAvailable(6): true - IsValidAirportType(6): false - GetAirportWidth(6): 2 - GetAirportHeight(6): 2 - GetAirportCoverageRadius(6): 4 - IsAirportInformationAvailable(7): true - IsValidAirportType(7): false - GetAirportWidth(7): 9 - GetAirportHeight(7): 11 - GetAirportCoverageRadius(7): 10 - IsAirportInformationAvailable(8): true - IsValidAirportType(8): false - GetAirportWidth(8): 4 - GetAirportHeight(8): 2 - GetAirportCoverageRadius(8): 4 - IsAirportInformationAvailable(9): false - IsValidAirportType(9): false - GetAirportWidth(9): -1 - GetAirportHeight(9): -1 - GetAirportCoverageRadius(9): -1 - GetBankBalance(): 499790 - GetPrice(): 5400 - BuildAirport(): true - IsHangarTile(): false - IsAirportTile(): true - GetAirportType(): 0 - GetHangarOfAirport(): 32119 - IsHangarTile(): true - IsAirportTile(): true - GetAirportType(): 0 - GetBankBalance(): 489890 - RemoveAirport(): true - IsHangarTile(): false - IsAirportTile(): false - GetBankBalance(): 489626 - BuildAirport(): true - ---Bridge-- - Bridge -1 - IsValidBridge(): false - GetName(): - VT_RAIL: (null : 0x00000000) - VT_ROAD: (null : 0x00000000) - VT_WATER: (null : 0x00000000) - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxLength(): -1 - GetMinLength(): -1 - Bridge 0 - IsValidBridge(): true - GetName(): - VT_RAIL: Wooden rail bridge - VT_ROAD: Wooden road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 32 - GetPrice(): 450 - GetMaxLength(): 66 - GetMinLength(): 2 - Bridge 1 - IsValidBridge(): true - GetName(): - VT_RAIL: Concrete rail bridge - VT_ROAD: Concrete road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 48 - GetPrice(): 630 - GetMaxLength(): 4 - GetMinLength(): 2 - Bridge 2 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel girder rail bridge - VT_ROAD: Steel girder road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 64 - GetPrice(): 811 - GetMaxLength(): 7 - GetMinLength(): 2 - Bridge 3 - IsValidBridge(): true - GetName(): - VT_RAIL: Reinforced concrete suspension rail bridge - VT_ROAD: Reinforced concrete suspension road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 80 - GetPrice(): 946 - GetMaxLength(): 12 - GetMinLength(): 4 - Bridge 4 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel suspension rail bridge - VT_ROAD: Steel suspension road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 96 - GetPrice(): 1042 - GetMaxLength(): 66 - GetMinLength(): 5 - Bridge 5 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel suspension rail bridge - VT_ROAD: Steel suspension road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 112 - GetPrice(): 1081 - GetMaxLength(): 66 - GetMinLength(): 5 - Bridge 6 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel cantilever rail bridge - VT_ROAD: Steel cantilever road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 160 - GetPrice(): 1261 - GetMaxLength(): 9 - GetMinLength(): 5 - Bridge 7 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel cantilever rail bridge - VT_ROAD: Steel cantilever road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 208 - GetPrice(): 1306 - GetMaxLength(): 10 - GetMinLength(): 5 - Bridge 8 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel cantilever rail bridge - VT_ROAD: Steel cantilever road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 240 - GetPrice(): 1396 - GetMaxLength(): 11 - GetMinLength(): 5 - Bridge 9 - IsValidBridge(): true - GetName(): - VT_RAIL: Steel girder rail bridge - VT_ROAD: Steel girder road bridge - VT_WATER: Aqueduct - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): 256 - GetPrice(): 1351 - GetMaxLength(): 4 - GetMinLength(): 2 - Bridge 10 - IsValidBridge(): false - GetName(): - VT_RAIL: (null : 0x00000000) - VT_ROAD: (null : 0x00000000) - VT_WATER: (null : 0x00000000) - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxLength(): -1 - GetMinLength(): -1 - Bridge 11 - IsValidBridge(): false - GetName(): - VT_RAIL: (null : 0x00000000) - VT_ROAD: (null : 0x00000000) - VT_WATER: (null : 0x00000000) - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxLength(): -1 - GetMinLength(): -1 - Bridge 12 - IsValidBridge(): false - GetName(): - VT_RAIL: (null : 0x00000000) - VT_ROAD: (null : 0x00000000) - VT_WATER: (null : 0x00000000) - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxLength(): -1 - GetMinLength(): -1 - Bridge 13 - IsValidBridge(): false - GetName(): - VT_RAIL: (null : 0x00000000) - VT_ROAD: (null : 0x00000000) - VT_WATER: (null : 0x00000000) - VT_AIR: (null : 0x00000000) - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxLength(): -1 - GetMinLength(): -1 - Valid Bridges: 10 - IsBridgeTile(): false - GetBridgeID(): -1 - RemoveBridge(): false - GetLastErrorString(): ERR_PRECONDITION_FAILED - GetOtherBridgeEnd(): -1 - BuildBridge(): true - IsBridgeTile(): true - GetBridgeID(): 5 - IsBridgeTile(): true - GetBridgeID(): 5 - 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 => 1396 - 9 => 1351 - 7 => 1306 - 6 => 1261 - 5 => 1081 - 4 => 1042 - 3 => 946 - 2 => 811 - 1 => 630 - 0 => 450 - MaxLength ListDump: - 5 => 66 - 4 => 66 - 0 => 66 - 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 - ---BridgeList_Length-- - Count(): 3 - MaxSpeed ListDump: - 5 => 112 - 4 => 96 - 0 => 32 - Price ListDump: - 5 => 6489 - 4 => 6252 - 0 => 2703 - ---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 - GetRoadVehicleTypeForCargo(): 1 - Cargo 0 - IsValidCargo(): true - GetCargoLabel(): 'PASS' - IsFreight(): false - HasCargoClass(): true - GetTownEffect(): 1 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 3 - GetCargoIncome(100, 10): 38 - GetCargoIncome(10, 100): 3 - GetRoadVehicleTypeForCargo(): 0 - Cargo 1 - IsValidCargo(): true - GetCargoLabel(): 'COAL' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 7 - GetCargoIncome(100, 10): 71 - GetCargoIncome(10, 100): 6 - GetRoadVehicleTypeForCargo(): 1 - Cargo 2 - IsValidCargo(): true - GetCargoLabel(): 'MAIL' - IsFreight(): false - HasCargoClass(): false - GetTownEffect(): 2 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 5 - GetCargoIncome(100, 10): 55 - GetCargoIncome(10, 100): 5 - GetRoadVehicleTypeForCargo(): 1 - Cargo 3 - IsValidCargo(): true - GetCargoLabel(): 'OIL_' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 5 - GetCargoIncome(100, 10): 53 - GetCargoIncome(10, 100): 5 - GetRoadVehicleTypeForCargo(): 1 - Cargo 4 - IsValidCargo(): true - GetCargoLabel(): 'LVST' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 5 - GetCargoIncome(100, 10): 52 - GetCargoIncome(10, 100): 4 - GetRoadVehicleTypeForCargo(): 1 - Cargo 5 - IsValidCargo(): true - GetCargoLabel(): 'GOOD' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 3 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 7 - GetCargoIncome(100, 10): 74 - GetCargoIncome(10, 100): 6 - GetRoadVehicleTypeForCargo(): 1 - Cargo 6 - IsValidCargo(): true - GetCargoLabel(): 'GRAI' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 5 - GetCargoIncome(100, 10): 58 - GetCargoIncome(10, 100): 4 - GetRoadVehicleTypeForCargo(): 1 - Cargo 7 - IsValidCargo(): true - GetCargoLabel(): 'WOOD' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 6 - GetCargoIncome(100, 10): 60 - GetCargoIncome(10, 100): 5 - GetRoadVehicleTypeForCargo(): 1 - Cargo 8 - IsValidCargo(): true - GetCargoLabel(): 'IORE' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 6 - GetCargoIncome(100, 10): 62 - GetCargoIncome(10, 100): 5 - GetRoadVehicleTypeForCargo(): 1 - Cargo 9 - IsValidCargo(): true - GetCargoLabel(): 'STEL' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 6 - GetCargoIncome(100, 10): 69 - GetCargoIncome(10, 100): 6 - GetRoadVehicleTypeForCargo(): 1 - Cargo 10 - IsValidCargo(): true - GetCargoLabel(): 'VALU' - IsFreight(): true - HasCargoClass(): false - GetTownEffect(): 0 - GetCargoIncome(0, 0): 0 - GetCargoIncome(10, 10): 9 - GetCargoIncome(100, 10): 90 - GetCargoIncome(10, 100): 7 - GetRoadVehicleTypeForCargo(): 1 - 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 - GetRoadVehicleTypeForCargo(): 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 - GetRoadVehicleTypeForCargo(): 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 - GetRoadVehicleTypeForCargo(): 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 - GetRoadVehicleTypeForCargo(): 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 => 74 - 5 => 62 - 1 => 62 - 9 => 60 - 8 => 54 - 7 => 54 - 3 => 50 - 2 => 50 - 6 => 49 - 4 => 41 - 0 => 30 - ---CargoList_IndustryAccepting-- - Count(): 1 - ListDump: - 7 - ---CargoList_IndustryProducing-- - Count(): 1 - ListDump: - 7 - ---Engine-- - Engine -1 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 0 - IsValidEngine(): true - GetName(): Kirby Paul Tank (Steam) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): 75 - GetMaxSpeed(): 64 - GetPrice(): 8203 - GetMaxAge(): 5490 - GetRunningCost(): 820 - GetPower(): 300 - GetWeight(): 47 - GetMaxTractiveEffort(): 136 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 8 - IsValidEngine(): true - GetName(): Chaney 'Jubilee' (Steam) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): 80 - GetMaxSpeed(): 112 - GetPrice(): 15234 - GetMaxAge(): 7686 - GetRunningCost(): 1968 - GetPower(): 1000 - GetWeight(): 131 - GetMaxTractiveEffort(): 381 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 9 - IsValidEngine(): true - GetName(): Ginzu 'A4' (Steam) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): 84 - GetMaxSpeed(): 128 - GetPrice(): 22265 - GetMaxAge(): 7320 - GetRunningCost(): 2296 - GetPower(): 1200 - GetWeight(): 162 - GetMaxTractiveEffort(): 471 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 27 - IsValidEngine(): true - GetName(): Passenger Carriage - GetCargoType(): 0 - CanRefitCargo(): false - GetCapacity(): 40 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1447 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 25 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 28 - IsValidEngine(): true - GetName(): Mail Van - GetCargoType(): 2 - CanRefitCargo(): false - GetCapacity(): 30 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1335 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 21 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 29 - IsValidEngine(): true - GetName(): Coal Truck - GetCargoType(): 1 - CanRefitCargo(): true - GetCapacity(): 30 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1031 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 18 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 30 - IsValidEngine(): true - GetName(): Oil Tanker - GetCargoType(): 3 - CanRefitCargo(): false - GetCapacity(): 30 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1171 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 24 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 31 - IsValidEngine(): true - GetName(): Livestock Van - GetCargoType(): 4 - CanRefitCargo(): false - GetCapacity(): 25 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1125 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 20 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 32 - IsValidEngine(): true - GetName(): Goods Van - GetCargoType(): 5 - CanRefitCargo(): false - GetCapacity(): 25 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1113 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 21 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 33 - IsValidEngine(): true - GetName(): Grain Hopper - GetCargoType(): 6 - CanRefitCargo(): false - GetCapacity(): 30 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1066 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 19 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 34 - IsValidEngine(): true - GetName(): Wood Truck - GetCargoType(): 7 - CanRefitCargo(): false - GetCapacity(): 30 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1060 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 16 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 35 - IsValidEngine(): true - GetName(): Iron Ore Hopper - GetCargoType(): 8 - CanRefitCargo(): false - GetCapacity(): 30 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1048 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 19 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 36 - IsValidEngine(): true - GetName(): Steel Truck - GetCargoType(): 9 - CanRefitCargo(): false - GetCapacity(): 20 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1148 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 18 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 0 - GetRailType(): 0 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 37 - IsValidEngine(): true - GetName(): Armoured Van - GetCargoType(): 10 - CanRefitCargo(): false - GetCapacity(): 20 - GetReliability(): -1 - GetMaxSpeed(): 0 - GetPrice(): 1494 - GetMaxAge(): -1 - GetRunningCost(): 0 - GetPower(): -1 - GetWeight(): 30 - GetMaxTractiveEffort(): -1 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 57 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 58 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 59 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 60 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 61 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 62 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 63 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 64 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 65 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 66 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 67 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 89 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 90 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 91 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 92 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 93 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 94 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 95 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 96 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 97 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 98 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 99 - IsValidEngine(): false - GetName(): (null : 0x00000000) - GetCargoType(): 255 - CanRefitCargo(): false - GetCapacity(): -1 - GetReliability(): -1 - GetMaxSpeed(): -1 - GetPrice(): -1 - GetMaxAge(): -1 - GetRunningCost(): -1 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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(): 4921 - GetMaxAge(): 4392 - GetRunningCost(): 426 - GetPower(): 90 - GetWeight(): 10 - GetMaxTractiveEffort(): 29 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 123 - IsValidEngine(): true - GetName(): Balogh Coal Truck - GetCargoType(): 1 - CanRefitCargo(): true - GetCapacity(): 20 - GetReliability(): 77 - GetMaxSpeed(): 48 - GetPrice(): 4429 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 126 - IsValidEngine(): true - GetName(): MPS Mail Truck - GetCargoType(): 2 - CanRefitCargo(): false - GetCapacity(): 22 - GetReliability(): 92 - GetMaxSpeed(): 48 - GetPrice(): 4716 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 132 - IsValidEngine(): true - GetName(): Witcombe Oil Tanker - GetCargoType(): 3 - CanRefitCargo(): false - GetCapacity(): 21 - GetReliability(): 98 - GetMaxSpeed(): 48 - GetPrice(): 4511 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 135 - IsValidEngine(): true - GetName(): Talbott Livestock Van - GetCargoType(): 4 - CanRefitCargo(): false - GetCapacity(): 14 - GetReliability(): 97 - GetMaxSpeed(): 48 - GetPrice(): 4306 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 138 - IsValidEngine(): true - GetName(): Balogh Goods Truck - GetCargoType(): 5 - CanRefitCargo(): false - GetCapacity(): 14 - GetReliability(): 87 - GetMaxSpeed(): 48 - GetPrice(): 4388 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 141 - IsValidEngine(): true - GetName(): Hereford Grain Truck - GetCargoType(): 6 - CanRefitCargo(): false - GetCapacity(): 20 - GetReliability(): 97 - GetMaxSpeed(): 48 - GetPrice(): 4675 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 144 - IsValidEngine(): true - GetName(): Witcombe Wood Truck - GetCargoType(): 7 - CanRefitCargo(): false - GetCapacity(): 20 - GetReliability(): 98 - GetMaxSpeed(): 48 - GetPrice(): 4839 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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(): 97 - GetMaxSpeed(): 48 - GetPrice(): 4962 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 150 - IsValidEngine(): true - GetName(): Balogh Steel Truck - GetCargoType(): 9 - CanRefitCargo(): false - GetCapacity(): 15 - GetReliability(): 82 - GetMaxSpeed(): 48 - GetPrice(): 4593 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 153 - IsValidEngine(): true - GetName(): Balogh Armoured Truck - GetCargoType(): 10 - CanRefitCargo(): false - GetCapacity(): 12 - GetReliability(): 76 - GetMaxSpeed(): 48 - GetPrice(): 5947 - GetMaxAge(): 5490 - GetRunningCost(): 421 - GetPower(): 120 - GetWeight(): 9 - GetMaxTractiveEffort(): 26 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 204 - IsValidEngine(): true - GetName(): MPS Oil Tanker - GetCargoType(): 3 - CanRefitCargo(): false - GetCapacity(): 220 - GetReliability(): 99 - GetMaxSpeed(): 24 - GetPrice(): 30468 - GetMaxAge(): 10980 - GetRunningCost(): 2296 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Engine 206 - IsValidEngine(): true - GetName(): MPS Passenger Ferry - GetCargoType(): 0 - CanRefitCargo(): false - GetCapacity(): 100 - GetReliability(): 88 - GetMaxSpeed(): 32 - GetPrice(): 18281 - GetMaxAge(): 10980 - GetRunningCost(): 1476 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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(): 24375 - GetMaxAge(): 10980 - GetRunningCost(): 2460 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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(): 236 - GetPrice(): 28710 - GetMaxAge(): 7320 - GetRunningCost(): 2390 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 3 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): 1 - Engine 216 - IsValidEngine(): true - GetName(): Coleman Count - GetCargoType(): 0 - CanRefitCargo(): false - GetCapacity(): 65 - GetReliability(): 95 - GetMaxSpeed(): 236 - GetPrice(): 30761 - GetMaxAge(): 8784 - GetRunningCost(): 2812 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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(): 77 - GetMaxSpeed(): 236 - GetPrice(): 30761 - GetMaxAge(): 10980 - GetRunningCost(): 2756 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - 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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -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 - GetPower(): -1 - GetWeight(): -1 - GetMaxTractiveEffort(): -1 - GetVehicleType(): 255 - GetRailType(): 255 - GetRoadType(): -1 - GetPlaneType(): -1 - Valid Engines: 31 - ---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 => 98 - 132 => 98 - 147 => 97 - 141 => 97 - 135 => 97 - 126 => 92 - 138 => 87 - 150 => 82 - 116 => 78 - 123 => 77 - 153 => 76 - 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 => 5947 - 147 => 4962 - 116 => 4921 - 144 => 4839 - 126 => 4716 - 141 => 4675 - 150 => 4593 - 132 => 4511 - 123 => 4429 - 138 => 4388 - 135 => 4306 - ---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-- - GetIndustryCount(): 71 - Industry 0 - IsValidIndustry(): true - GetName(): Kennville Oil Refinery - GetLocation(): 19695 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 1 - IsValidIndustry(): true - GetName(): Satown Forest - GetLocation(): 45122 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 2 - IsValidIndustry(): true - GetName(): Fudhattan Forest - GetLocation(): 41929 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 108 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 3 - IsValidIndustry(): true - GetName(): Beningville Forest - GetLocation(): 44640 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 80 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 4 - IsValidIndustry(): true - GetName(): Nefingbridge Forest - GetLocation(): 8793 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 135 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 5 - IsValidIndustry(): true - GetName(): Hutford Forest - GetLocation(): 55429 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 99 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 6 - IsValidIndustry(): true - GetName(): Great Hinninghall Forest - GetLocation(): 6533 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 7 - IsValidIndustry(): true - GetName(): Tonston Forest - GetLocation(): 27609 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 115 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 8 - IsValidIndustry(): true - GetName(): Planfield Sawmill - GetLocation(): 17318 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 9 - IsValidIndustry(): true - GetName(): Hutford Sawmill - GetLocation(): 60050 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 10 - IsValidIndustry(): true - GetName(): Natborough Sawmill - GetLocation(): 54184 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 11 - IsValidIndustry(): true - GetName(): Prundinghall Sawmill - GetLocation(): 48499 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 12 - IsValidIndustry(): true - GetName(): Fratston Sawmill - GetLocation(): 51419 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 13 - IsValidIndustry(): true - GetName(): Fort Frindston Sawmill - GetLocation(): 15950 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 14 - IsValidIndustry(): true - GetName(): Grinnway Sawmill - GetLocation(): 20001 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 15 - IsValidIndustry(): true - GetName(): Trenningville Coal Mine - GetLocation(): 51854 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 126 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 16 - IsValidIndustry(): true - GetName(): Kennville Coal Mine - GetLocation(): 11734 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 99 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 17 - IsValidIndustry(): true - GetName(): Great Hinninghall Coal Mine - GetLocation(): 13947 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 171 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 18 - IsValidIndustry(): true - GetName(): Little Frutford Coal Mine - GetLocation(): 23682 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 126 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 19 - IsValidIndustry(): true - GetName(): Hutford Coal Mine - GetLocation(): 57429 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 99 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 20 - IsValidIndustry(): true - GetName(): Mendston Coal Mine - GetLocation(): 8562 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 171 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 21 - IsValidIndustry(): true - GetName(): Tonston Coal Mine - GetLocation(): 29147 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 117 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 22 - IsValidIndustry(): true - GetName(): Quarfingfield Coal Mine - GetLocation(): 27822 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 153 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 23 - IsValidIndustry(): true - GetName(): Muningville Coal Mine - GetLocation(): 43035 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 90 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 24 - IsValidIndustry(): true - GetName(): Grinnway Coal Mine - GetLocation(): 17943 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 40 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 25 - IsValidIndustry(): true - GetName(): Satown Power Station - GetLocation(): 48182 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 26 - IsValidIndustry(): true - GetName(): Tunford Power Station - GetLocation(): 33934 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 27 - IsValidIndustry(): true - GetName(): Quarfingfield Power Station - GetLocation(): 23714 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 28 - IsValidIndustry(): true - GetName(): Kennville Power Station - GetLocation(): 20170 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 29 - IsValidIndustry(): true - GetName(): Nuntburg Power Station - GetLocation(): 6685 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 30 - IsValidIndustry(): true - GetName(): Beburg Power Station - GetLocation(): 29022 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 31 - IsValidIndustry(): true - GetName(): Beningville Power Station - GetLocation(): 44160 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 32 - IsValidIndustry(): true - GetName(): Fort Frindston Oil Wells - GetLocation(): 14701 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 108 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 33 - IsValidIndustry(): true - GetName(): Nuntburg Oil Wells - GetLocation(): 5659 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 40 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 34 - IsValidIndustry(): true - GetName(): Beningville Oil Wells - GetLocation(): 36728 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 64 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 35 - IsValidIndustry(): true - GetName(): Grinnway Oil Wells - GetLocation(): 14361 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 63 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 36 - IsValidIndustry(): true - GetName(): Muningville Oil Wells - GetLocation(): 36908 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 37 - IsValidIndustry(): true - GetName(): Tonston Oil Wells - GetLocation(): 34237 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 108 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 38 - IsValidIndustry(): true - GetName(): Fort Frindston Iron Ore Mine - GetLocation(): 17742 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 108 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 39 - IsValidIndustry(): true - GetName(): Tonston Iron Ore Mine - GetLocation(): 25545 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 30 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 40 - IsValidIndustry(): true - GetName(): Fudhattan Iron Ore Mine - GetLocation(): 47838 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 41 - IsValidIndustry(): true - GetName(): Nuntburg Iron Ore Mine - GetLocation(): 8763 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 42 - IsValidIndustry(): true - GetName(): Larborough Iron Ore Mine - GetLocation(): 60866 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 81 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 43 - IsValidIndustry(): true - GetName(): Tunford Iron Ore Mine - GetLocation(): 41155 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 108 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 44 - IsValidIndustry(): true - GetName(): Chenfingbourne Iron Ore Mine - GetLocation(): 19529 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 135 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 45 - IsValidIndustry(): true - GetName(): Natborough Farm - GetLocation(): 52931 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 81 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 81 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 46 - IsValidIndustry(): true - GetName(): Larborough Farm - GetLocation(): 59604 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 81 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 50 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 47 - IsValidIndustry(): true - GetName(): Chenfingbourne Farm - GetLocation(): 24366 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 63 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 30 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 48 - IsValidIndustry(): true - GetName(): Wruntown Farm - GetLocation(): 36847 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 126 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 49 - IsValidIndustry(): true - GetName(): Little Frutford Farm - GetLocation(): 28287 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 90 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 50 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 50 - IsValidIndustry(): true - GetName(): Hutford Farm - GetLocation(): 57432 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 117 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 90 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 51 - IsValidIndustry(): true - GetName(): Tonston Farm - GetLocation(): 23519 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 81 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 54 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 52 - IsValidIndustry(): true - GetName(): Nuntburg Farm - GetLocation(): 10773 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 126 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 53 - IsValidIndustry(): true - GetName(): Satown Farm - GetLocation(): 48206 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 40 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 40 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 54 - IsValidIndustry(): true - GetName(): Quarfingfield Farm - GetLocation(): 24005 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 72 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): 81 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - Industry 55 - IsValidIndustry(): true - GetName(): Little Frutford Steel Mill - GetLocation(): 21107 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 56 - IsValidIndustry(): true - GetName(): Quarfingfield Steel Mill - GetLocation(): 23727 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 57 - IsValidIndustry(): true - GetName(): Beburg Steel Mill - GetLocation(): 41813 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 58 - IsValidIndustry(): true - GetName(): Franinghead Steel Mill - GetLocation(): 8852 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 59 - IsValidIndustry(): true - GetName(): Larborough Steel Mill - GetLocation(): 59867 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 60 - IsValidIndustry(): true - GetName(): Satown Steel Mill - GetLocation(): 55360 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 61 - IsValidIndustry(): true - GetName(): Fratston Steel Mill - GetLocation(): 52953 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 62 - IsValidIndustry(): true - GetName(): Chenfingbourne Factory - GetLocation(): 24893 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 63 - IsValidIndustry(): true - GetName(): Fort Frindston Factory - GetLocation(): 20819 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 64 - IsValidIndustry(): true - GetName(): Fudhattan Factory - GetLocation(): 46278 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 65 - IsValidIndustry(): true - GetName(): Prundinghall Factory - GetLocation(): 53096 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 66 - IsValidIndustry(): true - GetName(): Kennville Factory - GetLocation(): 14818 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 67 - IsValidIndustry(): true - GetName(): Muningville Factory - GetLocation(): 34375 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 68 - IsValidIndustry(): true - GetName(): Trenningville Factory - GetLocation(): 44181 - IsCargoAccepted(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 69 - IsValidIndustry(): true - GetName(): Wruntown Oil Refinery - GetLocation(): 39663 - IsCargoAccepted(): 0 - GetLastMonthProduction(): 0 - GetLastMonthTransported(): 0 - GetStockpiledCargo(): -1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Industry 70 - IsValidIndustry(): true - GetName(): Mendston Power Station - GetLocation(): 6498 - IsCargoAccepted(): 1 - GetLastMonthProduction(): -1 - GetLastMonthTransported(): -1 - GetStockpiledCargo(): 0 - Valid Industries: 71 - GetIndustryCount(): 71 - GetIndustryID(): 65535 - GetIndustryID(): 0 - ---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 ---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(): -1 - GetName(): Farm - CanBuildIndustry(): false - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 5 - IsRawIndustry(): true - ProductionCanIncrease(): true - GetConstructionCost(): -1 - GetName(): Oil Rig - CanBuildIndustry(): false - CanProspectIndustry(): false - IsBuiltOnWater(): true - HasHeliport(): true - HasDock(): true - Id: 12 - IsRawIndustry(): false - ProductionCanIncrease(): true - GetConstructionCost(): 747070 - GetName(): Bank - CanBuildIndustry(): true - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 11 - IsRawIndustry(): true - ProductionCanIncrease(): false - GetConstructionCost(): -1 - GetName(): Oil Wells - CanBuildIndustry(): false - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 1 - IsRawIndustry(): false - ProductionCanIncrease(): true - GetConstructionCost(): 703125 - GetName(): Power Station - CanBuildIndustry(): true - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 3 - IsRawIndustry(): true - ProductionCanIncrease(): true - GetConstructionCost(): -1 - GetName(): Forest - CanBuildIndustry(): false - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 2 - IsRawIndustry(): false - ProductionCanIncrease(): true - GetConstructionCost(): 656250 - GetName(): Sawmill - CanBuildIndustry(): true - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 18 - IsRawIndustry(): true - ProductionCanIncrease(): true - GetConstructionCost(): -1 - GetName(): Iron Ore Mine - CanBuildIndustry(): false - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 0 - IsRawIndustry(): true - ProductionCanIncrease(): true - GetConstructionCost(): -1 - GetName(): Coal Mine - CanBuildIndustry(): false - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 8 - IsRawIndustry(): false - ProductionCanIncrease(): true - GetConstructionCost(): 629882 - GetName(): Steel Mill - CanBuildIndustry(): true - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 4 - IsRawIndustry(): false - ProductionCanIncrease(): true - GetConstructionCost(): 714843 - GetName(): Oil Refinery - CanBuildIndustry(): true - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): false - Id: 6 - IsRawIndustry(): false - ProductionCanIncrease(): true - GetConstructionCost(): 609375 - GetName(): Factory - CanBuildIndustry(): true - CanProspectIndustry(): false - IsBuiltOnWater(): false - HasHeliport(): false - HasDock(): 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(): 479664 - 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(): 465070 - ---AIWaypointList(BUOY)-- - Count(): 1 - Location ListDump: - 28481 - HasWaypointType: - false true false - - RemoveWaterDepot(): true - RemoveDock(): true - RemoveBuoy(): true - RemoveLock(): true - RemoveCanal(): true - IsWaterDepotTile(): false - IsDockTile(): false - IsBuoyTile(): false - IsLockTile(): false - IsCanalTile(): false - GetBankBalance(): 459675 - BuildWaterDepot(): true - BuildDock(): true - ---Prices-- - -Rail- - 0,BT_TRACK: 75 - 0,BT_SIGNAL: 48 - 0,BT_DEPOT: 450 - 0,BT_STATION: 285 - 0,BT_WAYPOINT: 450 - 1,BT_TRACK: -1 - 1,BT_SIGNAL: -1 - 1,BT_DEPOT: -1 - 1,BT_STATION: -1 - 1,BT_WAYPOINT: -1 - -Road- - ROADTYPE_ROAD,BT_ROAD: 71 - ROADTYPE_ROAD,BT_DEPOT: 375 - ROADTYPE_ROAD,BT_BUS_STOP: 150 - ROADTYPE_ROAD,BT_TRUCK_STOP: 150 - ROADTYPE_TRAM,BT_ROAD: -1 - ROADTYPE_TRAM,BT_DEPOT: -1 - ROADTYPE_TRAM,BT_BUS_STOP: -1 - ROADTYPE_TRAM,BT_TRUCK_STOP: -1 - -Water- - BT_DOCK: 262 - BT_DEPOT: 525 - BT_BUOY: 262 - -Tile- - BT_FOUNDATION: 187 - BT_TERRAFORM: 187 - BT_BUILD_TREES: 15 - BT_CLEAR_GRASS: 15 - BT_CLEAR_ROUGH: 30 - BT_CLEAR_ROCKY: 150 - BT_CLEAR_FIELDS: 375 - BT_CLEAR_HOUSE: 1200 - ---Rail-- - IsRailTile(): false - BuildRailTrack(): true - BuildSignal(): true - RemoveRailTrack(): false - RemoveRailTrack(): true - BuildRail(): true - HasTransportType(): true - HasTransportType(): false - RemoveRail(): true - HasTransportType(): false - HasTransportType(): false - BuildRailTrack(): true - RemoveRailTrack(): false - RemoveRailTrack(): true - BuildRail(): true - HasTransportType(): true - HasTransportType(): false - RemoveRail(): true - HasTransportType(): true - HasTransportType(): false - BuildRailTrack(): true - HasTransportType(): true - HasTransportType(): true - RemoveRail(): true - HasTransportType(): false - HasTransportType(): false - BuildRailTrack(): false - BuildRailTrack(): false - BuildRailTrack(): true - BuildRailTrack(): true - BuildRailTrack(): false - DemolishTile(): true - BuildRailTrack(): true - BuildRailTrack(): false - BuildRailTrack(): false - BuildRailTrack(): false - DemolishTile(): true - BuildRailTrack(): 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 - BuildRailDepot(): true - Station - BuildRailStation(): false - BuildRailStation(): true - IsRailStationTile(): false - IsRailStationTile(): true - IsRailStationTile(): true - RemoveRailStationTileRectangle():true - IsRailStationTile(): false - IsRailStationTile(): true - IsRailStationTile(): false - DemolishTile(): true - IsRailStationTile(): false - IsRailStationTile(): false - IsRailStationTile(): false - Waypoint - BuildRailTrack(): true - BuildRailTrack(): true - BuildRailTrack(): true - BuildRailWaypoint(): false - BuildRailWaypoint(): true - BuildRailWaypoint(): true - BuildRailWaypoint(): false - IsRailWaypointTile(): false - IsRailWaypointTile(): true - IsRailWaypointTile(): true - IsRailWaypointTile(): false - RemoveRailWaypointTileRectangle():true - RemoveRailWaypointTileRectangle():true - IsRailWaypointTile(): false - IsRailWaypointTile(): false - IsRailWaypointTile(): false - IsRailWaypointTile(): false - HasTransportType(): false - HasTransportType(): false - HasTransportType(): true - HasTransportType(): true - DemolishTile(): true - DemolishTile(): true - ---RailTypeList-- - Count(): 1 - ListDump: - RailType: 0 - GetName(): Railway construction - IsRailTypeAvailable(): true - GetMaxSpeed(): 0 - ---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(): false - 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(): true - 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 - BuildDriveThroughRoadStation(bus-drive): true - BuildDriveThroughRoadStation(truck-drive): true - BuildDriveThroughRoadStation(bus-drive): true - BuildDriveThroughRoadStation(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 - - Sign 0 - IsValidSign(): true - GetName(): Some Sign - GetLocation(): 33410 - Sign 1 - IsValidSign(): true - GetName(): Test2 - GetLocation(): 33411 - Valid Signs: 2 - ---Station-- - IsValidStation(0): true - IsValidStation(1000): false - GetName(0): Beningville Airport - SetName(0): true - GetName(0): Look, a station - GetLocation(1): 29253 - GetLocation(1000): -1 - GetStationID(33411): 6 - GetStationID(34411): 65535 - GetStationID(33411): 6 - HasRoadType(3, TRAM): false - HasRoadType(3, ROAD): false - HasRoadType(33411, TRAM): false - HasRoadType(33411, ROAD): true - HasStationType(3, BUS): false - HasStationType(3, TRAIN): false - GetCoverageRadius(BUS): 3 - GetCoverageRadius(TRUCK): 3 - GetCoverageRadius(TRAIN): 4 - GetNearestTown(): 15 - GetNearestTown(): 65535 - GetNearestTown(): 10 - ---CargoWaiting-- - GetCargoWaiting(0, 0): 0 - GetCargoWaitingFrom(0, 0, 0): 0 - GetCargoWaitingVia(0, 0, 0): 0 - GetCargoWaitingFromVia(0, 0, 0, 0): 0 - GetCargoWaitingFromVia(0, 0, 1000, 0): -1 - GetCargoWaitingFrom(0, 1000, 0): -1 - GetCargoWaitingVia(0, 1000, 0): -1 - GetCargoWaitingFromVia(0, 1000, 0, 0): -1 - GetCargoWaitingFromVia(0, 1000, 1000, 0): -1 - GetCargoWaiting(1000, 0): -1 - GetCargoWaitingFrom(1000, 0, 0): -1 - GetCargoWaitingVia(1000, 0, 0): -1 - GetCargoWaitingFromVia(1000, 0, 0, 0): -1 - GetCargoWaitingFromVia(1000, 0, 1000, 0): -1 - GetCargoWaitingFrom(1000, 1000, 0): -1 - GetCargoWaitingVia(1000, 1000, 0): -1 - GetCargoWaitingFromVia(1000, 1000, 0, 0): -1 - GetCargoWaitingFromVia(1000, 1000, 1000, 0): -1 - GetCargoWaiting(0, 1000): -1 - GetCargoWaitingFrom(0, 0, 1000): -1 - GetCargoWaitingVia(0, 0, 1000): -1 - GetCargoWaitingFromVia(0, 0, 0, 1000): -1 - GetCargoWaitingFromVia(0, 0, 1000, 1000): -1 - GetCargoWaitingFrom(0, 1000, 1000): -1 - GetCargoWaitingVia(0, 1000, 1000): -1 - GetCargoWaitingFromVia(0, 1000, 0, 1000): -1 - GetCargoWaitingFromVia(0, 1000, 1000, 1000): -1 - GetCargoWaiting(1000, 1000): -1 - GetCargoWaitingFrom(1000, 0, 1000): -1 - GetCargoWaitingVia(1000, 0, 1000): -1 - GetCargoWaitingFromVia(1000, 0, 0, 1000): -1 - GetCargoWaitingFromVia(1000, 0, 1000, 1000): -1 - GetCargoWaitingFrom(1000, 1000, 1000): -1 - GetCargoWaitingVia(1000, 1000, 1000): -1 - GetCargoWaitingFromVia(1000, 1000, 0, 1000): -1 - GetCargoWaitingFromVia(1000, 1000, 1000, 1000): -1 - ---CargoPlanned-- - GetCargoPlanned(0, 0): 0 - GetCargoPlannedFrom(0, 0, 0): 0 - GetCargoPlannedVia(0, 0, 0): 0 - GetCargoPlannedFromVia(0, 0, 0, 0): 0 - GetCargoPlannedFromVia(0, 0, 1000, 0): -1 - GetCargoPlannedFrom(0, 1000, 0): -1 - GetCargoPlannedVia(0, 1000, 0): -1 - GetCargoPlannedFromVia(0, 1000, 0, 0): -1 - GetCargoPlannedFromVia(0, 1000, 1000, 0): -1 - GetCargoPlanned(1000, 0): -1 - GetCargoPlannedFrom(1000, 0, 0): -1 - GetCargoPlannedVia(1000, 0, 0): -1 - GetCargoPlannedFromVia(1000, 0, 0, 0): -1 - GetCargoPlannedFromVia(1000, 0, 1000, 0): -1 - GetCargoPlannedFrom(1000, 1000, 0): -1 - GetCargoPlannedVia(1000, 1000, 0): -1 - GetCargoPlannedFromVia(1000, 1000, 0, 0): -1 - GetCargoPlannedFromVia(1000, 1000, 1000, 0): -1 - GetCargoPlanned(0, 1000): -1 - GetCargoPlannedFrom(0, 0, 1000): -1 - GetCargoPlannedVia(0, 0, 1000): -1 - GetCargoPlannedFromVia(0, 0, 0, 1000): -1 - GetCargoPlannedFromVia(0, 0, 1000, 1000): -1 - GetCargoPlannedFrom(0, 1000, 1000): -1 - GetCargoPlannedVia(0, 1000, 1000): -1 - GetCargoPlannedFromVia(0, 1000, 0, 1000): -1 - GetCargoPlannedFromVia(0, 1000, 1000, 1000): -1 - GetCargoPlanned(1000, 1000): -1 - GetCargoPlannedFrom(1000, 0, 1000): -1 - GetCargoPlannedVia(1000, 0, 1000): -1 - GetCargoPlannedFromVia(1000, 0, 0, 1000): -1 - GetCargoPlannedFromVia(1000, 0, 1000, 1000): -1 - GetCargoPlannedFrom(1000, 1000, 1000): -1 - GetCargoPlannedVia(1000, 1000, 1000): -1 - GetCargoPlannedFromVia(1000, 1000, 0, 1000): -1 - GetCargoPlannedFromVia(1000, 1000, 1000, 1000): -1 - ---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(): false - PlantTreeRectangle(): true - HasTreeOnTile(): true - ---TileList-- - Count(): 0 - Count(): 9 - Slope(): done - Count(): 9 - ListDump: - 27631 => 29 - 27631 => 65535 - 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(): 27 - Height(): done - Count(): 27 - ListDump: - 34956 => 4 - 34700 => 4 - 34444 => 4 - 34955 => 3 - 34954 => 3 - 34953 => 3 - 34699 => 3 - 34698 => 3 - 34697 => 3 - 34693 => 3 - 34692 => 3 - 34443 => 3 - 34442 => 3 - 34441 => 3 - 34439 => 3 - 34438 => 3 - 34437 => 3 - 34436 => 3 - 34952 => 2 - 34951 => 2 - 34950 => 2 - 34949 => 2 - 34948 => 2 - 34696 => 2 - 34695 => 2 - 34694 => 2 - 34440 => 2 - CornerHeight(North): done - Count(): 27 - ListDump: - 34956 => 4 - 34700 => 4 - 34444 => 4 - 34955 => 3 - 34954 => 3 - 34953 => 3 - 34699 => 3 - 34698 => 3 - 34697 => 3 - 34693 => 3 - 34692 => 3 - 34443 => 3 - 34442 => 3 - 34441 => 3 - 34439 => 3 - 34438 => 3 - 34437 => 3 - 34436 => 3 - 34952 => 2 - 34951 => 2 - 34950 => 2 - 34949 => 2 - 34948 => 2 - 34696 => 2 - 34695 => 2 - 34694 => 2 - 34440 => 2 - MinHeight(): done - Count(): 27 - ListDump: - 34956 => 4 - 34700 => 4 - 34444 => 4 - 34955 => 3 - 34954 => 3 - 34953 => 3 - 34699 => 3 - 34698 => 3 - 34697 => 3 - 34443 => 3 - 34442 => 3 - 34441 => 3 - 34436 => 3 - 34952 => 2 - 34951 => 2 - 34950 => 2 - 34949 => 2 - 34948 => 2 - 34696 => 2 - 34695 => 2 - 34694 => 2 - 34693 => 2 - 34692 => 2 - 34440 => 2 - 34439 => 2 - 34438 => 2 - 34437 => 2 - MaxHeight(): done - Count(): 27 - ListDump: - 34956 => 4 - 34955 => 4 - 34700 => 4 - 34699 => 4 - 34444 => 4 - 34443 => 4 - 34954 => 3 - 34953 => 3 - 34952 => 3 - 34951 => 3 - 34950 => 3 - 34949 => 3 - 34948 => 3 - 34698 => 3 - 34697 => 3 - 34696 => 3 - 34693 => 3 - 34692 => 3 - 34442 => 3 - 34441 => 3 - 34440 => 3 - 34439 => 3 - 34438 => 3 - 34437 => 3 - 34436 => 3 - 34695 => 2 - 34694 => 2 - Slope(): done - KeepValue(0): done - Count(): 12 - ListDump: - 34956 => 0 - 34954 => 0 - 34953 => 0 - 34700 => 0 - 34698 => 0 - 34697 => 0 - 34695 => 0 - 34694 => 0 - 34444 => 0 - 34442 => 0 - 34441 => 0 - 34436 => 0 - Buildable(): done - KeepValue(1): done - Count(): 35 - BuildableRectangle(3, 3) ListDump: - 42415 => 1 - 42414 => 1 - 42413 => 1 - 42412 => 1 - 42411 => 1 - 42410 => 1 - 42159 => 1 - 42158 => 1 - 42157 => 1 - 42156 => 1 - 42155 => 1 - 42154 => 1 - 41903 => 1 - 41902 => 1 - 41901 => 1 - 41900 => 1 - 41899 => 1 - 41898 => 1 - 41647 => 1 - 41646 => 1 - 41645 => 1 - 41644 => 1 - 41643 => 1 - 41642 => 1 - 41641 => 1 - 41391 => 1 - 41390 => 1 - 41389 => 1 - 41388 => 1 - 41387 => 1 - 41386 => 1 - 41385 => 1 - 42153 => 0 - 41897 => 0 - 41384 => 0 - DistanceManhattanToTile(30000) ListDump: - 42415 => 175 - 42414 => 174 - 42159 => 174 - 42413 => 173 - 42158 => 173 - 41903 => 173 - 42412 => 172 - 42157 => 172 - 41902 => 172 - 41647 => 172 - 42411 => 171 - 42156 => 171 - 41901 => 171 - 41646 => 171 - 41391 => 171 - 42410 => 170 - 42155 => 170 - 41900 => 170 - 41645 => 170 - 41390 => 170 - 42154 => 169 - 41899 => 169 - 41644 => 169 - 41389 => 169 - 42153 => 168 - 41898 => 168 - 41643 => 168 - 41388 => 168 - 41897 => 167 - 41642 => 167 - 41387 => 167 - 41641 => 166 - 41386 => 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 - 42412 => 17680 - 41645 => 17650 - 42156 => 17585 - 41389 => 17561 - 41900 => 17492 - 42411 => 17433 - 41644 => 17401 - 42155 => 17338 - 41388 => 17312 - 41899 => 17245 - 42410 => 17188 - 41643 => 17154 - 42154 => 17093 - 41387 => 17065 - 41898 => 17000 - 41642 => 16909 - 42153 => 16850 - 41386 => 16820 - 41897 => 16757 - 41641 => 16666 - 41385 => 16577 - 41384 => 16336 - GetOwner() ListDump: - 42415 => -1 - 42414 => -1 - 42413 => -1 - 42412 => -1 - 42411 => -1 - 42410 => -1 - 42159 => -1 - 42158 => -1 - 42157 => -1 - 42156 => -1 - 42155 => -1 - 42154 => -1 - 42153 => -1 - 41903 => -1 - 41902 => -1 - 41901 => -1 - 41900 => -1 - 41899 => -1 - 41898 => -1 - 41897 => -1 - 41647 => -1 - 41646 => -1 - 41645 => -1 - 41644 => -1 - 41643 => -1 - 41642 => -1 - 41641 => -1 - 41391 => -1 - 41390 => -1 - 41389 => -1 - 41388 => -1 - 41387 => -1 - 41386 => -1 - 41385 => -1 - 41384 => -1 - 33183 => -1 - 33182 => -1 - 33181 => -1 - 33180 => -1 - 33179 => -1 - 33178 => -1 - 33177 => -1 - 33176 => -1 - 33175 => -1 - 32927 => -1 - 32926 => -1 - 32925 => -1 - 32924 => -1 - 32923 => -1 - 32922 => -1 - 32921 => -1 - 32920 => -1 - 32919 => -1 - 32671 => -1 - 32670 => -1 - 32669 => -1 - 32668 => -1 - 32667 => -1 - 32666 => -1 - 32665 => -1 - 32664 => -1 - 32663 => -1 - 32415 => -1 - 32414 => -1 - 32413 => -1 - 32412 => -1 - 32411 => -1 - 32410 => -1 - 32409 => -1 - 32408 => -1 - 32407 => -1 - 32159 => -1 - 32158 => -1 - 32157 => -1 - 32156 => -1 - 32155 => -1 - 32154 => -1 - 32153 => -1 - 32152 => -1 - 32151 => -1 - 31903 => -1 - 31902 => -1 - 31901 => -1 - 31900 => -1 - 31899 => -1 - 31898 => -1 - 31897 => -1 - 31896 => -1 - 31895 => -1 - 31647 => -1 - 31646 => -1 - 31645 => -1 - 31644 => -1 - 31643 => -1 - 31642 => -1 - 31641 => -1 - 31640 => -1 - 31639 => -1 - 31391 => -1 - 31390 => -1 - 31389 => -1 - 31388 => -1 - 31387 => -1 - 31386 => -1 - 31385 => -1 - 31384 => -1 - 31383 => -1 - 31135 => -1 - 31134 => -1 - 31133 => -1 - 31132 => -1 - 31131 => -1 - 31130 => -1 - 31129 => -1 - 31128 => -1 - 31127 => -1 - 30879 => -1 - 30878 => -1 - 30877 => -1 - 30876 => -1 - 30875 => -1 - 30874 => -1 - 30873 => -1 - 30872 => -1 - 30871 => -1 - 30623 => -1 - 30622 => -1 - 30621 => -1 - 30620 => -1 - 30619 => -1 - 30618 => -1 - 30617 => -1 - 30616 => -1 - 30615 => -1 - GetTownAuthority() ListDump: - 33183 => 65535 - 33182 => 65535 - 33181 => 65535 - 33180 => 65535 - 33179 => 65535 - 33178 => 65535 - 33177 => 65535 - 33176 => 65535 - 33175 => 65535 - 32927 => 65535 - 32926 => 65535 - 32925 => 65535 - 32924 => 65535 - 32923 => 65535 - 32922 => 65535 - 32921 => 65535 - 32920 => 65535 - 32919 => 65535 - 32671 => 65535 - 32670 => 65535 - 32669 => 65535 - 32668 => 65535 - 32667 => 65535 - 32666 => 65535 - 32665 => 65535 - 32664 => 65535 - 32663 => 65535 - 32415 => 65535 - 32414 => 65535 - 32413 => 65535 - 32412 => 65535 - 32411 => 65535 - 32410 => 65535 - 32409 => 65535 - 32408 => 65535 - 32407 => 65535 - 32159 => 65535 - 32158 => 65535 - 32157 => 65535 - 32156 => 65535 - 32155 => 65535 - 32154 => 65535 - 32153 => 65535 - 32152 => 65535 - 32151 => 65535 - 31903 => 65535 - 31902 => 65535 - 31901 => 65535 - 31900 => 65535 - 31899 => 65535 - 31898 => 65535 - 31897 => 65535 - 31896 => 65535 - 31895 => 65535 - 31647 => 65535 - 31646 => 65535 - 31645 => 65535 - 31644 => 65535 - 31643 => 65535 - 31642 => 65535 - 31641 => 65535 - 31640 => 65535 - 31639 => 65535 - 31391 => 65535 - 31390 => 65535 - 31389 => 65535 - 31388 => 65535 - 31387 => 65535 - 31386 => 65535 - 31385 => 65535 - 31384 => 65535 - 31383 => 65535 - 31135 => 65535 - 31134 => 65535 - 31133 => 65535 - 31132 => 65535 - 31131 => 65535 - 31130 => 65535 - 31129 => 65535 - 31128 => 65535 - 31127 => 65535 - 30879 => 65535 - 30878 => 65535 - 30877 => 65535 - 30876 => 65535 - 30875 => 65535 - 30874 => 65535 - 30873 => 65535 - 30872 => 65535 - 30871 => 65535 - 30623 => 65535 - 30622 => 65535 - 30621 => 65535 - 30620 => 65535 - 30619 => 65535 - 30618 => 65535 - 30617 => 65535 - 30616 => 65535 - 30615 => 65535 - 42415 => 3 - 42414 => 3 - 42413 => 3 - 42412 => 3 - 42411 => 3 - 42410 => 3 - 42159 => 3 - 42158 => 3 - 42157 => 3 - 42156 => 3 - 42155 => 3 - 42154 => 3 - 42153 => 3 - 41903 => 3 - 41902 => 3 - 41901 => 3 - 41900 => 3 - 41899 => 3 - 41898 => 3 - 41897 => 3 - 41647 => 3 - 41646 => 3 - 41645 => 3 - 41644 => 3 - 41643 => 3 - 41642 => 3 - 41641 => 3 - 41391 => 3 - 41390 => 3 - 41389 => 3 - 41388 => 3 - 41387 => 3 - 41386 => 3 - 41385 => 3 - 41384 => 3 - GetClosestTown() ListDump: - 31127 => 24 - 30872 => 24 - 30871 => 24 - 30617 => 24 - 30616 => 24 - 30615 => 24 - 42415 => 3 - 42414 => 3 - 42413 => 3 - 42412 => 3 - 42411 => 3 - 42410 => 3 - 42159 => 3 - 42158 => 3 - 42157 => 3 - 42156 => 3 - 42155 => 3 - 42154 => 3 - 42153 => 3 - 41903 => 3 - 41902 => 3 - 41901 => 3 - 41900 => 3 - 41899 => 3 - 41898 => 3 - 41897 => 3 - 41647 => 3 - 41646 => 3 - 41645 => 3 - 41644 => 3 - 41643 => 3 - 41642 => 3 - 41641 => 3 - 41391 => 3 - 41390 => 3 - 41389 => 3 - 41388 => 3 - 41387 => 3 - 41386 => 3 - 41385 => 3 - 41384 => 3 - 33183 => 3 - 33182 => 3 - 33181 => 3 - 33180 => 3 - 33179 => 3 - 33178 => 3 - 33177 => 3 - 33176 => 3 - 33175 => 3 - 32927 => 3 - 32926 => 3 - 32925 => 3 - 32924 => 3 - 32923 => 3 - 32922 => 3 - 32921 => 3 - 32920 => 3 - 32919 => 3 - 32671 => 3 - 32670 => 3 - 32669 => 3 - 32668 => 3 - 32667 => 3 - 32666 => 3 - 32665 => 3 - 32664 => 3 - 32663 => 3 - 32415 => 3 - 32414 => 3 - 32413 => 3 - 32412 => 3 - 32411 => 3 - 32410 => 3 - 32409 => 3 - 32408 => 3 - 32407 => 3 - 32159 => 3 - 32158 => 3 - 32157 => 3 - 32156 => 3 - 32155 => 3 - 32154 => 3 - 32153 => 3 - 32152 => 3 - 32151 => 3 - 31903 => 3 - 31902 => 3 - 31901 => 3 - 31900 => 3 - 31899 => 3 - 31898 => 3 - 31897 => 3 - 31896 => 3 - 31895 => 3 - 31647 => 3 - 31646 => 3 - 31645 => 3 - 31644 => 3 - 31643 => 3 - 31642 => 3 - 31641 => 3 - 31640 => 3 - 31639 => 3 - 31391 => 3 - 31390 => 3 - 31389 => 3 - 31388 => 3 - 31387 => 3 - 31386 => 3 - 31385 => 3 - 31384 => 3 - 31383 => 3 - 31135 => 3 - 31134 => 3 - 31133 => 3 - 31132 => 3 - 31131 => 3 - 31130 => 3 - 31129 => 3 - 31128 => 3 - 30879 => 3 - 30878 => 3 - 30877 => 3 - 30876 => 3 - 30875 => 3 - 30874 => 3 - 30873 => 3 - 30623 => 3 - 30622 => 3 - 30621 => 3 - 30620 => 3 - 30619 => 3 - 30618 => 3 - CargoAcceptance(): done - KeepAboveValue(10): done - Count(): 15 - ListDump: - 41897 => 29 - 41385 => 26 - 41384 => 26 - 42153 => 25 - 41641 => 23 - 41899 => 17 - 41898 => 17 - 41387 => 17 - 41386 => 17 - 41643 => 14 - 41642 => 14 - 42411 => 13 - 42410 => 13 - 42155 => 13 - 42154 => 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: - 46919 => 1 - 46918 => 1 - 46917 => 1 - 46916 => 1 - 46915 => 1 - 46914 => 1 - 46913 => 1 - 46912 => 1 - 46664 => 1 - 46663 => 1 - 46662 => 1 - 46661 => 1 - 46660 => 1 - 46659 => 1 - 46658 => 1 - 46657 => 1 - 46656 => 1 - 46655 => 1 - 46408 => 1 - 46407 => 1 - 46406 => 1 - 46405 => 1 - 46404 => 1 - 46403 => 1 - 46402 => 1 - 46401 => 1 - 46400 => 1 - 46399 => 1 - 46152 => 1 - 46151 => 1 - 46150 => 1 - 46149 => 1 - 46146 => 1 - 46145 => 1 - 46144 => 1 - 46143 => 1 - 45896 => 1 - 45895 => 1 - 45894 => 1 - 45889 => 1 - 45888 => 1 - 45887 => 1 - 45640 => 1 - 45639 => 1 - 45638 => 1 - 45633 => 1 - 45632 => 1 - 45631 => 1 - 45384 => 1 - 45383 => 1 - 45382 => 1 - 45377 => 1 - 45376 => 1 - 45375 => 1 - 45128 => 1 - 45127 => 1 - 45126 => 1 - 45121 => 1 - 45120 => 1 - 45119 => 1 - 44872 => 1 - 44871 => 1 - 44870 => 1 - 44869 => 1 - 44868 => 1 - 44867 => 1 - 44866 => 1 - 44865 => 1 - 44864 => 1 - 44863 => 1 - 44616 => 1 - 44615 => 1 - 44614 => 1 - 44613 => 1 - 44612 => 1 - 44611 => 1 - 44610 => 1 - 44609 => 1 - 44608 => 1 - 44607 => 1 - 44360 => 1 - 44359 => 1 - 44358 => 1 - 44357 => 1 - 44356 => 1 - 44355 => 1 - 44354 => 1 - 44353 => 1 - 44352 => 1 - 44351 => 1 - ---TileList_StationType-- - Count(): 4 - Location ListDump: - 33667 => 0 - 33415 => 0 - 33413 => 0 - 33411 => 0 - ---Town-- - GetTownCount(): 28 - Town 0 - IsValidTown(): true - GetName(): Planfield - GetPopulation(): 787 - GetLocation(): 15508 - GetHouseCount(): 30 - GetRating(): 0 - IsCity(): true - Town 1 - IsValidTown(): true - GetName(): Trenningville - GetPopulation(): 243 - GetLocation(): 46751 - GetHouseCount(): 17 - GetRating(): 0 - IsCity(): false - Town 2 - IsValidTown(): true - GetName(): Tonston - GetPopulation(): 380 - GetLocation(): 28365 - GetHouseCount(): 19 - GetRating(): 0 - IsCity(): false - Town 3 - IsValidTown(): true - GetName(): Tunford - GetPopulation(): 176 - GetLocation(): 41895 - GetHouseCount(): 11 - GetRating(): 0 - IsCity(): false - Town 4 - IsValidTown(): true - GetName(): Wruntown - GetPopulation(): 426 - GetLocation(): 41450 - GetHouseCount(): 18 - GetRating(): 0 - IsCity(): true - Town 5 - IsValidTown(): true - GetName(): Fratston - GetPopulation(): 205 - GetLocation(): 55007 - GetHouseCount(): 11 - GetRating(): 0 - IsCity(): false - Town 6 - IsValidTown(): true - GetName(): Muningville - GetPopulation(): 679 - GetLocation(): 38200 - GetHouseCount(): 28 - GetRating(): 0 - IsCity(): false - Town 7 - IsValidTown(): true - GetName(): Hutford - GetPopulation(): 950 - GetLocation(): 59234 - GetHouseCount(): 33 - GetRating(): 0 - IsCity(): false - Town 8 - IsValidTown(): true - GetName(): Satown - GetPopulation(): 358 - GetLocation(): 51267 - GetHouseCount(): 20 - GetRating(): 0 - IsCity(): true - Town 9 - IsValidTown(): true - GetName(): Frindinghattan - GetPopulation(): 478 - GetLocation(): 5825 - GetHouseCount(): 18 - GetRating(): 0 - IsCity(): false - Town 10 - IsValidTown(): true - GetName(): Nuntburg - GetPopulation(): 737 - GetLocation(): 6446 - GetHouseCount(): 26 - GetRating(): 6 - IsCity(): false - Town 11 - IsValidTown(): true - GetName(): Fort Frindston - GetPopulation(): 180 - GetLocation(): 14935 - GetHouseCount(): 13 - GetRating(): 0 - IsCity(): false - Town 12 - IsValidTown(): true - GetName(): Gintborough - GetPopulation(): 982 - GetLocation(): 32740 - GetHouseCount(): 28 - GetRating(): 0 - IsCity(): true - Town 13 - IsValidTown(): true - GetName(): Great Hinninghall - GetPopulation(): 310 - GetLocation(): 9595 - GetHouseCount(): 14 - GetRating(): 0 - IsCity(): false - Town 14 - IsValidTown(): true - GetName(): Prundinghall - GetPopulation(): 432 - GetLocation(): 51298 - GetHouseCount(): 18 - GetRating(): 0 - IsCity(): false - Town 15 - IsValidTown(): true - GetName(): Beningville - GetPopulation(): 807 - GetLocation(): 42338 - GetHouseCount(): 33 - GetRating(): 6 - IsCity(): false - Town 16 - IsValidTown(): true - GetName(): Kennville - GetPopulation(): 780 - GetLocation(): 17345 - GetHouseCount(): 33 - GetRating(): 0 - IsCity(): true - Town 17 - IsValidTown(): true - GetName(): Quarfingfield - GetPopulation(): 218 - GetLocation(): 24252 - GetHouseCount(): 13 - GetRating(): 0 - IsCity(): false - Town 18 - IsValidTown(): true - GetName(): Nefingbridge - GetPopulation(): 262 - GetLocation(): 10574 - GetHouseCount(): 13 - GetRating(): 0 - IsCity(): false - Town 19 - IsValidTown(): true - GetName(): Mendston - GetPopulation(): 243 - GetLocation(): 6511 - GetHouseCount(): 14 - GetRating(): 0 - IsCity(): false - Town 20 - IsValidTown(): true - GetName(): Chenfingbourne - GetPopulation(): 437 - GetLocation(): 22585 - GetHouseCount(): 15 - GetRating(): 6 - IsCity(): true - Town 21 - IsValidTown(): true - GetName(): Franinghead - GetPopulation(): 802 - GetLocation(): 9634 - GetHouseCount(): 27 - GetRating(): 0 - IsCity(): false - Town 22 - IsValidTown(): true - GetName(): Natborough - GetPopulation(): 221 - GetLocation(): 51891 - GetHouseCount(): 12 - GetRating(): 0 - IsCity(): false - Town 23 - IsValidTown(): true - GetName(): Larborough - GetPopulation(): 652 - GetLocation(): 59622 - GetHouseCount(): 27 - GetRating(): 0 - IsCity(): false - Town 24 - IsValidTown(): true - GetName(): Little Frutford - GetPopulation(): 668 - GetLocation(): 19596 - GetHouseCount(): 34 - GetRating(): 4 - IsCity(): true - Town 25 - IsValidTown(): true - GetName(): Grinnway - GetPopulation(): 563 - GetLocation(): 16433 - GetHouseCount(): 15 - GetRating(): 0 - IsCity(): false - Town 26 - IsValidTown(): true - GetName(): Beburg - GetPopulation(): 362 - GetLocation(): 39505 - GetHouseCount(): 18 - GetRating(): 0 - IsCity(): false - Town 27 - IsValidTown(): true - GetName(): Fudhattan - GetPopulation(): 390 - GetLocation(): 45525 - GetHouseCount(): 19 - GetRating(): 0 - IsCity(): false - 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: - 12 => 982 - 7 => 950 - 15 => 807 - 21 => 802 - 0 => 787 - 16 => 780 - 10 => 737 - 6 => 679 - 24 => 668 - 23 => 652 - 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(): 11894 - Should be: 11894 - ResetCosts(): (null : 0x00000000) - SellVehicle(13): true - IsInDepot(): true - IsStoppedInDepot(): true - StartStopVehicle(): true - IsInDepot(): false - IsStoppedInDepot(): false - SendVehicleToDepot(): true - IsInDepot(): false - IsStoppedInDepot(): false - --Accounting-- - GetCosts(): -5947 - Should be: -5947 - GetName(): Road Vehicle 1 - SetName(): true - GetName(): MyVehicleName - CloneVehicle(): 13 - --VehicleData-- - GetLocation(): 33417 - GetEngineType(): 153 - GetUnitNumber(): 1 - GetAge(): 0 - GetMaxAge(): 5490 - GetAgeLeft(): 5490 - GetCurrentSpeed(): 7 - GetRunningCost(): 421 - GetProfitThisYear(): 0 - GetProfitLastYear(): 0 - GetCurrentValue(): 5947 - 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 - IsValidVehicle(17): true - IsValidVehicle(18): true - IsValidVehicle(19): false - MoveWagonChain(): true - GetNumWagons(): 3 - GetLength(): 24 - GetWagonEngineType(): 9 - GetWagonAge(): 1 - GetWagonEngineType(): 27 - GetWagonAge(): 1 - GetWagonEngineType(): 27 - GetWagonAge(): 0 - GetWagonEngineType(): 65535 - GetWagonAge(): -1 - --Refit-- - GetBuildWithRefitCapacity(): -1 - GetBuildWithRefitCapacity(): 0 - GetBuildWithRefitCapacity(): 160 - BuildVehicleWithRefit(): 20 - GetCapacity(): 160 - GetCapacity(): 0 - GetRefitCapacity(): 160 - RefitVehicle(): true - GetCapacity(): 0 - GetCapacity(): 160 - SellVehicle(): true - --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 => 1 - 16 => 1 - 14 => 1 - 13 => 1 - 12 => 1 - MaxAge ListDump: - 16 => 10980 - 14 => 10980 - 17 => 7320 - 13 => 5490 - 12 => 5490 - AgeLeft ListDump: - 16 => 10979 - 14 => 10979 - 17 => 7319 - 13 => 5489 - 12 => 5489 - CurrentSpeed ListDump: - 12 => 27 - 17 => 0 - 16 => 0 - 14 => 0 - 13 => 0 - RunningCost ListDump: - 14 => 2756 - 17 => 2296 - 16 => 2296 - 13 => 421 - 12 => 421 - ProfitThisYear ListDump: - 17 => 0 - 16 => 0 - 14 => 0 - 13 => 0 - 12 => -1 - ProfitLastYear ListDump: - 17 => 0 - 16 => 0 - 14 => 0 - 13 => 0 - 12 => 0 - CurrentValue ListDump: - 14 => 30761 - 16 => 30468 - 17 => 22265 - 13 => 5947 - 12 => 5947 - 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 - AreOrderFlagsValid(): false - AreOrderFlagsValid(): true - AreOrderFlagsValid(): true - AreOrderFlagsValid(): true - AreOrderFlagsValid(): true - IsValidConditionalOrder(): true - IsValidConditionalOrder(): false - IsValidConditionalOrder(): true - IsValidConditionalOrder(): false - IsValidVehicleOrder(): false - IsGotoStationOrder(): false - IsGotoDepotOrder(): false - IsGotoWaypointOrder(): false - IsConditionalOrder(): false - IsCurrentOrderPartOfOrderList(): false - GetOrderFlags(): 65535 - AppendOrder(): true - InsertOrder(): true - GetOrderCount(): 2 - IsValidVehicleOrder(): true - IsGotoStationOrder(): true - IsGotoDepotOrder(): false - IsGotoWaypointOrder(): false - IsConditionalOrder(): false - IsCurrentOrderPartOfOrderList(): false - GetOrderFlags(): 8 - GetOrderFlags(): 8 - GetOrderJumpTo(): -1 - RemoveOrder(): true - SetOrderFlags(): true - GetOrderFlags(): 64 - GetOrderDestination(): 33411 - CopyOrders(): false - CopyOrders(): true - ShareOrders(): false - ShareOrders(): true - UnshareOrders(): true - AppendOrder(): true - GetStopLocation(): -1 - BuildVehicle(): 20 - BuildRailStation(): true - AppendOrder(): true - GetOrderCount(): 1 - GetStopLocation(): 2 - SetStopLocation(): true - GetStopLocation(): 1 - ---VehicleList_Station-- - Count(): 1 - Location ListDump: - 20 => 23596 - foreach(): - 20 => 23596 - - First Subsidy Test - --Subsidy (0) -- - IsValidSubsidy(): true - IsAwarded(): false - GetAwardedTo(): -1 - GetExpireDate(): 714080 - GetSourceType(): 1 - GetSourceIndex(): 15 - GetDestinationType(): 1 - GetDestinationIndex(): 7 - GetCargoType(): 0 - IsEventWaiting: false - ---Math-- - -2147483648 < -2147483647: true - -2147483648 < -1 : true - -2147483648 < 0 : true - -2147483648 < 1 : true - -2147483648 < 2147483647: true - -2147483647 < -2147483648: false - -1 < -2147483648: false - 0 < -2147483648: false - 1 < -2147483648: false - 2147483647 < -2147483648: false - -1 > 2147483647: false - -1 > 1 : false - -1 > 0 : false - -1 > -1 : false - -1 > -2147483648: true - 1 > 2147483647: false - 1 > 1 : false - 1 > 0 : true - 1 > -1 : true - 1 > -2147483648: true - 2147483647 > 2147483646: true - 2147483647 > 1 : true - 2147483647 > 0 : true - 2147483647 > -1 : true - 2147483647 > -2147483648: true - 2147483646 > 2147483647: false - 1 > 2147483647: false - 0 > 2147483647: false - -1 > 2147483647: false - -2147483648 > 2147483647: false - 13725 > -2147483648: true -ERROR: The script died unexpectedly. diff --git a/bin/ai/regression/tst_stationlist/main.nut b/bin/ai/regression/tst_stationlist/main.nut deleted file mode 100644 index 2f00ea1d6..000000000 --- a/bin/ai/regression/tst_stationlist/main.nut +++ /dev/null @@ -1,214 +0,0 @@ -class Regression extends AIController { - function Start(); -}; - - -function Regression::StationList() -{ - 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetCargoWaiting, 0); - print(" CargoWaiting(0) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetCargoWaiting, 1); - print(" CargoWaiting(1) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_Cargo() -{ - print(""); - print("--StationList_Cargo--"); - - for (local mode = AIStationList_Cargo.CM_WAITING; mode <= AIStationList_Cargo.CM_PLANNED; ++mode) { - print(" " + mode); - for (local selector = AIStationList_Cargo.CS_BY_FROM; selector <= AIStationList_Cargo.CS_FROM_BY_VIA ; ++selector) { - print(" " + selector); - local list = AIStationList_Cargo(mode, selector, 6, 0, 7); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - } - } -}; - -function Regression::StationList_CargoPlanned() -{ - print(""); - print("--StationList_CargoPlanned--"); - - for (local selector = AIStationList_Cargo.CS_BY_FROM; selector <= AIStationList_Cargo.CS_FROM_BY_VIA; ++selector) { - print(" " + selector); - local list = AIStationList_CargoPlanned(selector, 6, 0, 7); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - } -}; - -function Regression::StationList_CargoPlannedByFrom() -{ - print(""); - print("--StationList_CargoPlannedByFrom--"); - local list = AIStationList_CargoPlannedByFrom(2, 0); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoPlannedByVia() -{ - print(""); - print("--StationList_CargoPlannedByVia--"); - local list = AIStationList_CargoPlannedByVia(2, 0); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoPlannedViaByFrom() -{ - print(""); - print("--StationList_CargoPlannedViaByFrom--"); - local list = AIStationList_CargoPlannedViaByFrom(6, 0, 7); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoPlannedFromByVia() -{ - print(""); - print("--StationList_CargoPlannedFromByVia--"); - local list = AIStationList_CargoPlannedFromByVia(6, 0, 7); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoWaiting() -{ - print(""); - print("--StationList_CargoWaiting--"); - - for (local selector = AIStationList_Cargo.CS_BY_FROM; selector <= AIStationList_Cargo.CS_FROM_BY_VIA; ++selector) { - print(" " + selector); - local list = AIStationList_CargoWaiting(selector, 6, 0, 7); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - } -}; - -function Regression::StationList_CargoWaitingByFrom() -{ - print(""); - print("--StationList_CargoWaitingByFrom--"); - local list = AIStationList_CargoWaitingByFrom(2, 0); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoWaitingByVia() -{ - print(""); - print("--StationList_CargoWaitingByVia--"); - local list = AIStationList_CargoWaitingByVia(2, 0); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoWaitingViaByFrom() -{ - print(""); - print("--StationList_CargoWaitingViaByFrom--"); - local list = AIStationList_CargoWaitingViaByFrom(6, 0, 7); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_CargoWaitingFromByVia() -{ - print(""); - print("--StationList_CargoWaitingFromByVia--"); - local list = AIStationList_CargoWaitingFromByVia(2, 0, 2); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -}; - -function Regression::StationList_Vehicle() -{ - 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.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetCargoWaiting, 0); - print(" CargoWaiting(0) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetCargoWaiting, 1); - print(" CargoWaiting(1) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetCargoRating, 1); - print(" CargoRating(1) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetDistanceManhattanToTile, 30000); - print(" DistanceManhattanToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.GetDistanceSquareToTile, 30000); - print(" DistanceSquareToTile(30000) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } - list.Valuate(AIStation.IsWithinTownInfluence, 0); - print(" IsWithinTownInfluence(0) ListDump:"); - for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) { - print(" " + i + " => " + list.GetValue(i)); - } -} - -function Regression::Start() -{ - StationList(); - StationList_Cargo(); - StationList_CargoPlanned(); - StationList_CargoPlannedByFrom(); - StationList_CargoPlannedByVia(); - StationList_CargoPlannedViaByFrom(); - StationList_CargoPlannedFromByVia(); - StationList_CargoWaiting(); - StationList_CargoWaitingByFrom(); - StationList_CargoWaitingByVia(); - StationList_CargoWaitingViaByFrom(); - StationList_CargoWaitingFromByVia(); - StationList_Vehicle(); -} diff --git a/bin/ai/regression/tst_stationlist/result.txt b/bin/ai/regression/tst_stationlist/result.txt deleted file mode 100644 index 20e594766..000000000 --- a/bin/ai/regression/tst_stationlist/result.txt +++ /dev/null @@ -1,127 +0,0 @@ - ---StationList-- - Count(): 5 - Location ListDump: - 6 => 42341 - 2 => 41831 - 7 => 41825 - 5 => 33421 - 4 => 33411 - CargoWaiting(0) ListDump: - 7 => 6 - 6 => 6 - 2 => 3 - 5 => 0 - 4 => 0 - CargoWaiting(1) ListDump: - 7 => 0 - 6 => 0 - 5 => 0 - 4 => 0 - 2 => 0 - ---StationList_Cargo-- - 0 - 0 - 6 => 6 - 1 - 6 => 2 - 2 - 2 => 4 - 7 => 2 - 3 - 1 - 0 - 7 => 18 - 6 => 16 - 2 => 7 - 1 - 6 => 8 - 2 => 3 - 2 - 2 => 16 - 6 => 14 - 7 => 11 - 3 - 6 => 10 - 2 => 8 - ---StationList_CargoPlanned-- - 0 - 7 => 18 - 6 => 16 - 2 => 7 - 1 - 6 => 8 - 2 => 3 - 2 - 2 => 16 - 6 => 14 - 7 => 11 - 3 - 6 => 10 - 2 => 8 - ---StationList_CargoPlannedByFrom-- - 7 => 8 - 6 => 8 - 2 => 7 - ---StationList_CargoPlannedByVia-- - 2 => 16 - 6 => 7 - ---StationList_CargoPlannedViaByFrom-- - 6 => 8 - 2 => 3 - ---StationList_CargoPlannedFromByVia-- - 6 => 10 - 2 => 8 - ---StationList_CargoWaiting-- - 0 - 6 => 6 - 1 - 6 => 2 - 2 - 2 => 4 - 7 => 2 - 3 - ---StationList_CargoWaitingByFrom-- - 2 => 3 - ---StationList_CargoWaitingByVia-- - 6 => 3 - ---StationList_CargoWaitingViaByFrom-- - 6 => 2 - ---StationList_CargoWaitingFromByVia-- - 6 => 3 - ---StationList_Vehicle-- - Count(): 2 - Location ListDump: - 5 => 33421 - 4 => 33411 - CargoWaiting(0) ListDump: - 5 => 0 - 4 => 0 - CargoWaiting(1) ListDump: - 5 => 0 - 4 => 0 - CargoRating(1) ListDump: - 5 => -1 - 4 => -1 - DistanceManhattanToTile(30000) ListDump: - 5 => 106 - 4 => 96 - DistanceSquareToTile(30000) ListDump: - 5 => 8818 - 4 => 7058 - IsWithinTownInfluence(0) ListDump: - 5 => 0 - 4 => 0 -ERROR: The script died unexpectedly. diff --git a/bin/ai/regression/tst_stationlist/test.sav b/bin/ai/regression/tst_stationlist/test.sav Binary files differdeleted file mode 100644 index ef551c74f..000000000 --- a/bin/ai/regression/tst_stationlist/test.sav +++ /dev/null |