Added Kromph death event and moved ship capture events into the council macro.
This commit is contained in:
parent
8d36557eb4
commit
df902e10fa
1 changed files with 74 additions and 68 deletions
|
@ -3729,6 +3729,79 @@
|
|||
[/then]
|
||||
[/if]
|
||||
|
||||
# the ship events have now been moved into the council
|
||||
# macro to prevent capricious players from capturing
|
||||
# the ships before the council appears
|
||||
|
||||
# Capturing ships by elves
|
||||
|
||||
# each ship is actually a village, when player captures a village
|
||||
# increment counter, when enemy captures a village, decrement it.
|
||||
|
||||
#elf captures a ship
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
first_time_only=no
|
||||
|
||||
[filter]
|
||||
x=9,10,12,15
|
||||
y=12,15,10,14
|
||||
side=1
|
||||
[/filter]
|
||||
|
||||
[set_variable]
|
||||
name=ships_captured
|
||||
add=1
|
||||
[/set_variable]
|
||||
|
||||
[removeitem]
|
||||
x,y=$x1,$y1
|
||||
[/removeitem]
|
||||
|
||||
{PLACE_IMAGE items/galleon-elf.png $x1 $y1}
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=ships_captured
|
||||
numerical_equals=4
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
[endlevel]
|
||||
name=victory
|
||||
bonus=yes
|
||||
[/endlevel]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
#enemy captures a ship
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
first_time_only=no
|
||||
|
||||
[filter]
|
||||
x=9,10,12,15
|
||||
y=12,15,10,14
|
||||
[not]
|
||||
side=1
|
||||
[/not]
|
||||
[/filter]
|
||||
|
||||
[set_variable]
|
||||
name=ships_captured
|
||||
add=-1
|
||||
[/set_variable]
|
||||
|
||||
[removeitem]
|
||||
x,y=$x1,$y1
|
||||
[/removeitem]
|
||||
|
||||
{PLACE_IMAGE items/galleon-human.png $x1 $y1}
|
||||
[/event]
|
||||
|
||||
#enddef
|
||||
|
||||
# Event 8: Meeting and Death of Eloh
|
||||
|
@ -3991,74 +4064,6 @@
|
|||
[/if]
|
||||
[/event]
|
||||
|
||||
# Event 10: Capturing ships by elves
|
||||
|
||||
# each ship is actually a village, when player captures a village
|
||||
# increment counter, when enemy captures a village, decrement it.
|
||||
|
||||
#elf captures a ship
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
first_time_only=no
|
||||
|
||||
[filter]
|
||||
x=9,10,12,15
|
||||
y=12,15,10,14
|
||||
side=1
|
||||
[/filter]
|
||||
|
||||
[set_variable]
|
||||
name=ships_captured
|
||||
add=1
|
||||
[/set_variable]
|
||||
|
||||
[removeitem]
|
||||
x,y=$x1,$y1
|
||||
[/removeitem]
|
||||
|
||||
{PLACE_IMAGE items/galleon-elf.png $x1 $y1}
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=ships_captured
|
||||
numerical_equals=4
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
[endlevel]
|
||||
name=victory
|
||||
bonus=yes
|
||||
[/endlevel]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
#enemy captures a ship
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
first_time_only=no
|
||||
|
||||
[filter]
|
||||
x=9,10,12,15
|
||||
y=12,15,10,14
|
||||
[not]
|
||||
side=1
|
||||
[/not]
|
||||
[/filter]
|
||||
|
||||
[set_variable]
|
||||
name=ships_captured
|
||||
add=-1
|
||||
[/set_variable]
|
||||
|
||||
[removeitem]
|
||||
x,y=$x1,$y1
|
||||
[/removeitem]
|
||||
|
||||
{PLACE_IMAGE items/galleon-human.png $x1 $y1}
|
||||
[/event]
|
||||
|
||||
# Event 10: time over event
|
||||
|
||||
|
@ -4172,6 +4177,7 @@
|
|||
{KALEH_DEATH}
|
||||
{FRIEND_DEATH}
|
||||
{ESANOO_DEATH}
|
||||
{KROMPH_DEATH}
|
||||
{LATE_ALLY_DEATH}
|
||||
|
||||
{@campaigns/Under_the_Burning_Suns/utils/global-events.cfg}
|
||||
|
|
Loading…
Add table
Reference in a new issue