Simplified and modernized the way Baran is sighted and the gate unlocked.

This commit is contained in:
Lari Nieminen 2012-12-02 12:19:27 +00:00
parent 21a6dbb14c
commit 4122881298

View file

@ -1,14 +1,4 @@
#textdomain wesnoth-tb
[terrain_type]
#impassable custom magic gate
symbol_image=../scenery/gate-rusty-se
id=magic_irongate
name= _ "Irongate"
string=Xzga
aliasof=Xu
[/terrain_type]
{TERRAIN_BASE Xzga flat/road}
[scenario]
#textdomain wesnoth-tb
@ -221,28 +211,19 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
[/gold_carryover]
[/objectives]
{VARIABLE Got_Key 0}
{VARIABLE Got_Key no}
{VARIABLE delay_guards false}
#placing prison gates
[terrain]
x=5
y=5
terrain=Xzga # wmllint: ignore
[/terrain]
{PLACE_IMAGE scenery/gate-rusty-se.png 5 5}
[terrain]
x=6
y=10
terrain=Xzga # wmllint: ignore
[/terrain]
{PLACE_IMAGE scenery/gate-rusty-sw.png 6 10}
# [terrain]
# x=7
# y=7
# terrain=Xzga
# [/terrain]
# {PLACE_IMAGE scenery/gate-rusty-se.png 5 5}
#making the gates impassable
[terrain]
x=5,6
y=5,10
terrain=Uu^Xo
[/terrain]
#making it more like a real prison
{PLACE_IMAGE items/bones.png 5 12}
@ -578,7 +559,7 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
speaker=Arvith
message= _ "That may well be the key to the cell theyre holding Baran in! I will take it."
[/message]
{VARIABLE Got_Key 1}
{VARIABLE Got_Key yes}
[modify_turns]
add=6
[/modify_turns]
@ -641,11 +622,17 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
[event]
name=moveto
[filter]
x=1-8
y=1-11
side=1
[/filter]
[filter_condition]
[have_location]
x,y=5,5
[filter_vision]
side=1
[/filter_vision]
[/have_location]
[/filter_condition]
[unit]
side=1
id=Baran
@ -661,20 +648,11 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
[remove_shroud]
x=1-8,9-10,5
y=1-12,1-7,13
side=1
[/remove_shroud]
[/event]
[event]
name=moveto
[filter]
x=4-8,7,8
y=5-8,4,4
[redraw]
side=1
[/filter]
[/redraw]
[message]
speaker=unit
message= _"I found Baran. He is in this cell."
@ -708,7 +686,7 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
[if]
[variable]
name=Got_Key
numerical_equals=0
boolean_equals=no
[/variable]
[then]
[objectives]
@ -741,52 +719,52 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
y=6,5
id=Arvith
[/filter]
[if]
[filter_condition]
[variable]
name=Got_Key
numerical_equals=1
boolean_equals=yes
[/variable]
[then]
{INCIDENTAL_MUSIC breaking_the_chains.ogg}
[terrain]
x=5
y=5
terrain=Rr
[/terrain]
[message]
speaker=Baran
message= _ "Thank you for saving me. I... was not certain you would come."
[/message]
[message]
speaker=Arvith
message= _ "Have you no faith in your brother, Baran?"
[/message]
[message]
speaker=Baran
message= _ "Its not that. Perhaps I deserved to rot here. I failed you. I failed you again."
[/message]
[message]
speaker=Arvith
message= _ "That is as may be. But you are my brother still. And... I never doubted you would have come for me."
[/message]
[message]
speaker=Arvith
message= _ "It was no great trial, after all. A few elves, one or two dark sorcerers, a gang of orcs and some undead. Really just a days work for the company."
[/message]
[message]
speaker=Baran
message= _ "Thank you for coming to my aid. Let us return to the village."
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[else]
[allow_undo][/allow_undo]
[/else]
[/if]
[/filter_condition]
{INCIDENTAL_MUSIC breaking_the_chains.ogg}
[remove_item]
x,y=5,5
[/remove_item]
[terrain]
x=5
y=5
terrain=Uu
[/terrain]
[message]
speaker=Baran
message= _ "Thank you for saving me. I... was not certain you would come."
[/message]
[message]
speaker=Arvith
message= _ "Have you no faith in your brother, Baran?"
[/message]
[message]
speaker=Baran
message= _ "Its not that. Perhaps I deserved to rot here. I failed you. I failed you again."
[/message]
[message]
speaker=Arvith
message= _ "That is as may be. But you are my brother still. And... I never doubted you would have come for me."
[/message]
[message]
speaker=Arvith
message= _ "It was no great trial, after all. A few elves, one or two dark sorcerers, a gang of orcs and some undead. Really just a days work for the company."
[/message]
[message]
speaker=Baran
message= _ "Thank you for coming to my aid. Let us return to the village."
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]