Ticket #1586: AI - Sorted and named by difficulty.patch
File AI - Sorted and named by difficulty.patch, 2.1 KB (added by , 12 years ago) |
---|
-
binaries/data/mods/public/gui/gamesetup/gamesetup.js
87 87 88 88 // Sort AIs by displayed name 89 89 g_AIs.sort(function (a, b) { 90 return a.data. name < b.data.name ? -1 : b.data.name < a.data.name? +1 : 0;90 return a.data.difficulty < b.data.difficulty ? -1 : b.data.difficulty < a.data.difficulty ? +1 : 0; 91 91 }); 92 92 93 93 // Get default player data - remove gaia -
binaries/data/mods/public/simulation/ai/jubot/data.json
1 1 { 2 "name": "JuBot", 2 "name": "JuBot (Easy)", 3 "difficulty": "0", 3 4 "description": "Jubal's improved version of the 0AD TestBot.", 4 5 "constructor": "JuBotAI" 5 6 } -
binaries/data/mods/public/simulation/ai/qbot-wc/data.json
1 1 { 2 "name": "Aegis Bot", 2 "name": "Aegis Bot (Hard)", 3 "difficulty": "2", 3 4 "description": "Improvements over qBot by Wraitii. Still experimental(bugs possible).\nThis bot may be harder to defeat than the regular qBot. Please report any problems on the Wildfire forums.", 4 5 "constructor": "QBotAI" 5 6 } -
binaries/data/mods/public/simulation/ai/qbot/data.json
1 1 { 2 "name": "qBot", 2 "name": "qBot (Medium)", 3 "difficulty": "1", 3 4 "description": "Quantumstate's improved version of the Test Bot", 4 5 "constructor": "QBotAI" 5 6 }