Remove some more variables through self removing events

This commit is contained in:
Simon Forsyth 2012-07-12 01:15:04 +00:00
parent c7765bca1c
commit b7545fd975

View File

@ -494,16 +494,6 @@
[/set_variable]
#endif
[set_variable]
name=broke_circle
value=0
[/set_variable]
[set_variable]
name=pulled_lever
value=0
[/set_variable]
# timer to store when to send off a human messenger
[set_variable]
name=messenger_timer
@ -2302,6 +2292,7 @@
[event]
name=moveto
id=break_circle
first_time_only=no
[filter]
@ -2313,13 +2304,6 @@
[/not]
[/filter]
[filter_condition]
[variable]
name=broke_circle
numerical_equals=0
[/variable]
[/filter_condition]
[message]
speaker=unit
@ -2327,10 +2311,10 @@
[option]
message= _ "Break the circle"
[command]
[set_variable]
name=broke_circle
value=1
[/set_variable]
[event]
id=break_circle
remove=true
[/event]
[remove_item]
x,y=$x1,$y1
@ -2530,6 +2514,7 @@
[event]
name=moveto
id=pull_lever
first_time_only=no
[filter]
@ -2546,13 +2531,6 @@
[/not]
[/filter]
[filter_condition]
[variable]
name=pulled_lever
numerical_equals=0
[/variable]
[/filter_condition]
[message]
speaker=unit
@ -2560,10 +2538,10 @@
[option]
message= _ "Pull the lever."
[command]
[set_variable]
name=pulled_lever
value=1
[/set_variable]
[event]
id=pull_lever
remove=true
[/event]
[scroll]
x=20
@ -5037,10 +5015,8 @@
animate=no
[/kill]
{CLEAR_VARIABLE broke_circle}
{CLEAR_VARIABLE healing_rune1,healing_rune2}
{CLEAR_VARIABLE pulled_lever}
{CLEAR_VARIABLE messenger_timer}
{CLEAR_VARIABLE stop_flooding}
[/event]