summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2016-11-30 12:14:21 -0500
committergumi <mekolat@users.noreply.github.com>2016-12-03 10:49:18 -0500
commit2a8700db3680dd59363230e4fa43b5f33e712e04 (patch)
tree9eaf0e6fbf8bfd3be76e4dea43909e9db77f0532 /npc/functions
parentada214964dd25f8839f84934432f1be8318daa41 (diff)
downloadserverdata-2a8700db3680dd59363230e4fa43b5f33e712e04.tar.gz
serverdata-2a8700db3680dd59363230e4fa43b5f33e712e04.tar.bz2
serverdata-2a8700db3680dd59363230e4fa43b5f33e712e04.tar.xz
serverdata-2a8700db3680dd59363230e4fa43b5f33e712e04.zip
add related quests to Julia generic debug
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/quest-debug/000-ShipQuests_Julia.txt15
1 files changed, 13 insertions, 2 deletions
diff --git a/npc/functions/quest-debug/000-ShipQuests_Julia.txt b/npc/functions/quest-debug/000-ShipQuests_Julia.txt
index 17e36a69..13eea14d 100644
--- a/npc/functions/quest-debug/000-ShipQuests_Julia.txt
+++ b/npc/functions/quest-debug/000-ShipQuests_Julia.txt
@@ -10,16 +10,27 @@ function script QuestDebug0 {
mes "ShipQuests_Julia";
mes "---";
mes l("Quest state: @@", getq(ShipQuests_Julia));
+ mes "---";
+ mes l("Related quests:");
+ mes "ShipQuests_Nard: " + getq(ShipQuests_Nard);
+ mes "ShipQuests_ChefGado: " + getq(ShipQuests_ChefGado);
+ mes "General_Narrator: " + getq(General_Narrator);
next;
GenericQuestDebug ShipQuests_Julia,
+ menuimage("actions/manage", l("Debug Nard quest")), -1,
+ menuimage("actions/manage", l("Debug Gado quest")), -2,
+ menuimage("actions/manage", l("Debug Narrator")), -3,
l("Does not have the quest"), 0,
l("Got the quest"), 1,
l("Completed"), 2;
- if (@menuret < 0)
+ switch (@menuret)
{
- return;
+ case -1: callfunc "QuestDebug4"; break;
+ case -2: callfunc "QuestDebug17"; break;
+ case -3: callfunc "QuestDebug28"; break;
+ default: if (@menuret < 0) return;
}
} while (1);