From c88ef1cbf878acd5439c3aef1cdac2f68436e0b5 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sun, 3 Feb 2013 17:44:55 +0100 Subject: Variable restructuring: move information about opening the chest in Hurnscald mines into FLAGS variable. --- world/map/npc/functions/clear_vars.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'world/map/npc/functions') 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; -- cgit v1.2.3-60-g2f50