From 229e572663158d8fd37cabf3c2a3cb06811ff0a1 Mon Sep 17 00:00:00 2001 From: truebrain Date: Wed, 23 Nov 2011 16:05:19 +0000 Subject: (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) --- bin/ai/compat_0.7.nut | 2 ++ bin/ai/compat_1.0.nut | 2 ++ bin/ai/compat_1.1.nut | 2 ++ 3 files changed, 6 insertions(+) (limited to 'bin') 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; -- cgit v1.2.3-54-g00ecf