Commit graph

932 commits

Author SHA1 Message Date
Celtic Minstrel
f54d6b5d28 Rewrite leadership ability as a single macro using $other_unit
Note: It's no longer supported to use the macro in a unit with a non-matching level,
for example giving a 2nd-level unit 4th-level leadership.
2015-09-19 02:14:38 -04:00
Celtic Minstrel
12c96a94d2 New autostored WML variable $other_unit for [filter_adjacent]
Also accessible in:
- Weapon specials ([filter_self], [filter_opponent], [filter_attacker], [filter_defender])
- Abilities ([affect_adjacent][filter])

The backstab weapon special is now implemented using this.
(In a weapon special filter, units are guaranteed to be facing each other.)
2015-09-19 00:55:19 -04:00
Charles Dang
282cfe38be Added new default amla icon
The old icon (misc/icon-amla-default.png) remains for compatibility purposes,
but I added a wmllint rule to update the path.

The new image was created with https://openclipart.org/detail/29043/heart, which is
released under the public domain (CC-0).
2015-09-03 18:53:11 +11:00
Wedge009
73b10f315a Separated 'can not' is more common where 'not' forms part of a construction with subsequent words. 2015-08-31 19:11:05 +10:00
Charles Dang
0dfe2a21d9 Deprecate ANIMATED_CAMPFIRE and ANIMATED_BRAZIER
Both of these have been replaced with embellishment overlay terrains
2015-08-17 10:41:46 +11:00
Charles Dang
768a418137 Deprecate ON_SIGHTING
Since sighted events now work, this macro is no longer necessary
2015-08-12 06:12:13 +11:00
Ignacio R. Morelle
b9c6ab59d6 Fix WML variable leak in RECRUIT_UNIT_VARIATIONS 2015-08-09 01:52:27 -03:00
ln-zookeeper
4e7e00d2d5 New dwarf hit and die sounds 2015-07-04 18:18:59 +03:00
Elvish_Hunter
c642e5327a wmlindent run 2015-05-29 11:40:07 +02:00
Elvish_Hunter
082cfdc9af Updated core macros to use [filter] status= instead of [filter_wml] 2015-04-28 19:02:19 +02:00
Charles Dang
117068790c Deprecated LOYAL_UNDEAD_UNIT 2015-04-22 00:09:52 +11:00
Charles Dang
711c4fe690 Deprecate STORY_PART_SPEECH 2015-04-17 19:04:31 +11:00
ln-zookeeper
c4ad38a251 Revert failed attempt to fix slow/poison sounds
The fix failed because attacker/defender hits events are fired after the
attack animation has finished, not in the middle of it when the hit
occurs.
2015-04-17 08:47:07 +03:00
Ignacio R. Morelle
0e55f61051 Remove help markup from SPECIAL_NOTES_DEFENSE_CAP
Causes issues with tooltips in-game.
2015-04-16 22:03:23 -03:00
Ignacio R. Morelle
218b81f833 Use em dash in SPECIAL_NOTES_DEFENSE_CAP 2015-04-16 18:35:26 -03:00
ln-zookeeper
45e9ecfb8a Added a macro for letting intro music play out 2015-04-08 18:40:08 +03:00
ln-zookeeper
ce9beb3c88 Switch to intro music immediately 2015-04-08 17:09:28 +03:00
Bär Halberkamp
ae0a2fe2cc Removed [full_heal] 2015-04-03 19:34:16 +02:00
Charles Dang
95d7bcdce6 Deprecate MESSAGE
This was deprecated once before because of wmllint issues, then reverted. I don't know whether
said wmllint issues still exist, but this time it's being deprecated because we no longer
wish to support this kind of macro.
2015-03-29 08:08:36 +11:00
Charles Dang
e945b99bc5 Deprecate obsolete objective macros
The functionality of these macros is now handled internally by the objectives dialog,
and no longer need to be included manually
2015-03-25 03:35:15 +11:00
aquileia
14e85a38ba Remove superfluous 'adjacent' keys
[skip ci]
2015-03-12 22:39:28 +01:00
aquileia
01cd01a661 Use SOUND:HIT[_AND_MISS] for defend/attack macros
While this could change the time other [sound_frame]s are played,
well-written code shouldn't rely on the internal naming in macros.

