mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
16 lines
675 B
Plaintext
16 lines
675 B
Plaintext
/* $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());
|