Put code for undead arrival in its own event
This commit is contained in:
parent
9f33f0e802
commit
4bd32bf7d5
1 changed files with 13 additions and 10 deletions
|
@ -3841,23 +3841,26 @@
|
|||
value=2
|
||||
[/set_variable]
|
||||
|
||||
# schedule events that occur after the humans start fighting
|
||||
[event]
|
||||
# schedule events that occur after the humans start fighting
|
||||
name=new turn
|
||||
first_time_only=no
|
||||
|
||||
[if]
|
||||
# If it is dusk or night, the undead do not arrive until then
|
||||
[filter_condition]
|
||||
# The first night after meeting the humans
|
||||
[have_location]
|
||||
x,y=44,27 # location of Sgt Durstrag's keep - should be in normal time
|
||||
time_of_day_id=dusk1,dusk2,short_dark,long_dark1,long_dark2,long_dark3,long_dark4
|
||||
[/have_location]
|
||||
[then]
|
||||
[fire_event]
|
||||
name=undead_emissary
|
||||
[/fire_event]
|
||||
[/then]
|
||||
[/if]
|
||||
[/filter_condition]
|
||||
|
||||
[fire_event]
|
||||
name=undead_emissary
|
||||
[/fire_event]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=new turn
|
||||
first_time_only=no
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
|
|
Loading…
Add table
Reference in a new issue