Commit graph

14 commits

Author SHA1 Message Date
mattsc
9e5ec5f060 Experimental AI: rename config file
This stopped being a rush AI long ago.

(cherry-picked from commit ec45b53fe2)
2018-10-07 03:24:51 +00:00
mattsc
cfb2aa8050 AIs: idle_ai is not a "Dev AI", fixes #1955
As indicated in the comment of the idle_ai config file, an AI needs to
contain at least one stage, otherwise the default AI will be injected
under certain circumstances. Unlike indicated in the comment, this now
also applies to loading a mid-scenario save. (I will add that to the
comment in the next commit.)

As this AI was in data/ai/dev/, it was previously only loaded when
Wesnoth was started in debug mode. The config was thus not available
when playing in no-debug mode, causing the default AI to be injected on
reload. This caused issue #1955.

While not strictly necessary, we keep a redirect in data/ai/dev for
backward compatibility, in case the file is included in add-ons.
2017-10-04 16:48:08 -07:00
mattsc
7e0a05ed6e Experimental AI: consistently use underscores in AI ids and file names
This is the last step of making everything use consistent syntax.
2013-07-10 20:37:30 -07:00
Espreon
30419e93c3 Marked various files as having no translatables. 2013-05-22 17:02:51 -04:00
Simon Forsyth
4d67102e7a Add a dev_multiplayer AI alias for the new AI.
Since that AI does not allow any customization of recruiting, it seems
undesirable for it to replace the singleplayer AI in its current
state.
2012-12-03 18:59:04 +00:00
Alexander van Gessel
f4ab3722dc Apply patch #3570 by mattsc 2012-11-26 23:50:17 +01:00
Iurii Chernyi
ff510b6e47 fix a mistake in ai alias files 2009-12-24 23:07:37 +00:00
Iurii Chernyi
be416538bb tweaks and cleanups of available ai configs 2009-12-24 22:40:33 +00:00
Eric S. Raymond
0aa99781cf Reindent mainline. 2009-11-23 14:39:03 +00:00
Iurii Chernyi
10fdab6f86 RCA (with alink's targeting patch) -> default stable singleplayer...
...AI for scenarios which are converted to new ai syntax
2009-11-11 21:17:10 +00:00
Nils Kneuper
64abf3e200 add a default textdomain declaration...
...(using "./utils/change-textdomain -t data/")
2009-09-20 13:53:46 +00:00
Iurii Chernyi
afcb29c338 reworked AI macros, added support for moving leader to goal...
...as a candidate action, fixed some bugs, changed modify_ai syntax to
make it more resilient to bugs and to allow reuse of subtags
2009-09-03 23:23:37 +00:00
Iurii Chernyi
717eca7428 new test scenario: move_to_targets, for AI improvement 2009-09-02 21:20:55 +00:00
Iurii Chernyi
7672a9d7ff ai macros and aliases 2009-08-23 22:04:06 +00:00