summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-23 16:05:19 +0000
committertruebrain <truebrain@openttd.org>2011-11-23 16:05:19 +0000
commit229e572663158d8fd37cabf3c2a3cb06811ff0a1 (patch)
treee27f01fdf1de01262be29bb795b0be8d54b04f5e /bin
parent4e09cde6495f35a6d56cacc0dbf636df7bc94dbd (diff)
downloadopenttd-229e572663158d8fd37cabf3c2a3cb06811ff0a1.tar.xz
(svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
Diffstat (limited to 'bin')
-rw-r--r--bin/ai/compat_0.7.nut2
-rw-r--r--bin/ai/compat_1.0.nut2
-rw-r--r--bin/ai/compat_1.1.nut2
3 files changed, 6 insertions, 0 deletions
diff --git a/bin/ai/compat_0.7.nut b/bin/ai/compat_0.7.nut
index d85a5fbe0..0616a8124 100644
--- a/bin/ai/compat_0.7.nut
+++ b/bin/ai/compat_0.7.nut
@@ -326,3 +326,5 @@ AICompany.GetCompanyValue <- function(company)
{
return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER);
}
+
+AITown.GetLastMonthTransported <- AITown.GetLastMonthSupplied;
diff --git a/bin/ai/compat_1.0.nut b/bin/ai/compat_1.0.nut
index ea76952f4..9a3cb3401 100644
--- a/bin/ai/compat_1.0.nut
+++ b/bin/ai/compat_1.0.nut
@@ -77,3 +77,5 @@ AICompany.GetCompanyValue <- function(company)
{
return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER);
}
+
+AITown.GetLastMonthTransported <- AITown.GetLastMonthSupplied;
diff --git a/bin/ai/compat_1.1.nut b/bin/ai/compat_1.1.nut
index 8328e4b9a..3e3175d3e 100644
--- a/bin/ai/compat_1.1.nut
+++ b/bin/ai/compat_1.1.nut
@@ -13,3 +13,5 @@ AICompany.GetCompanyValue <- function(company)
{
return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER);
}
+
+AITown.GetLastMonthTransported <- AITown.GetLastMonthSupplied;