Commit graph

1063 commits

Author SHA1 Message Date
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
gfgtdf
3204e4eb56 add healthy and fearless [effect]s
so we don't have to these these traits specialy.
2014-07-19 02:19:26 +02:00
Chris Beck
51725fd671 add a "special notes" for defense caps, with a link to explanation
This is better than what it was doing before this commit, which was
putting the link in the text in the table.
2014-07-16 15:30:54 -04:00
ln-zookeeper
982d868b94 Fix SCATTER_UNITS placing units on map borders 2014-07-05 14:04:41 +03:00
ln-zookeeper
9312420c08 Fix RECRUIT_UNIT_VARIATIONS not ensuring full hp 2014-05-14 00:15:22 +03:00
Elvish_Hunter
9289a9fa8a added FLAG_VARIANT6 macro, for use with ragged flags 2014-04-19 10:57:46 +02:00
David Mikos
f5c4ee5690 AnimationWML: Fix sound timings for drake fire animation macros 2014-04-17 06:53:15 +09:30
David Mikos
19c78e87b4 Chill tempest animation for lich/ancient lich. 2014-03-17 07:48:02 +10:30
ln-zookeeper
5a5368d6f0 Fixed some variables not being cleared 2014-02-18 19:39:22 +02:00
ln-zookeeper
a2e1c2c9e9 Fixed issues reported by mattsc. 2014-02-01 23:00:31 +02:00
mattsc
1f93899652 New macros AI_SAVE_GOLD and AI_SAVE_GOLD_DEFAULT
… to make enabling gold saving for the AI simpler in a scenario now
that it is not the default any more.
2014-01-25 20:29:15 -08:00
Ignacio R. Morelle
73b27c9c10 Merge two consecutive [clear_variable] actions in the IF_ALLIED WML macro 2014-01-13 02:46:25 -03:00
Ignacio R. Morelle
a7b25cad6f Reduce TRANSFER_VILLAGE_OWNERSHIP macro implementation to a single WML action 2014-01-13 02:30:42 -03:00
Ignacio R. Morelle
003aa541f0 Clear state variables used by the LIMIT_RECRUITS WML macro on victory 2014-01-13 02:21:36 -03:00
Groggy Dice
6e47a1818d ai.cfg: fix "#ifdef MEDIUM" to NORMAL in attack_depth
Though this may be in vain, as I read on the wiki that attack_depth is not
working with the RCA ai and is deprecated. While this bug might break
attack_depth on one difficulty level, it shouldn't have broken it entirely,
so this is probably not the reason it doesn't seem to be working.
2014-01-03 11:09:00 -05:00
mattsc
d5e27a2e3f Correct the example given for MODIFY_AI_ADD_ASPECT
The [facet] tag is needed, but was not shown.
2013-12-27 10:20:24 -08:00
mattsc
12c73569ca AI macros: update comments for display on wiki reference page
This is for the auto-generated page at
http://www.wesnoth.org/macro-reference.html
2013-12-26 20:00:45 -08:00
fendrin
2709197594 Refactored the time of day schedule related images and macros.
This moves the after the fall schedule into core to grant that the
debian package wesnoth-editor does not depend on wesnoth-utbs.

Also, the images now life in their own subdirectories.

Wmllint has been updated to take care about the changed paths.
2013-12-22 07:32:12 +01:00
Alexander van Gessel
7eea4c5fb9 Import khalifate from wesnoth-umc-dev r19414 2013-12-22 01:55:00 +01:00
Groggy Dice
6ec0163f6e add RECALL_XY macro to core
Many UMC projects have a macro for this function, but the name isn't
standardized (RECALLXY and RECALL_POS are also in use). However, regardless
of name, all these macros follow the "id x y" order, so for compatibility
I have kept that order. UMC authors started with a RECALL macro and added
coordinates, while the unit-generating macros have to organize a lot of
extra fields that are irrelevant to [recall].
2013-12-20 04:51:59 -05:00