TSG S08a Fix bug: Plynry may be dead

In fact, the entire garrison may be dead. The bandits need to get real lucky, but it could happen.

Appoint a new commander from the survivors. Skip the conversation if it was a masacre.
This commit is contained in:
Gregory A Lundberg 2016-08-24 01:15:00 -05:00
parent 051e27f818
commit 81da109a85

View file

@ -192,30 +192,53 @@
id=Deoran
[/filter]
[message]
speaker="Plynry"
message= _ "Halt! Who comes to the border of Wesnoth?"
[/message]
[if]
[have_unit]
side=3
[/have_unit]
[then]
[role]
role=GarrisonCommander
id=Plynry
search_recall_list=no
[else]
[role]
role=GarrisonCommander
side=3
search_recall_list=no
type="Master Bowman,Royal Guard,Halberdier," +
"Longbowman,Swordsman,Pikeman,Javelineer," +
"Bowman,Spearman"
[/role]
[/else]
[/role]
[message]
speaker="Deoran"
message= _ "It is I, Deoran, commander of the South Guard, and my men."
[/message]
[message]
role=GarrisonCommander
message= _ "Halt! Who comes to the border of Wesnoth?"
[/message]
[message]
speaker="Plynry"
message= _ "Deoran? You had been thought lost long since. But I see by your mens gear and drill that they are of the South Guard indeed. Pass."
[/message]
[message]
speaker="Deoran"
message= _ "It is I, Deoran, commander of the South Guard, and my men."
[/message]
[message]
speaker="Deoran"
message= _ "We, and our elvish allies, have won a great battle against a lich."
[/message]
[message]
role=GarrisonCommander
message= _ "Deoran? You had been thought lost long since. But I see by your mens gear and drill that they are of the South Guard indeed. Pass."
[/message]
[message]
speaker="Plynry"
message= _ "Elvish allies? I think you had best make haste to Westin. There are rumors of trouble with the elves of the Aethenwood."
[/message]
[message]
speaker="Deoran"
message= _ "We, and our elvish allies, have won a great battle against a lich."
[/message]
[message]
role=GarrisonCommander
message= _ "Elvish allies? I think you had best make haste to Westin. There are rumors of trouble with the elves of the Aethenwood."
[/message]
[/then]
[/if]
# Unstore Sir Gerrick and his troops back so that everyone will be happily
# reunited at the beginning of the next scenario.