TSG S5: Duo leader setup for the zombies

This adds on the one hand a second leader with secons keep in the same caslte.
for the same side, on the other hand ich changes the speack when they die.
They adverturers are not assuming they killed the undead masters anymore if they
saw the lich before.

(mentioned in #1954)

[ci skip]
This commit is contained in:
Severin Glöckner 2018-07-31 17:22:29 +02:00
parent 567052851f
commit 3c2cd680b1
2 changed files with 145 additions and 45 deletions

View file

@ -35,8 +35,8 @@ Gd^Fp, Gd^Fp, Hhd, Gd^Fp, Hhd, Gd^Fp, Gd^Fp, Hhd, Hhd, Gd^Fp, Hh, Gs^Fp, Hhd, Gd
Gd^Fp, Gd^Fp, Gd^Fp, Hhd, Hh, Gd^Fp, Gd^Fp, Hh, Hh, Hh, Mm, Hh, Gs^Fp, Hh, Gs^Fp, Gs^Fp, Gs, Hh, Hh, Mm, Hh, Gs^Fp, Hh, Gs, Hh, Gs^Fp, Gs^Fp, Gs^Fp, Gs^Fp, Gs^Fp, Gs, Gs^Fp, Gs^Fp, Hh, Hh, Gg, Gs^Fp, Gs^Fp, Ww, Ww, Ss, Ss, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Rr, Rr, Gll^Fp, Rr, Gll^Fp, Re, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp
Gd^Fp, Gd^Fp, Hhd, Gd^Fp, Hh, Mm, Mm, Hh, Mm, Mm, Mm, Mm, Mm, Gs^Fp, Hh, Gs^Fp, Gs, Hh, Hh, Mm, Mm, Gs, Hh, Hh, Gs^Fp, Gs^Fp, Ss, Gs^Fp, Gs^Fp, Gs^Fp, Gs, Gs^Fp, Gs^Fp, Gs^Fp, Hh, Gs^Fp, Gs^Fp, Gs^Fp, Ww, Ww, Ww, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Re, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^F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
{GOLD 30 50 80}
{INCOME 5 10 15}
canrecruit=yes
# Second leader:
[unit]
type=Soulless
id=Gerd
name=_ "Gerd"
canrecruit=yes
overlays="misc/leader-expendable.png"
facing=ne
x,y=21,38
[/unit]
[ai]
recruitment_pattern=fighter
{NO_SCOUTS}
@ -343,58 +355,141 @@
[/objectives]
[/event]
# The adventurers defeat the zombie leader
# The adventures defeat the first zombie leader
[event]
name=die
[filter]
id=Gruth
side=3
canrecruit=yes
[/filter]
[if]
[filter_second]
side=1
[/filter_second]
[filter_condition]
[have_unit]
x,y=$x2,$y2
[not]
id=Ethiliel
[/not]
[not]
id=Minister Hylas
[/not]
[not]
id=Deoran
[/not]
side=3
canrecruit=yes
[/have_unit]
[then]
[message]
speaker=second_unit
message= _ "The master of the undead is defeated!"
[/message]
[/then]
[else]
[message]
speaker=Sir Gerrick
message= _ "The master of the undead is defeated!"
[/message]
[/else]
[/if]
[/filter_condition]
[message]
speaker=Minister Hylas
message= _ "No... I fear there is still much evil present."
[/message]
[message]
speaker=Deoran
message= _ "Surely the undead infestation cannot be dispatched so easily. We have merely destroyed a servant of a far darker master."
speaker=second_unit
# po: This message is shown when the frist zombie leader died.
# po: There is a second one, a few hexes next to him, the player most likely saw him already.
message= _ "He was not alone."
[/message]
[/event]
# the adventurers see the Lich, or the Lich moves in their vision area
# The adventurers defeat the second zombie leader
[event]
name=die
[filter]
side=3
canrecruit=yes
[/filter]
[filter_second]
side=1
[/filter_second]
[filter_condition]
[not]
[have_unit]
side=3
canrecruit=yes
[/have_unit]
[/not]
[/filter_condition]
[if]
[variable]
name=know_about_lich
boolean_equals=no
[/variable]
[then]
[if]
[have_unit]
x,y=$x2,$y2
[not]
id=Ethiliel,Minister Hylas,Deoran
[/not]
[/have_unit]
[then]
[message]
speaker=second_unit
# po: Note that masters is in plural.
message= _ "The masters of the undead are defeated!"
[/message]
[/then]
[else]
[message]
speaker=Sir Gerrick
# po: Note that masters is in plural.
message= _ "The masters of the undead are defeated!"
[/message]
[/else]
[/if]
[message]
speaker=Minister Hylas
message= _ "No... I fear there is still much evil present."
[/message]
[message]
speaker=Deoran
# po: Note that servants is in plural.
message= _ "Surely the undead infestation cannot be dispatched so easily. We have merely destroyed servants of a far darker master."
[/message]
[/then]
[elseif]
[have_unit]
id="Mal M'Brin"
[/have_unit]
[then]
[if]
[have_unit]
x,y=$x2,$y2
[not]
id=Ethiliel,Minister Hylas
[/not]
[/have_unit]
[then]
[message]
speaker=second_unit
message= _ "Two undead leaders have fallen…"
[/message]
[message]
speaker=Minister Hylas
message= _ "Though we have merely destroyed the servants of a far darker master…"
[/message]
[/then]
[else]
[message]
speaker=Minister Hylas
message= _ "They were just servants of a far darker master…"
[/message]
[/else]
[/if]
[/then]
[/elseif]
[else]
[message]
speaker=second_unit
message= _ "One less evil in this forest…"
[/message]
[/else]
[/if]
[/event]
# The adventurers see the Lich, or the Lich moves in their vision area
[event]
name=sighted
@ -414,6 +509,7 @@
scroll=no
message= _ "We found the lich!"
[/message]
{VARIABLE know_about_lich yes}
[/event]
# The adventurers locate the bandits: a choice must be made
@ -738,6 +834,10 @@
speaker=Urza Afalas
message= _ "Fools! That lich will be the death of us all! You have sealed our doom!"
[/message]
# Questionable if this should be enough to change the talk
# when killing the zombie leaders (it is currently set when
# sighting the lich before killing the zombies)
# {VARIABLE know_about_lich yes}
[/then]
[/elseif]
[else]
@ -832,7 +932,7 @@
image=portraits/deoran-sad.png
message= _ "Then we shall retreat towards Westin and prepare for the oncoming battle. I pray our only chance at victory was not lost today."
[/message]
{CLEAR_VARIABLE side_with_bandits,found_urza_afalas,has_mermen}
{CLEAR_VARIABLE side_with_bandits,found_urza_afalas,has_mermen,know_about_lich}
[endlevel]
result=victory
next_scenario=06b_The_Long_March
@ -930,7 +1030,7 @@
speaker=Sir Gerrick
message= _ "Fare well, Deoran! I will be there to greet you when you return to Kerlath Province."
[/message]
{CLEAR_VARIABLE side_with_bandits,found_urza_afalas}
{CLEAR_VARIABLE side_with_bandits,found_urza_afalas,know_about_lich}
[endlevel]
result=victory
next_scenario=06a_Tidings_Good_and_Ill