More filter_conditions to replace ifs
This commit is contained in:
parent
df0e0b72c2
commit
bc0b6f28a2
1 changed files with 7 additions and 9 deletions
|
@ -1131,20 +1131,18 @@
|
|||
y=19-21
|
||||
[/filter]
|
||||
|
||||
[if]
|
||||
[filter_condition]
|
||||
[variable]
|
||||
name=num_keys_found
|
||||
numerical_equals=2
|
||||
[/variable]
|
||||
[/filter_condition]
|
||||
|
||||
[then]
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=no
|
||||
{NEW_GOLD_CARRYOVER 0}
|
||||
[/endlevel]
|
||||
[/then]
|
||||
[/if]
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=no
|
||||
{NEW_GOLD_CARRYOVER 0}
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
# Event 12: Player gets close to trapped merman
|
||||
|
|
Loading…
Add table
Reference in a new issue