AToTB S02 Fix bug: Speaker may be dead

This is basically the Mercenary from S01, so let's use him, instead. If he's died by the closing scene, recruit a replacement.
This commit is contained in:
Gregory A Lundberg 2016-08-15 16:16:45 -05:00
parent 7a3d2e37f7
commit 33c2e1037b

View file

@ -246,35 +246,7 @@ Besides... I want my brother back."
[/terrain]
#endif
[if]
[have_unit]
side=1
type=Horseman
search_recall_list=yes
[/have_unit]
[then]
[role]
type=Horseman
role=speaker
[/role]
[recall]
role=speaker
[/recall]
[/then]
[else]
[unit]
type=Horseman
side=1
placement=leader
generate_name=yes
facing=ne
role=speaker
[/unit]
[/else]
[/if]
{NEED_MERCENARY}
[/event]
[event]
@ -306,7 +278,7 @@ Besides... I want my brother back."
[/message]
[message]
role=speaker
role=Mercenary
message= _ "I am glad at least that we will not have to face ghosts. But those elves will have us at a disadvantage; our horses will not maneuver well in the trees."
[/message]
@ -399,6 +371,8 @@ Besides... I want my brother back."
id=Muff Toras
[/filter]
{NEED_MERCENARY}
[message]
speaker=unit
message= _ "Hah! You have captured me, but it will avail you nothing. I sent your precious brother the mage north with half my men a day since; he will be safely locked away in our masters dungeons by now."
@ -423,24 +397,6 @@ Besides... I want my brother back."
{VARIABLE_OP second_password rand "1..4"}
[if]
[not]
[have_unit]
role=speaker
[/have_unit]
[/not]
[then]
[role]
side=1
[not]
id=Arvith
[/not]
role=speaker
[/role]
[/then]
[/if]
[message]
speaker=unit
message= _ "Three days ride to the northeast, in a deserted castle. The passwords to the guards are $first_password_$first_password and $second_password_$second_password|."
@ -455,7 +411,7 @@ Besides... I want my brother back."
[/message]
[message]
role=speaker
role=Mercenary
message= _ "Captain, what are we riding into? I thought you wanted nothing to do with Baran any more, not since Toen Caric."
[/message]
@ -496,7 +452,7 @@ Besides... I want my brother back."
[/message]
[message]
role=speaker
role=Mercenary
message= _ "He would only slow us down!"
[/message]