summaryrefslogtreecommitdiff
path: root/bin/ai/wrightai/info.nut
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ai/wrightai/info.nut')
-rw-r--r--bin/ai/wrightai/info.nut15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/ai/wrightai/info.nut b/bin/ai/wrightai/info.nut
new file mode 100644
index 000000000..3cd7cfa90
--- /dev/null
+++ b/bin/ai/wrightai/info.nut
@@ -0,0 +1,15 @@
+/* $Id$ */
+
+class WrightAI extends AIInfo {
+ function GetAuthor() { return "OpenTTD NoAI Developers Team"; }
+ function GetName() { return "WrightAI"; }
+ function GetDescription() { return "A simple AI that tries to beat you with only aircrafts"; }
+ function GetVersion() { return 2; }
+ function GetDate() { return "2008-02-24"; }
+ function CreateInstance() { return "WrightAI"; }
+ function GetSettings() {
+ AddSetting({name = "min_town_size", description = "The minimal size of towns to work on", min_value = 100, max_value = 1000, easy_value = 500, medium_value = 400, hard_value = 300, custom_value = 500, flags = 0});
+ }
+}
+
+RegisterAI(WrightAI());