This replaces the previous behaviour of using <pwd>/translations, which
could break on certain edge cases (e.g. if Wesnoth is launched from the
command line from a different dir).
* SoF - initial commit of Thursagan rune-shop addition
* SoF - revisions to Thursagan rune shop
* SoF utils - fix [remove_item] filtering
* SoF S1 and S2 - adding some lesser rune availability for pre-Thursagan scenarios
* SoF utils - fix a type and bogus [remove_item] key
* SoF - rune-related image update
* SoF utils - reinclude name/image key in [item]/[remove_item] tag
* SoF - update changelog
All weapon specials can now be used in [abilities] to effect all weapons of the unit that pass the filter given in [filter_student][filter_weapon].
Explanation: filter_student filters on the unit that is under the effect of the ability (which is usually the unit itself, but not always if [affect_adjacent] is used). [filter_student][filter_weapon] filters on the active weapon of that unit (the student) in a specific combat.
[filter_weapon] is now supported in all filter_opponent, filter_student, filter_attacker, filter_defender
Note that constructs like [filter_student][or][filter_weapon] are not suported, [filter_weapon] must be a direct subtag of the four just mentioned tags.
[filter_second_weapon] is no longer used for abilities that come from weapon specials.
implements #4629 , #4475 , #4389
Co-authored-by: gfgtdf <daniel.gfgtdf@gmail.com>
* SoF units: make Caravans slightly less helpless and slow
* SoF S1: revisions to map and elf AI
* SoF S2: revisions to map (cosmetic) and elf AI
* SoF S2t: some minor scripting and dialog revisions
* SoF utils: quash the idle anim of a unit riding a mine-cart
* SoF S3: cosmetic map and dialog revisions
* SoF S2p5: remove the goblin kill animation
* SoF S3t: cutscene dialog revision
* SoF S4: adding carts and rails to random map
* SoF S4: revise tracks placement and randomize cart locations
* SoF : make the dwarf city cut-scenes use the same map
* SoF S4 - revise recruit lists and side names for everyone, also make coal and gold look more like something that still needs to be mined
* SoF S4t - cut-scene dialog revisions
* SoF S5 and S6 - map and dialog revisions
* SoF S6 and S7 - mostly cosmetic and dialog revisions
* SoF S8 and S9 - update maps
* SoF S8-end: dialog revisions
* SoF - cleanup including changelog, about, and cart image
For both [scenario]map_file= and [replace_map]map_file=, this allows both of
these to have the same effect:
* map_file=campaigns/Heir_To_The_Throne/maps/01_The_Elves_Besieged.map
* map_file=01_The_Elves_Besieged.map
This allows a lot of copies of the campaign/add-on's name to be omitted. Thus
it's no longer necessary to change every scenario's .cfg file to rename an
add-on, or to move a campaign between UMC and mainline.
This makes [binary_path] a misnomer, as it now also handles a text-based type
of file, however that's going to be the correct path for campaigns or add-ons
that use the standard layout with images/, maps/, scenarios/, etc.
This commit has the change itself, in filesystem_common.cpp, and the updates
for most of the campaigns. DM, LoW, UtBS and WoV are omitted from this, as they
all use a macro to do the same effect:
#define MEMOIRS_MAP NAME
- map_file=campaigns/Delfadors_Memoirs/maps/{NAME}
+ map_file={NAME}
#enddef