24 Commits

Author SHA1 Message Date
Ignacio R. Morelle
fbd8f6ae59 Ran wmlindent 2012-01-11 21:49:32 +00:00
Iurii Chernyi
1f667d3bf8 Fix bug #18122:
AI leaders set to defensive will now follow human-set leader goals
anyway, even to the death.
2011-08-11 21:36:17 +00:00
Steven Panek
4a7ec6b8c3 Made it so that AI_CONTROLLER_ALLOW_LEADER_CONTROL's menu item...
...only appears if the leader it's supposed to control is alive.
2011-07-26 20:19:32 +00:00
Eric S. Raymond
e7d337a676 Reindent mainline. 2010-09-23 13:04:56 +00:00
Iurii Chernyi
5fc4765bb5 fix bug #15390:
...add a try_delete action to modify_ai which has 'delete if exists,
don't complain if not exists' semantics
2010-03-09 19:39:15 +00:00
Eric S. Raymond
c62c55e1a2 More macro argument typechecking. No mismatches in mainline. 2010-02-12 00:25:20 +00:00
Eric S. Raymond
75f2727548 More nacro argument type checking. No mismatches in mainline. 2010-02-11 22:45:04 +00:00
Iurii Chernyi
6117d5b021 fixed a segfault in fai_candidate_action serialization code,
...removed some old stubs, used better and simpler AI syntax in LoW::1,
LoW::2, LoW::3 , split candidate action WML snippets to their own file
2009-12-25 01:25:34 +00:00
Eric S. Raymond
0aa99781cf Reindent mainline. 2009-11-23 14:39:03 +00:00
Iurii Chernyi
22c6537c93 rework of ai macros comments,
...added a macro to limit attack_depth depending on difficulty level
2009-11-12 11:02:15 +00:00
Iurii Chernyi
ac44576f15 additional changes to AI macros 2009-11-11 21:16:55 +00:00
Iurii Chernyi
be779c5d73 LoW: fix bug # 14404:
...made special right-click leader control actions disappear on
victory
2009-09-30 20:57:50 +00:00
Iurii Chernyi
9563cfd035 modified AI_CONTROLLER_ALLOW_LEADER_CONTROL macro...
...to show a better menu item description and to allow I18N of menu
item description
2009-09-24 00:06:28 +00:00
Iurii Chernyi
62e66e9110 a useful AI macro: a menu item to ask allied leaders to move to target hex 2009-09-23 00:29:41 +00:00
Iurii Chernyi
eb77fed2dc added empty stage, used experimental fai recruitment for LoW::2,
...disabled extra debug output in formula ai recruitment, disabled
recruitment of Ulfserkers and Berserkers in LoW::2
2009-09-22 23:45:23 +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
7d2d62cb33 added macros to use new formula_ai recruitment (experimental!).
The simplest way is to include
{AI_SIMPLE_FORMULA_AI_EXPERIMENTAL_RECRUITMENT} in [side][ai]
2009-09-05 22:10:09 +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
90dcb12256 fixed usage of an outdated AI macro 2009-09-01 10:08:05 +00:00
Iurii Chernyi
63ec22c53d LoW::2: slightly changed ai macros.
LoW::3: added orc strategy selection
2009-09-01 07:15:11 +00:00
Iurii Chernyi
6ad043b95a uncommented a macro 2009-08-30 18:06:27 +00:00
Iurii Chernyi
6732361e55 LoW::2: WIP, added second wave of attackers...
...and made orcs withhold gold until fog lifts
2009-08-27 23:12:53 +00:00
Iurii Chernyi
befcfb5440 {AI_NO_SCOUTS} macro 2009-08-24 00:24:52 +00:00
Iurii Chernyi
7672a9d7ff ai macros and aliases 2009-08-23 22:04:06 +00:00