TSG S8b: allow while mages to be loyal and have random gender

[ci skip]
This commit is contained in:
Severin Glöckner 2018-07-31 02:21:03 +02:00
parent 340ac18575
commit 567052851f

View file

@ -397,11 +397,12 @@
speaker=Minister Hylas
message= _ "And I have summoned the great Council of Westin! They will battle with all their might!"
[/message]
{NAMED_LOYAL_UNIT 1 (Silver Mage) 11 1 (Minister Mefel) (_"Minister Mefel")}
{NAMED_LOYAL_UNIT 1 (Arch Mage) 10 1 (Minister Romand) (_"Minister Romand")}
{NAMED_LOYAL_UNIT 1 (Red Mage) 12 1 (Minister Alanafel) (_"Minister Alanafel")}
{LOYAL_UNIT 1 (White Mage) 9 1}
{LOYAL_UNIT 1 (White Mage) 13 1}
[fire_event]
name=mages arrive
[/fire_event]
[message]
speaker=Minister Mefel
message= _ "We have heard your summons, and we shall send these dark foes back to the abyss that spawned them!"
@ -455,10 +456,10 @@
[/variable]
[/filter_condition]
{NAMED_LOYAL_UNIT 1 (Arch Mage) 10 1 (Minister Romand) (_"Minister Romand")}
{NAMED_LOYAL_UNIT 1 (Red Mage) 12 1 (Minister Alanafel) (_"Minister Alanafel")}
{LOYAL_UNIT 1 (White Mage) 9 1}
{LOYAL_UNIT 1 (White Mage) 13 1}
[fire_event]
name=mages arrive
[/fire_event]
[message]
speaker=Minister Romand
message= _ "We have heard your summons, and we shall send these dark foes back to the abyss that spawned them!"
@ -470,6 +471,33 @@
{CLEAR_VARIABLE council_arrive_turn}
[/event]
[event]
name=mages arrive
{NAMED_LOYAL_UNIT 1 (Arch Mage) 10 1 (Minister Romand) (_"Minister Romand")}
{NAMED_LOYAL_UNIT 1 (Red Mage) 12 1 (Minister Alanafel) (_"Minister Alanafel")}
# Using the simplest macro here, because there is none combining the
# loyal trait with random_gender.
{UNIT 1 (White Mage) 9 1 (
generate_name=yes
random_traits=yes
random_gender=yes
[modifications]
{TRAIT_LOYAL}
[/modifications]
overlays="misc/loyal-icon.png"
)}
{UNIT 1 (White Mage) 13 1 (
generate_name=yes
random_traits=yes
random_gender=yes
[modifications]
{TRAIT_LOYAL}
[/modifications]
overlays="misc/loyal-icon.png"
)}
[/event]
[event]
name=die
[filter]