Skip to content

Commit

Permalink
DW 12: remove bat event after the necklace has been picked up
Browse files Browse the repository at this point in the history
and switch to boolean variable
  • Loading branch information
sevu committed Jan 6, 2019
1 parent 452f5fc commit eab13f3
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions data/campaigns/Dead_Water/scenarios/12_Revenge.cfg
Expand Up @@ -881,9 +881,12 @@
[command]
{ANKH_NECKLACE 14 11 necklace1}
[set_variable]
name=get_necklace
value=done
name=got_necklace
value=yes
[/set_variable]
[remove_event]
id=bat_necklace_is_bad
[/remove_event]
[/command]
[/option]
[option]
Expand Down Expand Up @@ -915,8 +918,8 @@
[/filter]
[filter_condition]
[variable]
name=get_necklace
not_equals=done
name=got_necklace
boolean_equals=no
[/variable]
[/filter_condition]

Expand All @@ -927,9 +930,12 @@
[command]
{ANKH_NECKLACE 14 11 necklace1}
[set_variable]
name=get_necklace
value=done
name=got_necklace
value=yes
[/set_variable]
[remove_event]
id=bat_necklace_is_bad
[/remove_event]
[/command]
[/option]
[option]
Expand All @@ -944,4 +950,10 @@
[/option]
[/message]
[/event]

[event]
name=victory

{CLEAR_VARIABLE got_necklace}
[/event]
[/scenario]

0 comments on commit eab13f3

Please sign in to comment.