summaryrefslogtreecommitdiff
path: root/src/script/api/ai
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-11-12 17:57:32 +0000
committerfrosch <frosch@openttd.org>2013-11-12 17:57:32 +0000
commit17eb3ee9df210e5a8777fcbc289c2756ed56ef14 (patch)
tree364339e4eb0f43ebd892714effb5739ab3ed1f91 /src/script/api/ai
parent9a41aefcc4a75ca98dd73e022d058b52bbd2a26d (diff)
downloadopenttd-17eb3ee9df210e5a8777fcbc289c2756ed56ef14.tar.xz
(svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration.
Diffstat (limited to 'src/script/api/ai')
-rw-r--r--src/script/api/ai/ai_town.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/ai/ai_town.hpp.sq b/src/script/api/ai/ai_town.hpp.sq
index 27f1ec72e..6b09190be 100644
--- a/src/script/api/ai/ai_town.hpp.sq
+++ b/src/script/api/ai/ai_town.hpp.sq
@@ -69,6 +69,7 @@ void SQAITown_Register(Squirrel *engine)
SQAITown.DefSQStaticMethod(engine, &ScriptTown::HasStatue, "HasStatue", 2, ".i");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::IsCity, "IsCity", 2, ".i");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::GetRoadReworkDuration, "GetRoadReworkDuration", 2, ".i");
+ SQAITown.DefSQStaticMethod(engine, &ScriptTown::GetFundBuildingsDuration, "GetFundBuildingsDuration", 2, ".i");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::GetExclusiveRightsCompany, "GetExclusiveRightsCompany", 2, ".i");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::GetExclusiveRightsDuration, "GetExclusiveRightsDuration", 2, ".i");
SQAITown.DefSQStaticMethod(engine, &ScriptTown::IsActionAvailable, "IsActionAvailable", 3, ".ii");