diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ai/regression/regression.nut | 10 | ||||
-rw-r--r-- | bin/ai/regression/regression.txt | 13 |
2 files changed, 22 insertions, 1 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut index 763cc698d..69019f04f 100644 --- a/bin/ai/regression/regression.nut +++ b/bin/ai/regression/regression.nut @@ -920,6 +920,15 @@ function Regression::Order() print(" UnshareOrders(): " + AIOrder.UnshareOrders(13)); print(" AppendOrder(): " + AIOrder.AppendOrder(12, 33421, AIOrder.AIOF_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.AIOF_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 = AIStationList_Vehicle(12); print(""); @@ -1024,6 +1033,7 @@ function Regression::Rail() 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)); diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt index ae8d8e175..be69ce388 100644 --- a/bin/ai/regression/regression.txt +++ b/bin/ai/regression/regression.txt @@ -7179,6 +7179,7 @@ Depot distance from (0,0) ListDump: 33411 => 261 RemoveDepot(): true + BuildRailDepot(): true Station BuildRailStation(): false BuildRailStation(): true @@ -8565,6 +8566,14 @@ ShareOrders(): true UnshareOrders(): true AppendOrder(): true + GetStopLocation(): -1 + BuildVehicle(): 20 + BuildRailStation(): true + AppendOrder(): true + GetOrderCount(): 1 + GetStopLocation(): 2 + SetStopLocation(): true + GetStopLocation(): 1 --StationList_Vehicle-- Count(): 2 @@ -8591,9 +8600,11 @@ 4 => 0 --VehicleList_Station-- - Count(): 0 + Count(): 1 Location ListDump: + 20 => 23596 foreach(): + 20 => 23596 First Subsidy Test --Subsidy (0) -- |