summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-02-03 17:44:55 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-02-12 23:05:14 +0100
commitc88ef1cbf878acd5439c3aef1cdac2f68436e0b5 (patch)
tree7cc56f80b3a45793a1d514618fdb4513b30975c1 /world/map/npc/functions/clear_vars.txt
parentf1cd12437ccd23bb5a713616629d24e348adce3c (diff)
downloadserverdata-c88ef1cbf878acd5439c3aef1cdac2f68436e0b5.tar.gz
serverdata-c88ef1cbf878acd5439c3aef1cdac2f68436e0b5.tar.bz2
serverdata-c88ef1cbf878acd5439c3aef1cdac2f68436e0b5.tar.xz
serverdata-c88ef1cbf878acd5439c3aef1cdac2f68436e0b5.zip
Variable restructuring: move information about opening the chest in Hurnscald mines into FLAGS variable.
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-rw-r--r--world/map/npc/functions/clear_vars.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index d0ca5313..2dbf0d2d 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -133,6 +133,10 @@ function|script|ClearVariables|{
set FLAGS, FLAGS | FLAG_SANTAS_HELPER;
set ChristmasQuest2, 0;
+ if (ChestQuest)
+ set FLAGS, FLAGS | FLAG_HURNSMINE_CHEST;
+ set ChestQuest, 0;
+
if (#BankAccount < 0)
goto FixBank;