Fixed some coordinates that got converted to a span (tsk!).
Allow Undo for Urza' moves and filtered on his moves to prevent the dialogue from triggering in moves that don't progress along the path. A few elven ambushers less.
This commit is contained in:
parent
da14e427d9
commit
1b660ce9ce
1 changed files with 23 additions and 4 deletions
|
@ -435,7 +435,7 @@
|
|||
|
||||
#ifdef EASY
|
||||
{VARIABLE undead_spawn_types "Ghost,Wraith,Shadow,Skeleton Archer,Revenant,Deathblade,Blood Bat,Ghoul,Ghost,Wraith,Shadow"}
|
||||
{VARIABLE ambushing_elves 38}
|
||||
{VARIABLE ambushing_elves 32}
|
||||
{ELVISH_AMBUSHER 12 34 2 "Elvish Archer"}
|
||||
{ELVISH_AMBUSHER 13 33 2 "Elvish Fighter"}
|
||||
{ELVISH_AMBUSHER 14 30 2 "Elvish Archer"}
|
||||
|
@ -443,7 +443,7 @@
|
|||
|
||||
#ifdef NORMAL
|
||||
{VARIABLE undead_spawn_types "Wraith,Shadow,Bone Shooter,Revenant,Deathblade,Blood Bat,Ghoul,Wraith,Shadow"}
|
||||
{VARIABLE ambushing_elves 46}
|
||||
{VARIABLE ambushing_elves 40}
|
||||
{ELVISH_AMBUSHER 12 34 2 "Elvish Archer"}
|
||||
{ELVISH_AMBUSHER 13 33 2 "Elvish Hero"}
|
||||
{ELVISH_AMBUSHER 14 30 2 "Elvish Ranger"}
|
||||
|
@ -451,7 +451,7 @@
|
|||
|
||||
#ifdef HARD
|
||||
{VARIABLE undead_spawn_types "Wraith,Shadow,Bone Shooter,Revenant,Deathblade,Necrophage,Wraith,Shadow,Shadow"}
|
||||
{VARIABLE ambushing_elves 54}
|
||||
{VARIABLE ambushing_elves 48}
|
||||
{ELVISH_AMBUSHER 12 34 2 "Elvish Ranger"}
|
||||
{ELVISH_AMBUSHER 13 33 2 "Elvish Hero"}
|
||||
{ELVISH_AMBUSHER 14 30 2 "Elvish Ranger"}
|
||||
|
@ -502,6 +502,7 @@
|
|||
{VARIABLE urza_x 24}
|
||||
{VARIABLE urza_y 46}
|
||||
{VARIABLE urza_dialogue_num 0}
|
||||
|
||||
# the various messages
|
||||
{VARIABLE urza_dialogue[0].msg ( _ "We have to go even further west. There are elves living to the north, and I don't think they'll receive us too kindly!")}
|
||||
{VARIABLE urza_dialogue[1].msg ( _ "Come on! Hurry!")}
|
||||
|
@ -522,6 +523,17 @@
|
|||
description=Urza Afalas
|
||||
[filter_location]
|
||||
terrain=Gg,Hh,Re,Gs^Fp
|
||||
# do the radius checking here, too
|
||||
# so the dialogue only displays when
|
||||
# Urza is actually "continuing" on the path
|
||||
[and]
|
||||
radius=3
|
||||
find_in=secret_path
|
||||
[or]
|
||||
radius=3
|
||||
find_in=secret_track
|
||||
[/or]
|
||||
[/and]
|
||||
[/filter_location]
|
||||
[/filter]
|
||||
[store_locations]
|
||||
|
@ -589,6 +601,11 @@
|
|||
[/if]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
# we'll allow undo even if terrain was uncovered
|
||||
# the dialogue will break undoing, anyway
|
||||
[allow_undo]
|
||||
[/allow_undo]
|
||||
[/event]
|
||||
|
||||
# elven ambush event
|
||||
|
@ -725,7 +742,9 @@
|
|||
# reveal the first bit of path
|
||||
|
||||
{MODIFY_TERRAIN Gg 23 47}
|
||||
{MODIFY_TERRAIN Re 22-21 47-48}
|
||||
# note: the following is NOT supposed to be supplied as a RANGE!
|
||||
# change the individual coordinates 22,47 and 21,48 !
|
||||
{MODIFY_TERRAIN Re 22,21 47,48}
|
||||
[remove_shroud]
|
||||
side=1
|
||||
x=19-22
|
||||
|
|
Loading…
Add table
Reference in a new issue