Skip to content

Commit

Permalink
NR S2: better conditional for victory event
Browse files Browse the repository at this point in the history
previousl one could trigger victory while being at
the other side of the cave wall

[ci skip]

(cherry-picked from commit 41298d7)
  • Loading branch information
sevu committed Oct 7, 2018
1 parent df4ee40 commit 6379946
Showing 1 changed file with 8 additions and 3 deletions.
Expand Up @@ -218,7 +218,7 @@
[/show_if]
[/objective]
[objective]
description= _ "Move Tallin within five hexes of Hamel to speak with him"
description= _ "Move Tallin to the Dwarvish area to meet with Lord Hamel"
condition=win
[show_if]
[variable]
Expand Down Expand Up @@ -718,7 +718,7 @@
[/message]
[/event]

# When the eastern trolls are defeated the undead wii get their villages (not much)
# When the eastern trolls are defeated the undead wii get their villages (not many)
# and focus on the player and the dwarves. The player is probably otherwise busy.
[event]
name=die
Expand All @@ -728,7 +728,7 @@
[/filter]
[filter_second]
race=undead
[filter_second]
[/filter_second]
[gold]
side=4
amount=50
Expand Down Expand Up @@ -833,6 +833,9 @@
# TODO: it's possible (but unlikely) that this could result in an unwinnable
# scenario if all hexes near Hamel are full. Aagin, though, unlikely. Still,
# it might be worth coming up with an even better victory condition.
# TODO: Due to the radius also taking into account hexes on the other side
# of the wall the area has been further restricted to the cave area. Ideally
# the filter should know when Hammel would be in Tallins vision area.
[event]
name=moveto
[filter]
Expand All @@ -843,6 +846,8 @@
[/filter]
radius=5
[/filter_location]
x=24-34
y=21-30
[/filter]

[message]
Expand Down

0 comments on commit 6379946

Please sign in to comment.