summaryrefslogtreecommitdiff
path: root/bin/ai
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ai')
-rw-r--r--bin/ai/regression/regression.nut10
-rw-r--r--bin/ai/regression/regression.txt6
2 files changed, 16 insertions, 0 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut
index 7ec415639..1f8316043 100644
--- a/bin/ai/regression/regression.nut
+++ b/bin/ai/regression/regression.nut
@@ -804,6 +804,16 @@ function Regression::Marine()
print(" IsCanalTile(): " + AIMarine.IsCanalTile(32127));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
+ local list = AIBuoyList();
+ print("");
+ print("--AIBuoyList--");
+ print(" Count(): " + list.Count());
+ print(" Location ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i);
+ }
+ print("");
+
print(" RemoveWaterDepot(): " + AIMarine.RemoveWaterDepot(28479));
print(" RemoveDock(): " + AIMarine.RemoveDock(29253));
print(" RemoveBuoy(): " + AIMarine.RemoveBuoy(28481));
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
index 0e162c0e0..f6edc7ec9 100644
--- a/bin/ai/regression/regression.txt
+++ b/bin/ai/regression/regression.txt
@@ -7088,6 +7088,12 @@
IsLockTile(): true
IsCanalTile(): true
GetBankBalance(): 805063
+
+--AIBuoyList--
+ Count(): 1
+ Location ListDump:
+ 28481
+
RemoveWaterDepot(): true
RemoveDock(): true
RemoveBuoy(): true