Merge four duplicate dialog blocks
This commit is contained in:
parent
90f6b7e53d
commit
df0e0b72c2
1 changed files with 12 additions and 118 deletions
|
@ -879,8 +879,6 @@
|
|||
|
||||
# Event 8: Encounter stone citadel
|
||||
|
||||
# this event is used if the unit triggering the event is not Kaleh
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
|
||||
|
@ -888,9 +886,6 @@
|
|||
x=25-27
|
||||
y=19-20
|
||||
side=1
|
||||
[not]
|
||||
id=Kaleh
|
||||
[/not]
|
||||
[not]
|
||||
type=Dust Devil
|
||||
[/not]
|
||||
|
@ -903,105 +898,34 @@
|
|||
[/variable]
|
||||
[/filter_condition]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "We’ve reached what looks like the citadel, but it is surrounded by a huge perfectly smooth obsidian wall. I can’t find any way to get in."
|
||||
[/message]
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=num_keys_found
|
||||
numerical_equals=2
|
||||
name=unit.id
|
||||
equals=Kaleh
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "We’ve reached what looks like the citadel, but it is surrounded by a huge perfectly smooth obsidian wall. I can’t find any way to get in."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "Are you sure? Search carefully. The orc and skeleton must have been guarding some sort of entrance."
|
||||
message= _ "There’s got to be something here. The orc and skeleton must have been guarding some sort of entrance."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Wait a minute. There’s a tiny outline of a door in the stone. But there’s no way to open it. All I see are what look like two tiny keyholes in the stone. Now I wonder where we might find the right keys?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "Hey, what about the two keys that we found on the bodies of the undead and orc leaders?"
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=no
|
||||
{NEW_GOLD_CARRYOVER 0}
|
||||
[/endlevel]
|
||||
[/then]
|
||||
|
||||
[else]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "We’ve reached what looks like the citadel, but it is surrounded by a huge perfectly smooth obsidian wall. I can’t find any way to get in."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "Are you sure? Search carefully. The orc and skeleton must have been guarding some sort of entrance."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Wait a minute. There’s a tiny outline of a door in the stone. But there’s no way to open it. All I see are what look like two tiny keyholes in the stone. Now I wonder where we might find the right keys?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "I have an idea. I bet Eloh has given them to those she trusts most. And one orc and one skeleton were guarding the door. The keys must be being held by one of each faction. I bet the leaders would be in charge of such valuable objects."
|
||||
[/message]
|
||||
|
||||
{VARIABLE found_door yes}
|
||||
|
||||
[objectives]
|
||||
summary= _ "New Objectives:"
|
||||
[objective]
|
||||
description= _ "Defeat enemy leaders, find both keys"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Kaleh"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Nym"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Zhul"
|
||||
condition=lose
|
||||
[/objective]
|
||||
|
||||
note={NO_GOLD_CARRYOVER_NOTE}
|
||||
[/objectives]
|
||||
[/else]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
# Event 8: alternate dialogue, if unit is Kaleh
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
|
||||
[filter]
|
||||
x=25-27
|
||||
y=19-20
|
||||
id=Kaleh
|
||||
[/filter]
|
||||
|
||||
[filter_condition]
|
||||
[variable]
|
||||
name=found_door
|
||||
boolean_equals=no
|
||||
[/variable]
|
||||
[/filter_condition]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Wait a minute. There’s a tiny outline of a door in the stone. But there’s no way to open it. All I see are what look like two tiny keyholes in the stone. Now I wonder where we might find the right keys?"
|
||||
[/message]
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
|
@ -1010,21 +934,6 @@
|
|||
[/variable]
|
||||
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "We’ve reached what looks like the citadel, but it is surrounded by a huge perfectly smooth obsidian wall. I can’t find any entrances or exits."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "There’s got to be something here. The orc and skeleton must have been guarding some sort of entrance."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Wait a minute. There’s a tiny outline of a door in the stone. But there’s no way to open it. All I see are what look like two tiny keyholes in the stone. Now I wonder where we might find the right keys?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "Hey, what about the two keys that we found on the bodies of the undead and orc leaders?"
|
||||
|
@ -1038,21 +947,6 @@
|
|||
[/then]
|
||||
|
||||
[else]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "We’ve reached what looks like the citadel, but it is surrounded by a huge perfectly smooth obsidian wall. I can’t find any entrances or exits."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "There’s got to be something here. The orc and skeleton must have been guarding some sort of entrance."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Wait a minute. There’s a tiny outline of a door in the stone. But there’s no way to open it. All I see are what look like two tiny keyholes in the stone. Now I wonder where we might find the right keys?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "I have an idea. I bet Eloh has given them to those she trusts most. And one orc and one skeleton were guarding the door. The keys must be being held by one of each faction. I bet the leaders would be in charge of such valuable objects."
|
||||
|
|
Loading…
Add table
Reference in a new issue