summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-01-09 16:05:12 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-01-09 16:05:12 +0100
commit6412e0192d4f6e6415aa2113a171c9ed99cb311a (patch)
treec8cf33692e912ff11d4c09b940cf172856f82c0c /world/map/npc
parent88a138a5cdc0b23c90b9e49969fd2709b2163790 (diff)
downloadserverdata-6412e0192d4f6e6415aa2113a171c9ed99cb311a.tar.gz
serverdata-6412e0192d4f6e6415aa2113a171c9ed99cb311a.tar.bz2
serverdata-6412e0192d4f6e6415aa2113a171c9ed99cb311a.tar.xz
serverdata-6412e0192d4f6e6415aa2113a171c9ed99cb311a.zip
Remove and delete QUEST_clothdyer_state since it isn't used anywhere.
Remove it from Selim's script. Add it to clear_vars function.
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/009-2/selim.txt1
-rw-r--r--world/map/npc/functions/clear_vars.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/009-2/selim.txt b/world/map/npc/009-2/selim.txt
index a919240c..c434b656 100644
--- a/world/map/npc/009-2/selim.txt
+++ b/world/map/npc/009-2/selim.txt
@@ -10,7 +10,6 @@
mes "[Selim]";
mes "\"What can I dye for you today?\"";
- set QUEST_clothdyer_state, 3;
next;
L_clothes_choice:
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index a8418562..08ecfed7 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -97,6 +97,8 @@ function|script|ClearVariables|{
// Tulimshar and Mine Variables which aren't used anymore
set Scorp, 0;
set Bugleg, 0;
+ // variable isn't used
+ set QUEST_clothdyer_state, 0;
//These lines are needed to migrate stuff from variables to flags
if (Open_Underground_Palace_Barrier)