diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-12-30 00:45:14 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-12-30 13:47:02 +0100 |
commit | b771141707e400648c76fc3bf3843d67a841922c (patch) | |
tree | 57c92717d0a7d6459d6aa8f419b67a0401538f0c /world/map/npc/functions | |
parent | 6de0d5218433ad03a2569b2350dd6ac5cafddca6 (diff) | |
download | serverdata-b771141707e400648c76fc3bf3843d67a841922c.tar.gz serverdata-b771141707e400648c76fc3bf3843d67a841922c.tar.bz2 serverdata-b771141707e400648c76fc3bf3843d67a841922c.tar.xz serverdata-b771141707e400648c76fc3bf3843d67a841922c.zip |
Handle quests on 019-1 in flags instead of one player variable for each. Added those player variables to the function ClearVariables.
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r-- | world/map/npc/functions/clear_vars.txt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt index eed42a44..14794c95 100644 --- a/world/map/npc/functions/clear_vars.txt +++ b/world/map/npc/functions/clear_vars.txt @@ -96,12 +96,22 @@ function|script|ClearVariables|{ //These lines are needed to migrate stuff from variables to flags - if (Open_Underground_Palace_Barrier) set FLAGS, FLAGS | FLAG_OPENED_UNDERGROUND; + if (Open_Underground_Palace_Barrier) + set FLAGS, FLAGS | FLAG_OPENED_UNDERGROUND; set Open_Underground_Palace_Barrier, 0; - if (Naem_Quest_Done) set FLAGS, FLAGS | FLAG_GOT_NAEM_GLOVES; + if (Naem_Quest_Done) + set FLAGS, FLAGS | FLAG_GOT_NAEM_GLOVES; set Naem_Quest_Done, 0; + if (ChristmasQuest) + set FLAGS, FLAGS | FLAG_SNOWMAN; + set ChristmasQuest, 0; + + if (ChristmasQuest2) + set FLAGS, FLAGS | FLAG_SANTAS_HELPER; + set ChristmasQuest2, 0; + if (#BankAccount < 0) goto FixBank; |