update the {GENERIC_UNIT ...} macro (single player only)...

...to take advantage of the new random_gender= key.

fix some typos in the changelog
This commit is contained in:
Ignacio R. Morelle 2007-12-05 17:18:52 +00:00
parent dd7aaf4ae0
commit 80e16c3d9e
2 changed files with 9 additions and 4 deletions

View file

@ -2,11 +2,15 @@ Version 1.3.12+svn:
* language and i18n:
* updated translations: Chinese, Danish, Italian
* WML engine:
* new eevent trigger: pre_die, will be triggered when a unit dies, but
* new event trigger: pre_die, will be triggered when a unit dies, but
before the animation is played
* Allow ThemeWML to display the race.
* allow ThemeWML to display the race.
* new "random_gender=" key (boolean) to single units declarations in WML;
the engine will generate a random gender for the spawned unit just like
when it's recruited
* updated {GENERIC_UNIT ...} macro to take advantage of random_gender
* User interface
* Display the race in the unit preview panel.
* display the race in the unit preview panel.
* allow to use team labels also for 1-player-teams (bug #9747)
* changing the langugage now sets the version number in the title
properly.

View file

@ -184,7 +184,7 @@
#define GENERIC_UNIT SIDE TYPE X Y
# Creates a generic unit of TYPE belonging to SIDE at X,Y, which has a
# random name and traits (just like a recruited unit).
# random name, gender and traits (just like a recruited unit).
[unit]
side={SIDE}
type={TYPE}
@ -192,6 +192,7 @@
y={Y}
generate_description=yes
random_traits=yes
random_gender=yes
upkeep=full
[/unit]
#enddef