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.

Example:

[message]
    id=Landar
    [filter_location]
            area_id="my_area"

            .... # more slf code           
 
    [/filter_location]
    ..... # more suf code

[/massage]

So it is not strictly necessary to not name it "id" but I thought it was 
less confusing so.

_______________________________________________
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to