UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 IP: 198.54.202.226 URI: http://wesnoth.slack.it/?UnitsWML - - - - - Index: UnitsWML =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/UnitsWML,v retrieving revision 1.5 diff -u -r1.5 UnitsWML --- UnitsWML 19 Mar 2005 22:28:17 -0000 1.5 +++ UnitsWML 13 Jun 2005 19:29:27 -0000 @@ -3,17 +3,34 @@ This tag is a top level WML tag which is in game.cfg. It defines the set of all units in Wesnoth. -the following tags are recognized. -* ||[unit]|| describes one unit. Unit description syntax is described in UnitWML. +The following subtags are recognized. +* ||[unit]|| describes one unit. Unit description syntax is + described in UnitWML. * ||[trait]|| describes a trait. * //id// internationalization key(?) - * //name// (translatable) text displayed in the status of unit with the trait - * ||[effect]|| each [effect] describes one modification that is given to units with this trait. -See EffectWML -* ||[race]|| and ||[movetype]|| are used to make shortcuts to describe similar units. -Each has a //name// key, which is the value -that must be put into the matching key to use the shortcut. -See UnitWML for information on what these tags describe. + * //name// (translatable) text displayed in the status of unit + with the trait. + * ||[effect]|| each [effect] describes one modification that is + given to units with this trait. See EffectWML . +* ||[race]|| (see below) and ||[movetype]|| are used to make shortcuts to + describe similar units. Each has a //name// key, which is the value + that must be put into the matching key to use the shortcut. + +The [race] tag is a subtag of [units] with the following keys: +* //name// is the internal name for the race. +* //num_traits// is the number of non-repeating traits + each unit of this race can be assigned. +* //ignore_global_traits// is //yes// or //no//, if //yes// then + the global traits will not be applied. +* //not_living// units of this type cannot be poisoned, drained from, + or plagued (see AbilitiesWML). +* //male_names//, //female_names// a list of names. +* //markov_chain_size// The wesnoth engine will cut the names provided + in the keys above into syllables, and will then run a probability + algorithm to guess from the name list what syllables fit well + together, can start or end a name. This key tells the name + generation engine how long a syllable is for that particular race. + Default is 2 letters. Example: @@ -41,4 +58,3 @@ * UnitWML * ReferenceWML -
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
