
since the recent changes to overlays= in particular 1a7724e5472, e71033374c35 and b2cd1cf6c [unit]overlays= is no longer the recommended way to add an overlay and the use of the apply_to=overlay effect is reccomended instead, so adding it to the [trait] is the most natural option here. this in particular fixes #4058 . Also people simply forgetting the IS_LOYAL macro was a not-so-uncommon cause of bugs. In some cases people want to give the LOYAL trait without giving the loyal overlays for those cases i added a optional OVERLAY parameter to the {TRAIT_LOYAL} macro, also heroes should now use {TRAIT_LOYAL_HERO} instead which uses the hero overlay. The IS_LOYAL and IS_HERO macros are no longer needed in combination with those traits.
About
The Battle for Wesnoth is an Open Source, turn-based tactical strategy game with a high fantasy theme, featuring both singleplayer and online/hotseat multiplayer combat. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand in any number of other adventures.
License
Please see the wiki for information regarding The Battle for Wesnoth's licensing:
https://wiki.wesnoth.org/Wesnoth:Copyrights
Installing
See INSTALL.md for instructions on how to build the game from source code.
More Information
For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site.
A (translated) description of how to play the game can be found in doc/manual/manual.*.html, or online at:
https://wiki.wesnoth.org/WesnothManual
The official Battle for Wesnoth Forums (with over 400,000 posts from more than 20,000 registered members) can be found at: