Make sides in epilogue that use no_leader have no declared leaders
Make sides that don't need a leader declared (side 9) use no_leader Make side 8 (Hamel) use no_leader in case he died in previous scenario Properly store and transfer Hamel between sc13 and 14 if he's still alive.
This commit is contained in:
parent
b987cc7835
commit
1370e9da77
2 changed files with 47 additions and 44 deletions
|
@ -1038,6 +1038,27 @@
|
|||
[/message]
|
||||
|
||||
{CLEAR_VARIABLE keep}
|
||||
[if]
|
||||
[have_unit]
|
||||
description=Hamel
|
||||
[/have_unit]
|
||||
[then]
|
||||
[store_unit]
|
||||
variable=temp_var
|
||||
[filter]
|
||||
description=Hamel
|
||||
[/filter]
|
||||
kill=yes
|
||||
fire_event=no
|
||||
[/store_unit]
|
||||
{VARIABLE temp_var.side 1}
|
||||
[unstore_unit]
|
||||
variable=some_var
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE some_var}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
|
@ -31,25 +31,6 @@
|
|||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Sovereign
|
||||
description=Rakshas
|
||||
user_description=_ "Rakshas"
|
||||
canrecruit=1
|
||||
side=2
|
||||
no_leader=yes
|
||||
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
|
||||
# XXX: Is the newbie amount correct?
|
||||
{GOLD4 3000 1500 2000 2500}
|
||||
{INCOME4 60 30 40 50}
|
||||
|
||||
team_name=orcs
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
description="Ha'Tuil"
|
||||
user_description=_ "Ha'Tuil"
|
||||
canrecruit=1
|
||||
no_leader=yes
|
||||
side=3
|
||||
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
|
||||
|
@ -60,11 +41,6 @@
|
|||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
description="Ar'Muff"
|
||||
user_description=_ "Ar'Muff"
|
||||
canrecruit=1
|
||||
side=4
|
||||
no_leader=yes
|
||||
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
|
||||
# XXX: Is the newbie amount correct?
|
||||
|
@ -74,11 +50,6 @@
|
|||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
description=Calter
|
||||
user_description=_ "Calter"
|
||||
canrecruit=1
|
||||
side=5
|
||||
no_leader=yes
|
||||
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
|
||||
# XXX: Is the newbie amount correct?
|
||||
|
@ -88,11 +59,6 @@
|
|||
[/side]
|
||||
|
||||
[side]
|
||||
type=Orcish Warlord
|
||||
description=Halter
|
||||
user_description=_ "Halter"
|
||||
canrecruit=1
|
||||
side=6
|
||||
no_leader=yes
|
||||
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
|
||||
# XXX: Is the newbie amount correct?
|
||||
|
@ -115,11 +81,7 @@
|
|||
[/side]
|
||||
|
||||
[side]
|
||||
type=Dwarvish Lord
|
||||
description=Hamel
|
||||
user_description= _ "Hamel"
|
||||
profile=portraits/Hamel.jpg
|
||||
canrecruit=1
|
||||
no_leader=yes
|
||||
side=8
|
||||
# XXX: Is the newbie amount correct?
|
||||
{GOLD4 1300 2000 1800 1500}
|
||||
|
@ -128,10 +90,7 @@
|
|||
[/side]
|
||||
|
||||
[side]
|
||||
type=Elvish Shaman
|
||||
description=Teri
|
||||
user_description=_ "Teri"
|
||||
canrecruit=1
|
||||
no_leader=yes
|
||||
side=9
|
||||
# XXX: Is the newbie amount correct?
|
||||
{GOLD4 300 600 500 400}
|
||||
|
@ -236,7 +195,30 @@
|
|||
[recall]
|
||||
description="Ro'Arthian"
|
||||
[/recall]
|
||||
|
||||
[if]
|
||||
[have_unit]
|
||||
description=Hamel
|
||||
[/have_unit]
|
||||
[then]
|
||||
[store_unit]
|
||||
variable=temp_var
|
||||
[filter]
|
||||
description=Hamel
|
||||
[/filter]
|
||||
kill=no
|
||||
[/store_unit]
|
||||
{VARIABLE temp_var.side 8}
|
||||
[unstore_unit]
|
||||
variable=some_var
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE some_var}
|
||||
[recall]
|
||||
description=Hamel
|
||||
x=16
|
||||
y=10
|
||||
[/recall]
|
||||
[/then]
|
||||
[/if]
|
||||
[message]
|
||||
description=Tallin
|
||||
message= _ "So, Rakshas has been defeated and all the armies that he had gathered have been crushed. This relieves a blight on our land - but if we do not address the causes of the blight, we could be in for trouble later."
|
||||
|
|
Loading…
Add table
Reference in a new issue