Commit graph

932 commits

Author SHA1 Message Date
J. Tyne
26c993207b Convert some WML macros and lua functions to use...
...unpoisonable/undrainable instead of not_living.

One remaining use of "not_living" is in the feeding ability.
2013-01-05 18:16:02 +00:00
Alexander van Gessel
d82762b87d Split the 'not_living' unit status into...
...unpoisonable, undrainable and unplagueable
2012-12-31 01:03:53 +01: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
Alexander van Gessel
f4ab3722dc Apply patch #3570 by mattsc 2012-11-26 23:50:17 +01:00
J. Tyne
20470f4a7b Updating the standard ability / weapon special descriptions...
...since they no longer need to have their first lines be their names.
2012-10-25 21:15:12 +00:00
J. Tyne
2574b599e3 Make the standard [hides] abilities switch between "active" and "inactive".
(Previously, they had always been active, just not always applying to the
unit. Same functionality, but now reported differently in the sidebar.)
2012-10-24 16:23:23 +00:00
Simon Forsyth
1636e2cbad Replace hard-coded side with {SIDE}, based on forum comment 2012-10-20 15:44:39 +00:00
Simon Forsyth
2493535b92 Make ambush macro use just *^F* to catch all forest types.
This makes it now work for dead great trees and palm forests. Fixes
bug #20207
2012-10-01 02:36:53 +00:00
Elvish_Hunter
a93279406d Removed two Khalifate leftovers (Hakim portrait and KHALIFATE_NAMES macro) 2012-09-05 09:06:58 +00:00
Lari Nieminen
d75ad32fb1 Slight updates to the new battle journey marker and animation. 2012-09-02 12:50:08 +00:00
Ignacio R. Morelle
e7e7f68722 Remove obsolete image sources note 2012-08-26 00:34:08 +00:00
Lari Nieminen
d1b83162f0 Oops, revert 2012-08-24T23:16:43Z!lari.nieminen@iki.fi;
the macros already exist in teleport-utils.cfg.
2012-08-24 23:28:13 +00:00
Lari Nieminen
426f9e37b3 Added macros for generic teleport animations...
...using the teleport masks, compatible with 72x72 units.
2012-08-24 23:16:43 +00:00
J. Tyne
8f3fb57e19 Macro to aid mid-move events that do not interrupt movement,
...but do block undoing.
2012-08-11 17:25:44 +00:00
Richard Kettering
7ba00c58b7 A full set of animations for the skeleton. 2012-08-08 04:43:17 +00:00
Steven Panek
3e17938245 Fixed an error in the SET_LABEL example. 2012-07-01 20:07:57 +00:00
Anonymissimus
5ac6b5a876 improve CALL_FUNCTION macro
(bug #19805, http://forums.wesnoth.org/viewtopic.php?f=21&t=36989&p=531212)
2012-06-14 14:26:21 +00:00
Lari Nieminen
4a84f405df New rest markers and further improved battle markers and journey dots...
...from Blarumyrran.
2012-06-02 21:51:08 +00:00
Lari Nieminen
45ca07bd96 New battle markers and improved journey dots from Blarumyrran,
with the "new battle" marker having a simple blinking animation.
2012-05-27 21:45:08 +00:00
Jérémy Rosen
48ff31c551 change duration to turn in new macros, since it's supported in trunk 2012-05-25 18:41:27 +00:00
Jérémy Rosen
6e3fad4079 add markers for doc generation of teleport macros 2012-05-25 18:00:52 +00:00
Jérémy Rosen
e525252c48 add some macros for generic teleport animations.
These are not used by default and need to be enabled by WML authors
(or added to unit's wml individually)
2012-05-23 18:07:44 +00:00
Alexander van Gessel
3f019c7d2d Run wmllint to convert [object]duration=level to [object]duration=scenario 2012-05-01 22:14:02 +01:00
Elvish_Hunter
993861aff4 Pushed LOOT macro from LoW, TRoW and THoT in core, file utils.cfg.
wmlindent also reindented other two macro files
2012-04-22 09:12:48 +00:00
J. Tyne
7a582e8d1d Updating CLEAR_FOG and UNCLEAR_FOG for multiturn fog.
(Keeps them behaving as in 1.10, for compatibility.)
2012-04-10 23:22:03 +00:00
Iurii Chernyi
78e345556b Replaced variable i by TRANSFORM_UNIT_i in macro TRANSFORM_UNIT.
Patch #3237 by akihara
2012-04-06 23:04:53 +00:00
Anonymissimus
488ac13415 remove some garbage breaking the wml parser 2012-04-05 12:23:31 +00:00
Elvish_Hunter
fb9151430d CLEAR_FOG and UNCLEAR_FOG retrofitted to use [lift_fog] and [reset_fog].
The Fog Clearer unit is now unused in mainline
2012-04-05 08:59:27 +00:00
Simon Forsyth
75898197f4 make submerge work on deep water locations with overlays 2012-03-28 21:52:58 +00:00
Anonymissimus
0589aa3633 viewing_side -> side in mainline wml 2012-03-27 19:51:07 +00:00
Simon Forsyth
39ac3633eb as fire images now in terrain,
...remove all terrain references to the ones in scenery
2012-03-10 19:30:20 +00:00
Lari Nieminen
d760974ef7 Replaced wolf-hit-1.ogg with a lower-pitched sound...
...and removed wolf-hit-4.ogg from the wolf hit sound list.
2012-02-24 11:52:55 +00:00
Alexander van Gessel
ca1ffecc9a Make the wmlxgettext workaround for feeding a bit less hacky 2012-02-22 02:45:45 +01:00
Lari Nieminen
dcafd0f16a Fixed LIMIT_CONTEMPORANEOUS_RECRUITS not handling side numbers >9 correctly. 2012-02-21 17:44:20 +00:00
Steven Panek
7cb034c05f Fixed some typos. 2012-02-15 18:29:12 +00:00
Nils Kneuper
06a695f04b replace $unit.type by $unit.language_name...
...since in translateable strings .type will always be english (which
is obviously bad for translations) added pofix rules for this and
applied them
2012-02-14 20:13:41 +00:00
Ignacio R. Morelle
12acc65263 Remove useless flag_rgb attribute included in FLAG_VARIANT macro
side.flag_rgb isn't read by anything.
2012-02-07 16:47:46 +00:00
Anonymissimus
791e90a2c9 Revert "Deprecate the macro MESSAGE."
This reverts 2012-01-29T22:52:34Z!anonymissimus@arcor.de.
Since I got beaten to it.
2012-01-29 23:41:31 +00:00
Anonymissimus
982aa77399 Deprecate the macro MESSAGE.
Translatable message strings passed to it cannot be spellchecked by
wmllint, and we don't wanna encourage this. Was already used nowhere in
mainline.
2012-01-29 22:52:34 +00:00
Lari Nieminen
5284ddad8a Fixes bug #19334: ON_SIGHTING macro too often blocking undo. 2012-01-27 21:17:20 +00:00
Ignacio R. Morelle
e1299030db Fixed SOUND:SLOW and SOUND:POISON animation sound macros,
...also suffering from the same behavior described in bug #19274

This makes e.g. the Elvish Shaman's slowing attack hit sound trigger at
the correct time (frame zero).

SOUND:HIT_AND_MISS needs to be fixed more carefully; at least one unit
(Highwayman) relies on the current, broken behavior.
2012-01-24 01:25:17 +00:00
Ignacio R. Morelle
280203fb85 Fix animation sound frame glitches mentioned in bug #19274 2012-01-24 01:05:33 +00:00
Anonymissimus
631e73b1d3 Make PLACE_HALO a local macro where it's needed. 2012-01-21 19:56:06 +00:00
Anonymissimus
2fbe1b7bb8 add PLACE_HALO 2012-01-21 19:25:29 +00:00
Ignacio R. Morelle
fbd8f6ae59 Ran wmlindent 2012-01-11 21:49:32 +00:00
Steven Panek
612b962d9f Fixed a grammatical error in feral's description. 2011-12-30 10:20:02 +00:00
Ignacio R. Morelle
3994be5e84 Fix inaccuracy in the description of the APPEND_MUSIC macro 2011-12-14 22:13:15 +00:00
Anonymissimus
463ef77245 fix macro comment (bug #19128) 2011-12-07 14:04:19 +00:00
Elvish_Hunter
0ad2329190 Fixed color adjusting in 24-hour ToD to match default schedule 2011-11-19 10:51:04 +00:00
Jérémy Rosen
4483c4b316 correct saurian attack haloes being flipped horizontally when attacking south 2011-11-11 18:52:49 +00:00