Fabian Mueller wrote: > Eric Raymond wrote: >> Fabian Mueller <fabianmuell...@gmx.de>: >> >>> Got the thing working but renamed it to [named_area]. >>> >>> [named_area] >>> <standard location filter> >>> area_id="lovely place of doom" >>> [/named_area] >>> >> Is there some reason this is "area_id" rather than "id"? We have >> a pretty well-established convention of using id= everywhere for >> unique internal identifiers; I think it would be good to continue that. >> > Yes there is. > > It is the usage of the named area in another slf by the game engine.
Is this not the more a reason to have "id=" for defining the named areas? [named_area] id="grass_in_town" area_id="town" terrain="Gg*" [/named_area] This would define the area "grass_in_town" as the subset of the "town" area with grass terrain. (This would not be used in a named_area generated by the map editor.) PaĆlo _______________________________________________ Wesnoth-dev mailing list Wesnoth-dev@gna.org https://mail.gna.org/listinfo/wesnoth-dev