Address bug #11318. Continuity fixes for story setup.

This commit is contained in:
Eric S. Raymond 2008-03-20 23:17:56 +00:00
parent bd129a9c79
commit 7aa14b8a5f
5 changed files with 47 additions and 5 deletions

View file

@ -90,14 +90,12 @@
[story]
[part]
story= _ "Rahul I, head of the Northern Alliance, concluded peace with orcs during the 4th year of his leadership. He ended a 15-year war with Black-Eye Karun, ruler of the orcs. A peace treaty between the local humans and the orcs defined which lands were devoted to orcs or humans."
story= _ "Rahul I, Lord Protector of the Northern Alliance, concluded peace with enemy orcs during the 4th year of his leadership. He ended a 15-year war with Black-Eye Karun, ruler of the enemy orcs. A peace treaty between the Alliance and the orcs settled their territorial disputes."
background=sotbe.png
[/part]
[part]
story= _ "So impressed was Rahul with the intelligence, prowess and leadership of Black-Eye Karun that he invited him to join the Northern Alliance. After much deliberation Black-Eye Karun decided to accept the offer. However, on the way to the city of Dwarven Doors - the headquarters of the Northern Alliance - Karun and his small group of bodyguards were attacked and slain to the last man. There were no survivors to confirm the incident, but it soon became believed among the orcs that the Northern Alliance had deliberately set up this ambush in order to slay their paramount leader break the unity of the orcs."
#To be considered for replacing the previous text after the end of the string freeze
#story= _ "So impressed was Rahul with the intelligence, prowess and leadership of Black-Eye Karun that he invited him to join the Northern Alliance. After much deliberation Black-Eye Karun decided to accept the offer. However, on the way to the city of Dwarven Doors - the headquarters of the Northern Alliance - Karun and his small group of bodyguards were attacked and slain to the last man. There were no survivors to confirm the incident, but it soon became believed among the orcs that the Northern Alliance had deliberately set up this ambush in order to break the unity of the orcs by slaying their paramount leader."
story= _ "So impressed was Rahul with the intelligence, prowess and leadership of Black-Eye Karun that he invited him to bcome a Lord Companion of the Northern Alliance. After much deliberation Black-Eye Karun decided to accept the offer. However, on the way to the city of Dwarven Doors - the headquarters of the Northern Alliance - Karun and his small group of bodyguards were attacked and slain to the last man. There were no survivors to confirm the incident, but it soon became believed among the orcs that the Northern Alliance had deliberately set up this ambush in order to break the unity of the orcs by slaying their paramount leader."
background=sotbe.png
[/part]
@ -107,7 +105,7 @@
[/part]
[part]
story= _ "In the thirteenth year of Howgarth III - the successor of Rahul I - tension began to rise between orcish tribes and the northern humans. Famine led humans to colonize some orcish lands and push orcs into desolated hill country."
story= _ "In the thirteenth year of Howgarth III - the successor of Rahul I - tension began to rise between orcish tribes and the northern humans. Famine led humans to colonize some orcish lands and push orcs into desolated hill country. The few orcish tribes who had remained part of the Allance, feeling the pressure, either left Alliance territory or revolted and were destroyed."
background=sotbe.png
[/part]

View file

@ -233,6 +233,9 @@
x=20
y=11
[/recall]
{RENAME_IF_DEAD thelarion_dead Thelarion (_"Telamir")}
{RENAME_IF_DEAD darstang_dead Darstang (_"Angthur")}
[/event]
[event]

View file

@ -178,6 +178,9 @@
y=2
[/unit]
{RENAME_IF_DEAD thelarion_dead Thelarion (_"Pelondras")}
{RENAME_IF_DEAD darstang_dead Darstang (_"Trithalsul")}
[message]
speaker=Darstang
message= _ "My my, look at this, two abandoned keeps. Probably built by those orcs in one of their pointless wars against each-other."

View file

@ -145,6 +145,8 @@
[event]
name=start
{RENAME_IF_DEAD thelarion_dead Thelarion (_"Valan")}
[role]
type=Orcish Warlord, Orcish Warrior, Saurian Ambusher, Orcish Grunt, Saurian Skirmisher, Orcish Crossbowman, Orcish Slayer, Orcish Assassin, Orcish Archer
role=army

View file

@ -357,3 +357,39 @@
y={Y}
[/unit]
#enddef
#define RENAME_IF_DEAD VAR NAME STRING
[if]
[variable]
name={VAR}
equals=yes
[/variable]
[then]
{MODIFY_UNIT id={NAME} name {STRING}}
[/then]
[/if]
#enddef
[event]
name=die
[filter]
id=Thelarion
[/filter]
[message]
speaker=unit
message= _ "The green earth will curse you for this...."
[/message]
{VARIABLE thelarion_dead yes}
[/event]
[event]
name=die
[filter]
id=Darstang
[/filter]
[message]
speaker=unit
message= _ "Curse you, foul orc!"
[/message]
{VARIABLE darstang_dead yes}
[/event]