WML Expansion
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
WML Expansion
WML Expansion is addon for Wesnoth 1.13.7, that provides new WML tags. The idea is to extend existing WML functionalities and add new ones, that community is asking for, however for some reasons they are not avible in mainline.
Current version (1.0.0) contains following tags:
[experience_unit]
[store_unit_defense] (hope gfgtdf have nothing against basing on his code )
Documentation inside.
I encourage to share your feelings/criticisms/suggestions about this addon.
Current version (1.0.0) contains following tags:
[experience_unit]
Spoiler:
Spoiler:
I encourage to share your feelings/criticisms/suggestions about this addon.
- Celtic_Minstrel
- Developer
- Posts: 2321
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: WML Expansion
Just for the record, in
[store_unit_defense]
, you should probably use the unit's location if neither loc_x,loc_y
or terrain
are specified.Re: WML Expansion
That's what it does. I pointed it here:Celtic_Minstrel wrote:Just for the record, in[store_unit_defense]
, you should probably use the unit's location if neitherloc_x,loc_y
orterrain
are specified.
.If terrain is not specified, the terrain on which the units currently stands is used.
- Celtic_Minstrel
- Developer
- Posts: 2321
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: WML Expansion
Oh, so you did. I missed that.
- Pentarctagon
- Project Manager
- Posts: 5640
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: WML Expansion
If you're confident enough, you could also submit your tags for inclusion in mainline over at Wesnoth's Github, though you will have to learn a few git command along the way.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code