[skip ci]
2015-01-31 23:43:26 +01:00
aquileia
e268104f62 Fix layer of impact burst for DRAKE_FIRE_ANIM 2015-01-31 23:42:00 +01:00
aquileia
dbc3b3c8e4 Deprecate MISSILE_FRAME_FIREBALL 2015-01-31 23:41:57 +01:00
aquileia
f7d8aac7e2 Define *_FIREBALL in terms of *_FIREBALL_XY 2015-01-31 23:41:55 +01:00
aquileia
9d950c8f4c animation-utils: Use auto_vflip=false
Several animations used a workaround by flipping the missile twice if it should remain upright. Instead, we never flip them in the first place.
2015-01-31 23:41:52 +01:00
Charles Dang
b357a39882 Improved DEPRECATE comment 2015-02-01 04:35:51 +11:00
Charles Dang
a7c4f23b2f Moved deprecated EARLY_FINISH_BONUS_CAPTION to the proper place 2015-02-01 04:26:06 +11:00
Ignacio R. Morelle
7161fa9999 Add wmllint exceptions for WML-like content in verbatim quote blocks 2015-01-31 05:34:24 -03:00
aquileia
39ed82d2a6 Make x-offset of chill wave directional 2015-01-30 15:37:34 +01:00
Charles Dang
8f55612ff2 Used new map format for NO_MAP_DATA 2015-01-28 23:07:21 +11:00
Charles Dang
19826fa564 Revert "Added several new objective macros" on request
This reverts commit 8c92d1e62a.
2015-01-28 21:06:04 +11:00
Charles Dang
8c92d1e62a Added several new objective macros 2015-01-28 20:35:39 +11:00
Charles Dang
72e67eee93 Used include_borders=no in SCATTER_UNITS
This is the 'more straightforward' method of doing this mentioned in 982d868b94
2015-01-15 07:47:24 +11:00
Charles Dang
f1bca97fd0 Removed the deprecated Micro AI engine macros 2015-01-11 13:52:07 +11:00
Charles Dang
d71d39ec7a Fixup 238a489444, typo in transform_to key 2015-01-07 00:49:47 +11:00
Charles Dang
6f60640c8e Revert "Use [modify_unit] for MODIFY_UNIT"
This reverts commit 02ecc00b76.
2015-01-07 00:26:24 +11:00
Charles Dang
a0543d8206 Add note to ON_SIGHTING documentation that it's no longer necessary 2015-01-07 00:04:15 +11:00
Charles Dang
02ecc00b76 Use [modify_unit] for MODIFY_UNIT 2015-01-06 23:53:10 +11:00
Charles Dang
238a489444 Use [transform_unit] for TRANSFORM_UNIT 2015-01-06 23:40:46 +11:00
Charles Dang
8a620dd5f1 Use [filter_condition] in RECALL_AI_SIDE 2015-01-06 19:33:13 +11:00
Charles Dang
75e7d41425 Use [filter_condition] in second part of LIMIT_CONTEMPORANEOUS_RECRUITS 2015-01-06 19:05:31 +11:00
Charles Dang
10023d79a6 Use [not] instead of [else] hack in IF_DEAD 2015-01-06 18:58:23 +11:00
Charles Dang
f7ff591fe5 Use [clear_menu_item] instead of the [set_menu_item] workaround where applicable 2015-01-06 18:52:38 +11:00
Charles Dang
7a9a13c80d Drop border_size= and usage= keys from NO_MAP_DATA 2015-01-06 15:39:36 +11:00
Charles Dang
2eff60bc42 Use [filter_condition] in AI_CANT_PLAY 2015-01-06 15:36:42 +11:00
Charles Dang
56f831c56c Replaced deprecated [story] syntax in STORY_PART_SPEECH 2014-12-20 20:03:27 +11:00
ln-zookeeper
1ff69616bf Decoupled slow and poison sounds from animations 2014-12-07 14:27:05 +02:00
Bär Halberkamp
db028708c4 Added a lua implementation for FULL_HEAL and PUT_TO_RECALL_LIST 2014-10-21 19:41:36 +02:00
Ignacio R. Morelle
cfcef0e4b2 WML style cleanup 2014-07-22 19:43:00 -04:00