Liberty S1: Filter event by condition instead of using an
if-then clause
This commit is contained in:
parent
668202ebd2
commit
ce2f82698c
1 changed files with 14 additions and 12 deletions
|
@ -355,19 +355,21 @@
|
|||
radius=12
|
||||
[/filter_location]
|
||||
[/filter]
|
||||
[filter_condition]
|
||||
[variable]
|
||||
name=town_guards_awakened
|
||||
not_equals=yes
|
||||
[/variable]
|
||||
[/filter_condition]
|
||||
|
||||
{IF_VAR town_guards_awakened not_equals yes (
|
||||
[then]
|
||||
[message]
|
||||
speaker=Harper
|
||||
message= _ "They’re getting closer to our village! What about the town guards, can they help us?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Baldras
|
||||
message= _ "They’ll come out when they see those riders, or us, approaching, but there aren’t many of them... I wouldn’t count on them being able to protect the village alone for long."
|
||||
[/message]
|
||||
[/then]
|
||||
)}
|
||||
[message]
|
||||
speaker=Harper
|
||||
message= _ "They’re getting closer to our village! What about the town guards, can they help us?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Baldras
|
||||
message= _ "They’ll come out when they see those riders, or us, approaching, but there aren’t many of them... I wouldn’t count on them being able to protect the village alone for long."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
Loading…
Add table
Reference in a new issue