summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-03-11 16:01:34 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-03-11 16:01:34 +0100
commit3d6ddd55024c4aa5bc10fe6360aa5fc4faad395e (patch)
treef4b50ac2387a2d983bc6492d6db4b46766eb3270 /world/map/npc
parent77657c5079cea6e45e6def951cb4a4197e8b85d7 (diff)
downloadserverdata-3d6ddd55024c4aa5bc10fe6360aa5fc4faad395e.tar.gz
serverdata-3d6ddd55024c4aa5bc10fe6360aa5fc4faad395e.tar.bz2
serverdata-3d6ddd55024c4aa5bc10fe6360aa5fc4faad395e.tar.xz
serverdata-3d6ddd55024c4aa5bc10fe6360aa5fc4faad395e.zip
Add debug helper for the Beanie Copter quest.
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/009-1/milly.txt72
1 files changed, 72 insertions, 0 deletions
diff --git a/world/map/npc/009-1/milly.txt b/world/map/npc/009-1/milly.txt
index 4f454d1c..655f43e4 100644
--- a/world/map/npc/009-1/milly.txt
+++ b/world/map/npc/009-1/milly.txt
@@ -370,3 +370,75 @@ L_NohMask_Robbery:
L_Return:
return;
}
+
+009-1.gat,82,41,0|script|MillyDebugHelper|114,{
+
+ mes "You can set certain quests as finished or not finished. What would you like to do?";
+ menu
+ "Bone Knife Quest done.", L_DBoneKnife,
+ "Rossy Quest done.", L_DRossy,
+ "Cindy Quest done.", L_DCindy,
+ "Setzer Quest done.", L_DSetzer,
+ "Gain 5000 Boss Points.", L_DBossPoints,
+ "Bone Knife and Setzer Quest not done.", L_NBoneKnife,
+ "Rossy Quest not done.", L_NRossy,
+ "Cindy Quest not done.", L_NCindy,
+ "Setzer Quest not done.", L_NSetzer,
+ "Remove all Boss Points.", L_NBossPoints,
+ "Nothing.", L_Close;
+
+L_DBoneKnife:
+ set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_2_MASK)) | (4 << NIBBLE_2_SHIFT);
+ mes "Bone Knife quest set to completed.";
+ close;
+
+L_DSetzer:
+ set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_2_MASK)) | (4 << NIBBLE_2_SHIFT);
+ set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_3_MASK)) | (8 << NIBBLE_3_SHIFT);
+ mes "Setzer quest set to completed. This includes the Bone Knife quest.";
+ close;
+
+L_DRossy:
+ set FLAGS, FLAGS | FLAG_ROSSI_COMPLETED;
+ mes "Rossy quest set to completed.";
+ close;
+
+L_DCindy:
+ set QUEST_Nivalis_state, (QUEST_Nivalis_state & ~(NIBBLE_5_MASK)) | (4 << NIBBLE_5_SHIFT);
+ mes "Cindy quest set to completed.";
+ close;
+
+L_DBossPoints:
+ set BOSS_POINTS, 5000;
+ mes "Boss Points set to 5000.";
+ close;
+
+L_NBoneKnife:
+ set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_2_MASK)) | (0 << NIBBLE_2_SHIFT);
+ set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_3_MASK)) | (0 << NIBBLE_3_SHIFT);
+ mes "Bone Knife and Setzer quest set to not completed.";
+ close;
+
+L_NSetzer:
+ set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(NIBBLE_3_MASK)) | (0 << NIBBLE_3_SHIFT);
+ mes "Bone Knife and Setzer quest set to not completed.";
+ close;
+
+L_NRossy:
+ set FLAGS, FLAGS & ~FLAG_ROSSI_COMPLETED;
+ mes "Rossy quest set to not completed.";
+ close;
+
+L_NCindy:
+ set QUEST_Nivalis_state, (QUEST_Nivalis_state & ~(NIBBLE_5_MASK)) | (0 << NIBBLE_5_SHIFT);
+ mes "Cindy quest set to not completed.";
+ close;
+
+L_NBossPoints:
+ set BOSS_POINTS, 0;
+ mes "Boss Points set to 0.";
+ close;
+
+L_Close:
+ close;
+}