summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-04-13 13:02:59 -0400
committerMicksha <Micksha@users.noreply.github.com>2018-11-05 21:34:37 +0100
commit7330d282726f62cdb63dcca5b49c4607cbbdc199 (patch)
tree8d46ba4a0a43f08403ad8456c60ff22b16dac189 /npc/commands
parente34d012804b9a10283c3b2ced98c73542833a731 (diff)
downloadserverdata-7330d282726f62cdb63dcca5b49c4607cbbdc199.tar.gz
serverdata-7330d282726f62cdb63dcca5b49c4607cbbdc199.tar.bz2
serverdata-7330d282726f62cdb63dcca5b49c4607cbbdc199.tar.xz
serverdata-7330d282726f62cdb63dcca5b49c4607cbbdc199.zip
Hurnscald mega-commit
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/debug-quest.txt31
1 files changed, 29 insertions, 2 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 2c590a2d..468e5af2 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -90,6 +90,31 @@ function script GlobalQuestDebug {
} while (1);
}
+ function qDebugHurnscald {
+ do
+ {
+ clear;
+ setnpcdialogtitle l("Quest debug") + " - Hurnscald";
+ mes l("This menu gives access to quest debug menus for @@ quests.", "Hurnscald");
+ next;
+ mes l("Please select a quest:");
+
+ menuint
+ menuimage("actions/back", l("Go back")), -1,
+ "Hinnak", HurnscaldQuests_Hinnak,
+ l("Maggot soup"), HurnscaldQuests_Soup,
+ l("Inspector"), HurnscaldQuests_Inspector,
+ l("Forest bow"), HurnscaldQuests_ForestBow,
+ l("Wooden shield"), HurnscaldQuests_WoodenShield;
+
+ switch (@menuret)
+ {
+ case -1: return;
+ default: callfunc "QuestDebug" + @menuret;
+ }
+ } while (1);
+ }
+
function qDebugGeneral {
do
{
@@ -125,6 +150,7 @@ function script GlobalQuestDebug {
select
l("Prologue"),
"Artis",
+ "Hurnscald",
l("Other"),
rif(getarg(0,0), menuimage("actions/back", l("Return to Debug menu")));
@@ -132,8 +158,9 @@ function script GlobalQuestDebug {
{
case 1: qDebugShip; break;
case 2: qDebugArtis; break;
- case 3: qDebugGeneral; break;
- case 4: return;
+ case 3: qDebugHurnscald; break;
+ case 4: qDebugGeneral; break;
+ case 5: return;
}
} while (1);
}