summaryrefslogtreecommitdiff
path: root/npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt
diff options
context:
space:
mode:
authorMicksha <ms-shaman@gmx.de>2020-05-24 16:17:51 +0000
committerJesusaves <cpntb1@ymail.com>2020-05-24 16:17:51 +0000
commitb434d69f4305665b84fe7056120c578a792850f0 (patch)
treeb2e47702cb5268b72432a03a1289e11ece6a93d9 /npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt
parent3f982e4e0785fa4dc8242d87ae8291c6b4c2e659 (diff)
downloadserverdata-b434d69f4305665b84fe7056120c578a792850f0.tar.gz
serverdata-b434d69f4305665b84fe7056120c578a792850f0.tar.bz2
serverdata-b434d69f4305665b84fe7056120c578a792850f0.tar.xz
serverdata-b434d69f4305665b84fe7056120c578a792850f0.zip
Faction Core, Quest ID rewrite, Thieves Path.
Part of Leaving Artis redesign.
Diffstat (limited to 'npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt')
-rw-r--r--npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt b/npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt
new file mode 100644
index 00000000..0cb3ee9d
--- /dev/null
+++ b/npc/functions/quest-debug/054-HurnscaldQuests_WoodenShield.txt
@@ -0,0 +1,37 @@
+// Jack Lumber quest debug
+// Author:
+// gumi
+
+function script QuestDebug54 {
+ do
+ {
+ clear;
+ setnpcdialogtitle l("Quest debug");
+ mes "HurnscaldQuests_WoodenShield";
+ mes "---";
+ mes l("Quest state: @@", getq(HurnscaldQuests_WoodenShield));
+ mes "---";
+ mes l("Related quests:");
+ mes "HurnscaldQuests_ForestBow: " + getq(HurnscaldQuests_ForestBow);
+ next;
+
+ GenericQuestDebug HurnscaldQuests_WoodenShield,
+ menuimage("actions/manage", l("Debug Forest Bow")), -1,
+ l("Cannot do the quest"), 0,
+ l("Can do the quest"), 1,
+ l("Jack proposes shield"), 2,
+ l("Accepted the quest"), 3,
+ l("Got the shield"), 4;
+
+ switch (@menuret)
+ {
+ case -1: callfunc "QuestDebug39"; break;
+ case 1:
+ case 2:
+ case 3:
+ case 4: setq(HurnscaldQuests_ForestBow, max(5, getq(HurnscaldQuests_ForestBow))); break;
+ default: if (@menuret < 0) return;
+ }
+
+ } while (1);
+}