Address bug #11318. Continuity fixes for story setup. (Backport to 1.4)

This commit is contained in:
Eric S. Raymond 2008-03-20 23:24:20 +00:00
parent 426c6652d1
commit a4adfa5f37
5 changed files with 45 additions and 1 deletions

View file

@ -108,7 +108,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

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

View file

@ -179,6 +179,9 @@
y=2
[/unit]
{RENAME_IF_DEAD thelarion_dead Thelarion (_"Pelondras")}
{RENAME_IF_DEAD darstang_dead Darstang (_"Trithalsul")}
[message]
description=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

@ -146,6 +146,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 description={NAME} user_description {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]