mattsc
b83e68711c
Goto MAI: Ensure that persistent data always are in WML table format
...
This also means that keys cannot contain certain symbols and, as a
result, potentially user-provided strings need to be stored in the
values, not keys. This fixes bug #20924 about the Goto MAI corrupting
saves.
2013-06-22 07:51:14 -07:00
mattsc
66913d3aa8
Return Guardian MAI: bug fix for situation when return hex is occupied
2013-06-10 19:50:13 -07:00
Espreon
7bfe81e824
'End scenario' -> 'End Scenario'.
2013-06-08 20:11:26 -04:00
mattsc
f06daf98fd
Micro AIs: minor grammar fixes
2013-06-07 07:34:17 -07:00
mattsc
ec21fad877
Healer Support MAI: make [filter] work correctly when aggression=0
...
Previously, all healers were excluded from attacks when aggression=0
was set, not only those specified in [filter].
2013-06-07 06:48:55 -07:00
mattsc
2139c84188
Zone guardian MAI: add optional station_x,station_y= keys
2013-06-06 19:24:13 -07:00
mattsc
3fadf4cc31
Goto Micro AI: do not exclude leaders by default
...
The MAI accidentally excluded units with canrecruit=yes. Thanks H-Hour.
2013-06-06 13:20:00 -07:00
Espreon
3f20785d02
Split all of the AI-related strings (except for the AI controller's) into a new 'wesnoth-ai' textdomain. Includes a pot-update for 'wesnoth' as a side effect.
2013-05-22 22:19:43 -04:00
Espreon
cadb752ccf
Made various strings translatable; disambiguated and split some strings; eliminated an Earth name.
2013-05-22 22:19:42 -04:00
Espreon
6278b6f312
Eliminated double spaces.
2013-05-20 20:33:53 -04:00
mattsc
a44a9a0d45
Recruiting AIs: add more combinations to terrain strings for finding castles
2013-05-16 20:14:11 -07:00
jleldridge
8665d09ac4
Changed healer support mai to use new location_set.of_pairs() method to create avoid_map.
2013-05-16 00:21:40 -04:00
jleldridge
fc7455b81b
Added ability for Healer Support mai to avoid certain tiles based on standard ai avoid aspect.
2013-05-14 16:08:12 -04:00
jleldridge
7a2c8dbce2
Healer Support MAI: added [filter_second] option to choose healees.
2013-05-08 12:36:10 -04:00
mattsc
a5c8c92b9e
Healer Support MAI: fix a typo in a comment
2013-05-06 18:37:58 -07:00
mattsc
ae71a23c7d
Animals MAI test scenario: remove SLFs that always evaluate true
2013-05-03 12:25:52 -07:00
mattsc
61d0f53c63
Goto Micro AI scenario: remove unneeded wmllint exception.
2013-05-02 20:54:04 -07:00
mattsc
d3c1309e6f
Goto Micro AI scenario: some changes to messages to make wmllint happy
...
Removed double spaces after messages and took care of 'nonstandard
word-wrap styles'.
2013-05-02 20:47:38 -07:00
mattsc
b75f2a0f90
Goto MAI scenario: update lurker MAI SUF and SLF to new syntax
2013-05-02 20:24:00 -07:00
mattsc
e3b358cab4
Add Goto Micro AI code to MAI switchboard scenario
2013-05-02 20:20:44 -07:00
mattsc
d58fdfd410
Add Goto Micro AI scenario map
2013-05-02 20:17:17 -07:00
mattsc
a7ccb1c877
Add Goto Micro AI functionality
2013-05-02 20:16:33 -07:00
mattsc
83ea570285
Add Goto Micro AI scenario
2013-05-02 20:03:56 -07:00
mattsc
c63258da84
Micro AIs: add zone guardian by Zazweda
2013-05-01 14:09:14 -07:00
mattsc
5033ef7ebf
Micro AIs: use [filter_location] and variants thereof for SLFs
...
Rename Standard Location Filters in order to be consistent with other
WML.
2013-05-01 10:54:07 -07:00
mattsc
f7aa38bca4
Micro AIs: use [filter] and [filter_second] for SUFs
...
Rename Standard Unit Filters in order to be consistent with other WML.
2013-05-01 10:16:25 -07:00
mattsc
9995853471
The Elves Besieged Micro AI test scenario: update deprecated aspect syntax
2013-05-01 09:44:35 -07:00
mattsc
2103ece522
Micro AI switchboard scenario: fix some of the context menu item IDs
...
... so that they are consecutively numbered
2013-05-01 09:39:58 -07:00
mattsc
b1cef372d6
Healer Support Micro AI: add optional SUF for healers
...
If set, only units passing this filter and having the healing ability
are used as healers.
2013-05-01 07:30:45 -07:00
mattsc
0b5da53da8
[micro_ai] tag: move serialization of cfg table into add_CA() function
...
This has the advantage that we can still add information to the cfg at
this level (namely the CA name, which gets checked for uniqueness here).
2013-05-01 07:17:00 -07:00
mattsc
a929543f4c
[micro_ai] tag: make sure that each CA gets a unique name
...
This is important if more than one Micro AI of the same type is set up
for a side.
2013-05-01 07:05:59 -07:00
mattsc
1951cc218e
Healer Support Micro AI: bug fix for aggression= key
...
Key needs to converted to a number before checking its value.
2013-04-29 17:39:39 -07:00
Matthias Schoeck
7b7f3222ef
The Elves Besieged Micro AI scenario: use 'yes' for boolean WML variable
2013-03-04 21:53:42 +00:00
Matthias Schoeck
184a53d706
Priority Target Micro AI: convert a variable to boolean
...
target_in_reach is only used to determine whether any target is
in reach, the count of targets is meaningless. Thanks shadowm.
2013-03-04 21:27:15 +00:00
Matthias Schoeck
d8a24db330
Swarm Micro AI scenario: removed unneeded text from message
2013-03-04 21:19:34 +00:00
Matthias Schoeck
a7b2eabe0b
healer_support Micro AI: Add a 'wmllint: ignore' comment
...
wmllint expects the aggression= key to be used inside [ai] tags only.
2013-03-04 19:55:16 +00:00
Matthias Schoeck
092840c07e
Micro AI scenario files: remove some double spaces after sentence ends.
...
wmllint was complaining about those.
2013-03-04 19:45:17 +00:00
Matthias Schoeck
7ed5309547
Micro AI scenario files: add wmllint unbalanced-on/off comments
...
These are needed because wmllint gets confused by tags inside message
texts as well as by code that looks like tags, such as the path= keys
in [modify_ai] tags.
2013-03-04 19:36:50 +00:00
Simon Forsyth
3afbd449ba
Do not count regenerating units without moves...
...
...as having moves in healer support micro AI
2013-01-13 03:54:17 +00:00
Matthias Schoeck
b138e47184
Introduce 18 different Micro AIs.
...
This includes the [micro_ai] tag, the code for the Micro AI engines
and 14 test scenarios. Full documentation at
http://wiki.wesnoth.org/Micro_AIs
2012-12-29 20:05:55 +00:00