UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2) IP: 64.81.113.168 URI: http://wesnoth.slack.it/?UnitWML - - - - - Index: UnitWML =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/UnitWML,v retrieving revision 1.25 diff -u -r1.25 UnitWML --- UnitWML 2 Jul 2005 00:40:39 -0000 1.25 +++ UnitWML 2 Jul 2005 03:03:02 -0000 @@ -1,9 +1,8 @@ ||The [unit] tag|| -[unit] tags are stored in the directory units/. -Each [unit] tag defines one unit type. +Each ||[unit]|| tag defines one unit type. -The following keys of the [unit] tag are recognized. +The following key/tags are recognized: * //id// the value that must be entered in a ||type|| key to describe this unit type. * //name// (translatable) displayed in the Status Table @@ -126,23 +125,23 @@ the ones after are displayed after (at the new location). -After max level advancement support: -* ||[advancement]|| describes what happens to a unit when it reaches the XP - required for advancement. If the unit has advanceto=null set, the action - specified by the advancement tag automatically happens. However, if the - unit both can level up into a new unit and has an advancement tag set, - the player will get to choose whether or not the unit should level up - or get the advancement. -* //id//: normal internationalization id. -* //description//: a description of the advancement. -* //max_times//: the maximum times the unit can be awarded this - advancement. Defaults to 1. -* ||[effect]||: Each [advancement] tag contains [effect] tags which are - in the exact same format as the [effect] tags inside a [trait] tag. +After max level advancement support is not used in standard Wesnoth, +but you can add this tag into standard Wesnoth units: +* ||[advancement]|| describes what happens to a unit when it reaches the XP required for advancement. + It is considered as an advancement in the same way as advancement described by //advanceto//; + however, if the player chooses this advancement, + the unit will have one or more effects applied to it instead of advancing. + * //id// normal internationalization id. + * //description// a description (see DescriptionWML) displayed as the option for this advancement +if there is another advancement option that the player must choose from; +otherwise, the advancement is chosen automatically and this key is irrelevant. + * //max_times// default 1. + The maximum times the unit can be awarded this advancement. + * ||[effect]|| A modification applied to the unit whenever this advancement is chosen. + See EffectWML ||See Also|| * AttackWML * ReferenceWML -* EffectWML * TerrainWML
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
