mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 06:04:28 +00:00
Simplified and modernized the way Baran is sighted and the gate unlocked.
This commit is contained in:
parent
21a6dbb14c
commit
4122881298
@ -1,14 +1,4 @@
|
|||||||
#textdomain wesnoth-tb
|
#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]
|
[scenario]
|
||||||
#textdomain wesnoth-tb
|
#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]
|
[/gold_carryover]
|
||||||
[/objectives]
|
[/objectives]
|
||||||
|
|
||||||
{VARIABLE Got_Key 0}
|
{VARIABLE Got_Key no}
|
||||||
{VARIABLE delay_guards false}
|
{VARIABLE delay_guards false}
|
||||||
|
|
||||||
#placing prison gates
|
#placing prison gates
|
||||||
[terrain]
|
|
||||||
x=5
|
|
||||||
y=5
|
|
||||||
terrain=Xzga # wmllint: ignore
|
|
||||||
[/terrain]
|
|
||||||
{PLACE_IMAGE scenery/gate-rusty-se.png 5 5}
|
{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}
|
{PLACE_IMAGE scenery/gate-rusty-sw.png 6 10}
|
||||||
# [terrain]
|
|
||||||
# x=7
|
#making the gates impassable
|
||||||
# y=7
|
[terrain]
|
||||||
# terrain=Xzga
|
x=5,6
|
||||||
# [/terrain]
|
y=5,10
|
||||||
# {PLACE_IMAGE scenery/gate-rusty-se.png 5 5}
|
terrain=Uu^Xo
|
||||||
|
[/terrain]
|
||||||
|
|
||||||
#making it more like a real prison
|
#making it more like a real prison
|
||||||
{PLACE_IMAGE items/bones.png 5 12}
|
{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
|
speaker=Arvith
|
||||||
message= _ "That may well be the key to the cell they’re holding Baran in! I will take it."
|
message= _ "That may well be the key to the cell they’re holding Baran in! I will take it."
|
||||||
[/message]
|
[/message]
|
||||||
{VARIABLE Got_Key 1}
|
{VARIABLE Got_Key yes}
|
||||||
[modify_turns]
|
[modify_turns]
|
||||||
add=6
|
add=6
|
||||||
[/modify_turns]
|
[/modify_turns]
|
||||||
@ -641,11 +622,17 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
|
|||||||
|
|
||||||
[event]
|
[event]
|
||||||
name=moveto
|
name=moveto
|
||||||
[filter]
|
|
||||||
x=1-8
|
[filter_condition]
|
||||||
y=1-11
|
[have_location]
|
||||||
|
x,y=5,5
|
||||||
|
|
||||||
|
[filter_vision]
|
||||||
side=1
|
side=1
|
||||||
[/filter]
|
[/filter_vision]
|
||||||
|
[/have_location]
|
||||||
|
[/filter_condition]
|
||||||
|
|
||||||
[unit]
|
[unit]
|
||||||
side=1
|
side=1
|
||||||
id=Baran
|
id=Baran
|
||||||
@ -661,20 +648,11 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
|
|||||||
{TRAIT_INTELLIGENT}
|
{TRAIT_INTELLIGENT}
|
||||||
[/modifications]
|
[/modifications]
|
||||||
[/unit]
|
[/unit]
|
||||||
[remove_shroud]
|
|
||||||
x=1-8,9-10,5
|
|
||||||
y=1-12,1-7,13
|
|
||||||
side=1
|
|
||||||
[/remove_shroud]
|
|
||||||
[/event]
|
|
||||||
|
|
||||||
[event]
|
[redraw]
|
||||||
name=moveto
|
|
||||||
[filter]
|
|
||||||
x=4-8,7,8
|
|
||||||
y=5-8,4,4
|
|
||||||
side=1
|
side=1
|
||||||
[/filter]
|
[/redraw]
|
||||||
|
|
||||||
[message]
|
[message]
|
||||||
speaker=unit
|
speaker=unit
|
||||||
message= _"I found Baran. He is in this cell."
|
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]
|
[if]
|
||||||
[variable]
|
[variable]
|
||||||
name=Got_Key
|
name=Got_Key
|
||||||
numerical_equals=0
|
boolean_equals=no
|
||||||
[/variable]
|
[/variable]
|
||||||
[then]
|
[then]
|
||||||
[objectives]
|
[objectives]
|
||||||
@ -741,17 +719,22 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
|
|||||||
y=6,5
|
y=6,5
|
||||||
id=Arvith
|
id=Arvith
|
||||||
[/filter]
|
[/filter]
|
||||||
[if]
|
|
||||||
|
[filter_condition]
|
||||||
[variable]
|
[variable]
|
||||||
name=Got_Key
|
name=Got_Key
|
||||||
numerical_equals=1
|
boolean_equals=yes
|
||||||
[/variable]
|
[/variable]
|
||||||
[then]
|
[/filter_condition]
|
||||||
|
|
||||||
{INCIDENTAL_MUSIC breaking_the_chains.ogg}
|
{INCIDENTAL_MUSIC breaking_the_chains.ogg}
|
||||||
|
[remove_item]
|
||||||
|
x,y=5,5
|
||||||
|
[/remove_item]
|
||||||
[terrain]
|
[terrain]
|
||||||
x=5
|
x=5
|
||||||
y=5
|
y=5
|
||||||
terrain=Rr
|
terrain=Uu
|
||||||
[/terrain]
|
[/terrain]
|
||||||
[message]
|
[message]
|
||||||
speaker=Baran
|
speaker=Baran
|
||||||
@ -782,11 +765,6 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
|
|||||||
bonus=yes
|
bonus=yes
|
||||||
{NEW_GOLD_CARRYOVER 40}
|
{NEW_GOLD_CARRYOVER 40}
|
||||||
[/endlevel]
|
[/endlevel]
|
||||||
[/then]
|
|
||||||
[else]
|
|
||||||
[allow_undo][/allow_undo]
|
|
||||||
[/else]
|
|
||||||
[/if]
|
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
[event]
|
[event]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user