Commit Graph

3 Commits (54f67b8137ed7384bae6a9f4fc89e37eab1f64e8)

Author SHA1 Message Date
smatz 15242b3ac8 (svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as documented at all, make it return what AITown::GetLastMonthProduction did
-Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
15 years ago
yexo 63d5c304b9 (svn r17289) -Fix (r17214): for AIs it's STATION_INVALID, not INVALID_STATION 15 years ago
yexo 418c88f94d (svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
15 years ago