summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/debug-quest.txt104
-rw-r--r--npc/functions/quest-debug/000-ShipQuests_Julia.txt37
-rw-r--r--npc/functions/quest-debug/001-ShipQuests_Arpan.txt27
-rw-r--r--npc/functions/quest-debug/002-ShipQuests_Alige.txt27
-rw-r--r--npc/functions/quest-debug/003-ShipQuests_Peter.txt30
-rw-r--r--npc/functions/quest-debug/004-ShipQuests_Nard.txt38
-rw-r--r--npc/functions/quest-debug/005-ShipQuests_Knife.txt25
-rw-r--r--npc/functions/quest-debug/006-ShipQuests_ArpanMoney.txt26
-rw-r--r--npc/functions/quest-debug/007-ShipQuests_Door.txt25
-rw-r--r--npc/functions/quest-debug/008-ShipQuests_Couwan.txt26
-rw-r--r--npc/functions/quest-debug/009-ShipQuests_TreasureChest.txt25
-rw-r--r--npc/functions/quest-debug/010-ShipQuests_Ale.txt25
-rw-r--r--npc/functions/quest-debug/011-ShipQuests_Astapolos.txt25
-rw-r--r--npc/functions/quest-debug/012-ShipQuests_Gulukan.txt25
-rw-r--r--npc/functions/quest-debug/013-ShipQuests_Jalad.txt25
-rw-r--r--npc/functions/quest-debug/014-ShipQuests_QMuller.txt25
-rw-r--r--npc/functions/quest-debug/015-ShipQuests_Tibbo.txt25
-rw-r--r--npc/functions/quest-debug/016-ShipQuests_Gugli.txt48
-rw-r--r--npc/functions/quest-debug/017-ShipQuests_ChefGado.txt30
-rw-r--r--npc/functions/quest-debug/018-General_Cookies.txt25
-rw-r--r--npc/functions/quest-debug/019-ArtisQuests_LazyBrother.txt28
-rw-r--r--npc/functions/quest-debug/020-ArtisQuests_Urchin.txt26
-rw-r--r--npc/functions/quest-debug/021-ArtisQuests_CatchPiou.txt26
-rw-r--r--npc/functions/quest-debug/022-ArtisQuests_Fishman.txt26
-rw-r--r--npc/functions/quest-debug/023-ArtisQuests_QOnan.txt27
-rw-r--r--npc/functions/quest-debug/026-General_Rumly.txt27
-rw-r--r--npc/functions/quest-debug/027-ArtisQuests_Enora.txt49
-rw-r--r--npc/functions/quest-debug/028-General_Narrator.txt25
-rw-r--r--npc/functions/quest-debug/029-ArtisQuests_Fexil.txt27
-rw-r--r--npc/functions/quest-debug/030-ArtisQuests_Lloyd.txt25
-rw-r--r--npc/functions/quest-debug/031-General_Janus.txt31
-rw-r--r--npc/functions/quest-debug/032-ArtisQuests_MonaDad.txt25
-rw-r--r--npc/functions/quest-debug/033-Artis_Legion_Progress.txt30
-rw-r--r--npc/scripts.conf33
34 files changed, 3 insertions, 1045 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 6042dcf57..0da95f402 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -1,96 +1,6 @@
// TODO: This script must be auto-generated from db/quests.conf to be of any use
function script GlobalQuestDebug {
- function qDebugShip {
- function qDebugGugli {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug") + " - " + l("Prologue") + " - Gugli";
- mes l("This menu gives access to quest debug menus for @@ quest subquests.", "Gugli");
- next;
- mes l("Please select a quest:");
-
- menuint
- menuimage("actions/back", l("Go back")), -1,
- l("Gugli (main quest)"), ShipQuests_Gugli,
- "Ale", ShipQuests_Ale,
- "Astapolos", ShipQuests_Astapolos,
- "Gulukan", ShipQuests_Gulukan,
- "Jalad", ShipQuests_Jalad,
- "Q'Muller", ShipQuests_QMuller,
- "Tibbo", ShipQuests_Tibbo;
-
- switch (@menuret)
- {
- case -1: return;
- default: callfunc "QuestDebug" + @menuret;
- }
- } while (1);
- }
-
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug") + " - " + l("Prologue");
- mes l("This menu gives access to quest debug menus for @@ quests.", l("Prologue"));
- next;
- mes l("Please select a quest:");
-
- menuint
- menuimage("actions/back", l("Go back")), -1,
- "Julia", ShipQuests_Julia,
- "Arpan", ShipQuests_Arpan,
- "Alige", ShipQuests_Alige,
- "Peter", ShipQuests_Peter,
- "Nard", ShipQuests_Nard,
- l("Knife"), ShipQuests_Knife,
- l("Money"), ShipQuests_ArpanMoney,
- l("Door"), ShipQuests_Door,
- "Couwan", ShipQuests_Couwan,
- l("Treasure Chest"), ShipQuests_TreasureChest,
- "Gugli", ShipQuests_Gugli,
- "Gado", ShipQuests_ChefGado;
-
- switch (@menuret)
- {
- case 16: qDebugGugli; break;
- case -1: return;
- default: callfunc "QuestDebug" + @menuret;
- }
- } while (1);
- }
-
- function qDebugArtis {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug") + " - " + l("Artis");
- mes l("This menu gives access to quest debug menus for @@ quests.", "Artis");
- next;
- mes l("Please select a quest:");
-
- menuint
- menuimage("actions/back", l("Go back")), -1,
- l("Lazy Brother"), ArtisQuests_LazyBrother,
- l("Urchin"), ArtisQuests_Urchin,
- l("Catching a piou"), ArtisQuests_CatchPiou,
- "Eugene (" + l("fisherman") + ")", ArtisQuests_Fishman,
- "Q'Onan", ArtisQuests_QOnan,
- "Enora", ArtisQuests_Enora,
- "Fexil", ArtisQuests_Fexil,
- "Lloyd", ArtisQuests_Lloyd,
- l("Mona's dad"), ArtisQuests_MonaDad,
- l("Artis legion progress"), Artis_Legion_Progress;
-
- switch (@menuret)
- {
- case -1: return;
- default: callfunc "QuestDebug" + @menuret;
- }
- } while (1);
- }
-
function qDebugGeneral {
do
{
@@ -102,10 +12,6 @@ function script GlobalQuestDebug {
menuint
menuimage("actions/back", l("Go back")), -1,
- rif(1==2, l("Cookies")), General_Cookies,
- rif(1==2, "Rumly"), General_Rumly,
- rif(1==2, l("Narrator")), General_Narrator,
- rif(1==2, "Janus"), General_Janus,
l("Custom"), -136;
switch (@menuret)
@@ -121,7 +27,7 @@ function script GlobalQuestDebug {
setq .@quest, .@value;
return;
- default: callfunc "QuestDebug" + @menuret;
+ default: return;
}
} while (1);
}
@@ -135,17 +41,13 @@ function script GlobalQuestDebug {
mes l("Please select a category:");
select
- rif(1==2, l("Prologue")),
- rif(1==2, l("Artis")),
l("Other"),
rif(getarg(0,0), menuimage("actions/back", l("Return to Debug menu")));
switch (@menu)
{
- case 1: qDebugShip; break;
- case 2: qDebugArtis; break;
- case 3: qDebugGeneral; break;
- case 4: return;
+ case 1: qDebugGeneral; break;
+ default: return;
}
} while (1);
}
diff --git a/npc/functions/quest-debug/000-ShipQuests_Julia.txt b/npc/functions/quest-debug/000-ShipQuests_Julia.txt
deleted file mode 100644
index e4e0ec2cd..000000000
--- a/npc/functions/quest-debug/000-ShipQuests_Julia.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-// Julia quest debug
-// Author:
-// gumi
-
-function script QuestDebug0 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- 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;
-
- switch (@menuret)
- {
- case -1: callfunc "QuestDebug4"; break;
- case -2: callfunc "QuestDebug17"; break;
- case -3: callfunc "QuestDebug28"; break;
- default: if (@menuret < 0) return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/001-ShipQuests_Arpan.txt b/npc/functions/quest-debug/001-ShipQuests_Arpan.txt
deleted file mode 100644
index 26c496466..000000000
--- a/npc/functions/quest-debug/001-ShipQuests_Arpan.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-// Arpan quest debug
-// Author:
-// gumi
-
-function script QuestDebug1 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Arpan";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Arpan));
- next;
-
- GenericQuestDebug ShipQuests_Arpan,
- l("Arpan is waiting for you"), 0,
- l("Arpan told you to open the chest"), 1,
- l("You opened the chest"), 2,
- l("Completed"), 3;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/002-ShipQuests_Alige.txt b/npc/functions/quest-debug/002-ShipQuests_Alige.txt
deleted file mode 100644
index 36d0ce23e..000000000
--- a/npc/functions/quest-debug/002-ShipQuests_Alige.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-// Alige quest debug
-// Author:
-// gumi
-
-function script QuestDebug2 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Alige";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Alige));
- next;
-
- GenericQuestDebug ShipQuests_Alige,
- l("Does not have the quest"), 0,
- l("First encounter"), 1,
- l("Alige asks for food"), 2,
- l("Completed"), 3;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/003-ShipQuests_Peter.txt b/npc/functions/quest-debug/003-ShipQuests_Peter.txt
deleted file mode 100644
index e08e1eb24..000000000
--- a/npc/functions/quest-debug/003-ShipQuests_Peter.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-// Peter quest debug
-// Author:
-// gumi
-
-function script QuestDebug3 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Peter";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Peter));
- next;
-
- GenericQuestDebug ShipQuests_Peter,
- l("Does not have the quest"), 0,
- l("Peter needs help"), 6,
- l("Peter asks to kill rattos"), 1,
- l("Killed rattos"), 2,
- l("Got no reward"), 3,
- l("Peter asks to kill rattos again"), 4,
- l("Peter gave reward"), 5;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/004-ShipQuests_Nard.txt b/npc/functions/quest-debug/004-ShipQuests_Nard.txt
deleted file mode 100644
index 9ec51cd87..000000000
--- a/npc/functions/quest-debug/004-ShipQuests_Nard.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-// Nard quest debug
-// Author:
-// gumi
-
-function script QuestDebug4 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Nard";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Nard));
- mes "---";
- mes l("Subquests:");
- mes "ShipQuests_Gugli: " + getq(ShipQuests_Gugli);
- mes "ShipQuests_ChefGado: " + getq(ShipQuests_ChefGado);
- next;
-
- GenericQuestDebug ShipQuests_Nard,
- l("Does not have the quest"), 0,
- l("Nard asks to help crew"), 1,
- menuimage("actions/manage", l("Debug Gugli quest")), -1,
- l("Completed Gugli's task"), 2,
- l("Nard asks to solve conflict"), 3,
- menuimage("actions/manage", l("Debug Gado quest")), -2,
- l("Solved conflict"), 4,
- l("Official crew member"), 5,
- l("Talked to narrator"), 6;
-
- switch (@menuret)
- {
- case -1: callfunc "QuestDebug16"; break;
- case -2: callfunc "QuestDebug17"; break;
- default: if (@menuret < 0) return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/005-ShipQuests_Knife.txt b/npc/functions/quest-debug/005-ShipQuests_Knife.txt
deleted file mode 100644
index a5ec1ae86..000000000
--- a/npc/functions/quest-debug/005-ShipQuests_Knife.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Knife quest debug
-// Author:
-// gumi
-
-function script QuestDebug5 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Knife";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Knife));
- next;
-
- GenericQuestDebug ShipQuests_Knife,
- l("Does not have the quest"), 0,
- l("Got the knife"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/006-ShipQuests_ArpanMoney.txt b/npc/functions/quest-debug/006-ShipQuests_ArpanMoney.txt
deleted file mode 100644
index 00e2fbea8..000000000
--- a/npc/functions/quest-debug/006-ShipQuests_ArpanMoney.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-// Money quest debug
-// Author:
-// gumi
-
-function script QuestDebug6 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_ArpanMoney";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_ArpanMoney));
- next;
-
- GenericQuestDebug ShipQuests_ArpanMoney,
- l("Does not have the quest"), 0,
- l("Elmo told about money"), 1,
- l("Arpan gave money"), 2;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/007-ShipQuests_Door.txt b/npc/functions/quest-debug/007-ShipQuests_Door.txt
deleted file mode 100644
index 88aa00abe..000000000
--- a/npc/functions/quest-debug/007-ShipQuests_Door.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Door quest debug
-// Author:
-// gumi
-
-function script QuestDebug7 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Door";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Door));
- next;
-
- GenericQuestDebug ShipQuests_Door,
- l("Does not have the quest"), 0,
- l("Heard conversation"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/008-ShipQuests_Couwan.txt b/npc/functions/quest-debug/008-ShipQuests_Couwan.txt
deleted file mode 100644
index 3df0cdbf0..000000000
--- a/npc/functions/quest-debug/008-ShipQuests_Couwan.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-// Couwan quest debug
-// Author:
-// gumi
-
-function script QuestDebug8 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Couwan";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Couwan));
- next;
-
- GenericQuestDebug ShipQuests_Couwan,
- l("Does not have the quest"), 0,
- l("Couwan asks to deliver box"), 1,
- l("Delivered box, got reward"), 2;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/009-ShipQuests_TreasureChest.txt b/npc/functions/quest-debug/009-ShipQuests_TreasureChest.txt
deleted file mode 100644
index 97adef46f..000000000
--- a/npc/functions/quest-debug/009-ShipQuests_TreasureChest.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Treasure chest quest debug
-// Author:
-// gumi
-
-function script QuestDebug9 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_TreasureChest";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_TreasureChest));
- next;
-
- GenericQuestDebug ShipQuests_TreasureChest,
- l("Does not have the quest"), 0,
- l("Opened treasure chest"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/010-ShipQuests_Ale.txt b/npc/functions/quest-debug/010-ShipQuests_Ale.txt
deleted file mode 100644
index e54221224..000000000
--- a/npc/functions/quest-debug/010-ShipQuests_Ale.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug10 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Ale";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Ale));
- next;
-
- GenericQuestDebug ShipQuests_Ale,
- l("Does not have the quest"), 0,
- l("Got the package"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/011-ShipQuests_Astapolos.txt b/npc/functions/quest-debug/011-ShipQuests_Astapolos.txt
deleted file mode 100644
index aca065edb..000000000
--- a/npc/functions/quest-debug/011-ShipQuests_Astapolos.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug11 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Astapolos";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Astapolos));
- next;
-
- GenericQuestDebug ShipQuests_Astapolos,
- l("Does not have the quest"), 0,
- l("Got the package"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/012-ShipQuests_Gulukan.txt b/npc/functions/quest-debug/012-ShipQuests_Gulukan.txt
deleted file mode 100644
index fac7ccded..000000000
--- a/npc/functions/quest-debug/012-ShipQuests_Gulukan.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug12 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Gulukan";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Gulukan));
- next;
-
- GenericQuestDebug ShipQuests_Gulukan,
- l("Does not have the quest"), 0,
- l("Got the package"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/013-ShipQuests_Jalad.txt b/npc/functions/quest-debug/013-ShipQuests_Jalad.txt
deleted file mode 100644
index 9ae6ed2a2..000000000
--- a/npc/functions/quest-debug/013-ShipQuests_Jalad.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug13 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Jalad";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Jalad));
- next;
-
- GenericQuestDebug ShipQuests_Jalad,
- l("Does not have the quest"), 0,
- l("Got the package"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/014-ShipQuests_QMuller.txt b/npc/functions/quest-debug/014-ShipQuests_QMuller.txt
deleted file mode 100644
index 8a25ee653..000000000
--- a/npc/functions/quest-debug/014-ShipQuests_QMuller.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug14 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_QMuller";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_QMuller));
- next;
-
- GenericQuestDebug ShipQuests_QMuller,
- l("Does not have the quest"), 0,
- l("Got the package"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/015-ShipQuests_Tibbo.txt b/npc/functions/quest-debug/015-ShipQuests_Tibbo.txt
deleted file mode 100644
index 84280ebfe..000000000
--- a/npc/functions/quest-debug/015-ShipQuests_Tibbo.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug15 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Tibbo";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Tibbo));
- next;
-
- GenericQuestDebug ShipQuests_Tibbo,
- l("Does not have the quest"), 0,
- l("Got the package"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/016-ShipQuests_Gugli.txt b/npc/functions/quest-debug/016-ShipQuests_Gugli.txt
deleted file mode 100644
index e4868ff48..000000000
--- a/npc/functions/quest-debug/016-ShipQuests_Gugli.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-// Part of Gugli quest debug
-// Author:
-// gumi
-
-function script QuestDebug16 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_Gugli";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_Gugli));
- mes "---";
- mes l("Subquests:");
- mes "ShipQuests_Ale: " + getq(ShipQuests_Ale);
- mes "ShipQuests_Astapolos: " + getq(ShipQuests_Astapolos);
- mes "ShipQuests_Gulukan: " + getq(ShipQuests_Gulukan);
- mes "ShipQuests_Jalad: " + getq(ShipQuests_Jalad);
- mes "ShipQuests_QMuller: " + getq(ShipQuests_QMuller);
- mes "ShipQuests_Tibbo: " + getq(ShipQuests_Tibbo);
- next;
-
- GenericQuestDebug ShipQuests_Gugli,
- l("Does not have the quest"), 0,
- l("Gugli asks to collect packages"), 1,
- menuimage("actions/manage", l("Reset subquests")), -1,
- menuimage("actions/manage", l("Set subquests as completed")), -2,
- l("Got reward from gugli"), 2;
-
- switch (@menuret)
- {
- case 0:
- case 2:
- case -1:
- case -2:
- .@v = (@menuret == -2 || @menuret == 2);
- setq ShipQuests_Ale, .@v;
- setq ShipQuests_Astapolos, .@v;
- setq ShipQuests_Gulukan, .@v;
- setq ShipQuests_Jalad, .@v;
- setq ShipQuests_QMuller, .@v;
- setq ShipQuests_Tibbo, .@v;
- break;
- default: if (@menuret < 0) return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/017-ShipQuests_ChefGado.txt b/npc/functions/quest-debug/017-ShipQuests_ChefGado.txt
deleted file mode 100644
index 05e8cdb09..000000000
--- a/npc/functions/quest-debug/017-ShipQuests_ChefGado.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-// Gado quest debug
-// Author:
-// gumi
-
-function script QuestDebug17 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ShipQuests_ChefGado";
- mes "---";
- mes l("Quest state: @@", getq(ShipQuests_ChefGado));
- next;
-
- GenericQuestDebug ShipQuests_ChefGado,
- l("Does not have the quest"), 0,
- l("Nard asks to solve conflict"), 1,
- l("Got poison from Gado"), 2,
- l("Poisoned Julia"), 3,
- l("Completed, Gado wins"), 4,
- l("Completed, Julia wins (returned poison)"), 5,
- l("Completed, Julia wins"), 6;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/018-General_Cookies.txt b/npc/functions/quest-debug/018-General_Cookies.txt
deleted file mode 100644
index 16c7bcd75..000000000
--- a/npc/functions/quest-debug/018-General_Cookies.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Cookie quest debug
-// Author:
-// gumi
-
-function script QuestDebug18 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "General_Cookies";
- mes "---";
- mes l("Quest state: @@", getq(General_Cookies));
- next;
-
- GenericQuestDebug General_Cookies,
- l("Does not have the quest"), 0,
- l("Got a cookie"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/019-ArtisQuests_LazyBrother.txt b/npc/functions/quest-debug/019-ArtisQuests_LazyBrother.txt
deleted file mode 100644
index 41733adf8..000000000
--- a/npc/functions/quest-debug/019-ArtisQuests_LazyBrother.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-// Lazy brother quest debug
-// Author:
-// gumi
-
-function script QuestDebug19 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_LazyBrother";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_LazyBrother));
- next;
-
- GenericQuestDebug ArtisQuests_LazyBrother,
- l("Does not have the quest"), 0,
- l("Katja asked for help"), 1,
- l("Found bobo, didn't tell Katja"), 2,
- l("Told bobo to go home"), 3,
- l("Katja gave reward"), 4;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/020-ArtisQuests_Urchin.txt b/npc/functions/quest-debug/020-ArtisQuests_Urchin.txt
deleted file mode 100644
index 3a092e478..000000000
--- a/npc/functions/quest-debug/020-ArtisQuests_Urchin.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-// Urchin quest debug
-// Author:
-// gumi
-
-function script QuestDebug20 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_Urchin";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_Urchin));
- next;
-
- GenericQuestDebug ArtisQuests_Urchin,
- l("Does not have the quest"), 0,
- l("Moon needs @@", l("Croc Claw")), 1,
- l("Found @@, got exp", l("Croc Claw")), 2;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/021-ArtisQuests_CatchPiou.txt b/npc/functions/quest-debug/021-ArtisQuests_CatchPiou.txt
deleted file mode 100644
index f9c45339e..000000000
--- a/npc/functions/quest-debug/021-ArtisQuests_CatchPiou.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-// Piou quest debug
-// Author:
-// gumi
-
-function script QuestDebug21 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_CatchPiou";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_CatchPiou));
- next;
-
- GenericQuestDebug ArtisQuests_CatchPiou,
- l("Does not have the quest"), 0,
- l("Salem asks to catch piou"), 1,
- l("Returned piou to Salem"), 2;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/022-ArtisQuests_Fishman.txt b/npc/functions/quest-debug/022-ArtisQuests_Fishman.txt
deleted file mode 100644
index 0a193e6fe..000000000
--- a/npc/functions/quest-debug/022-ArtisQuests_Fishman.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-// Eugene quest debug
-// Author:
-// gumi
-
-function script QuestDebug22 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_Fishman";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_Fishman));
- next;
-
- GenericQuestDebug ArtisQuests_Fishman,
- l("Does not have the quest"), 0,
- l("Eugene needs tentacles"), 1,
- l("Gave tentacles, got reward"), 2;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/023-ArtisQuests_QOnan.txt b/npc/functions/quest-debug/023-ArtisQuests_QOnan.txt
deleted file mode 100644
index 02eaa8f60..000000000
--- a/npc/functions/quest-debug/023-ArtisQuests_QOnan.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-// Q'Onan quest debug
-// Author:
-// gumi
-
-function script QuestDebug23 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_QOnan";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_QOnan));
- next;
-
- GenericQuestDebug ArtisQuests_QOnan,
- l("Does not have the quest"), 0,
- l("Q'Onan asks to find chest"), 1,
- l("Found the chest"), 2,
- l("Gave to Q'Onan, got reward"), 3;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/026-General_Rumly.txt b/npc/functions/quest-debug/026-General_Rumly.txt
deleted file mode 100644
index c533c27a0..000000000
--- a/npc/functions/quest-debug/026-General_Rumly.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-// Rumly quest debug
-// Author:
-// gumi
-
-function script QuestDebug26 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "General_Rumly";
- mes "---";
- mes l("Quest state: @@", getq(General_Rumly));
- next;
-
- GenericQuestDebug General_Rumly,
- l("Does not have the quest"), 0,
- l("Rumly needs your help"), 1,
- l("Rumly wants @@", l("Plushroom")), 2,
- l("Gave @@ to Rumly", l("Plushroom")), 3;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/027-ArtisQuests_Enora.txt b/npc/functions/quest-debug/027-ArtisQuests_Enora.txt
deleted file mode 100644
index 9121ceb30..000000000
--- a/npc/functions/quest-debug/027-ArtisQuests_Enora.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-// Newbie quest debug
-// Author:
-// gumi
-
-function script QuestDebug27 {
- do
- {
- clear();
- setnpcdialogtitle(l("Quest debug"));
- mes("ArtisQuests_Enora");
- mes("---");
- mes(l("Quest state: @@, @@",
- getq(ArtisQuests_Enora),
- getq2(ArtisQuests_Enora)));
- next();
-
- GenericQuestDebug(ArtisQuests_Enora,
- l("Does not have the quest"), 0,
- l("Enora asks to visit Chelios"), 1,
- l("Chelios asks to visit Lloyd"), 2,
- l("Lloyd gave package"), 3,
- l("Chelios made sword"), 4,
- l("Enora asks to visit Resa"), 5,
- l("Resa gave package"), 6,
- l("Enora asks to visit Q'Pid"), 7,
- l("Lost the riddle"), 8,
- l("Ivan gave package"), 9,
- l("Enora asks to kill fluffies"), 10,
- l("Completed, got reward"), 11);
-
- switch (@menuret)
- {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
- case 8:
- case 9:
- case 10: setq(ArtisQuests_Enora, getq(ArtisQuests_Enora), 0); break;
- case 11: setq(ArtisQuests_Enora, getq(ArtisQuests_Enora), 10); break;
- default: if (@menuret < 0) return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/028-General_Narrator.txt b/npc/functions/quest-debug/028-General_Narrator.txt
deleted file mode 100644
index 408668b7a..000000000
--- a/npc/functions/quest-debug/028-General_Narrator.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Narrator debug
-// Author:
-// gumi
-
-function script QuestDebug28 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "General_Narrator";
- mes "---";
- mes l("Quest state: @@", getq(General_Narrator));
- next;
-
- GenericQuestDebug General_Narrator,
- l("Game introduction"), 0,
- l("Visited Artis at least once"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/029-ArtisQuests_Fexil.txt b/npc/functions/quest-debug/029-ArtisQuests_Fexil.txt
deleted file mode 100644
index 9c0d7945d..000000000
--- a/npc/functions/quest-debug/029-ArtisQuests_Fexil.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-// Fexil quest debug
-// Author:
-// gumi
-
-function script QuestDebug29 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_Fexil";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_Fexil));
- next;
-
- GenericQuestDebug ArtisQuests_Fexil,
- l("Does not have the quest"), 0,
- l("Lloyd gave pass"), 1,
- l("Fexil needs help"), 2,
- l("Fexil wants to buy fur"), 3;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/030-ArtisQuests_Lloyd.txt b/npc/functions/quest-debug/030-ArtisQuests_Lloyd.txt
deleted file mode 100644
index 0afb019c8..000000000
--- a/npc/functions/quest-debug/030-ArtisQuests_Lloyd.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Lloyd quest debug
-// Author:
-// gumi
-
-function script QuestDebug30 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_Lloyd";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_Lloyd));
- next;
-
- GenericQuestDebug ArtisQuests_Lloyd,
- l("Does not have the quest"), 0,
- l("Registered"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/031-General_Janus.txt b/npc/functions/quest-debug/031-General_Janus.txt
deleted file mode 100644
index f97b4fbeb..000000000
--- a/npc/functions/quest-debug/031-General_Janus.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-// Janus quest debug
-// Author:
-// gumi
-
-function script QuestDebug31 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "General_Janus";
- mes "---";
- mes l("Quest state: @@", getq(General_Janus));
- next;
-
- GenericQuestDebug General_Janus,
- l("Does not have the quest"), 0,
- l("Talked to Janus"), 1,
- l("Can create party"), 2,
- l("Can create guild"), 3;
-
- switch (@menuret)
- {
- case 0:
- case 1: skill NV_BASIC, min(6, getskilllv(NV_BASIC)), 0; break;
- case 2:
- case 3: skill NV_BASIC, max(7, getskilllv(NV_BASIC)), 0; break;
- default: if (@menuret < 0) return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/032-ArtisQuests_MonaDad.txt b/npc/functions/quest-debug/032-ArtisQuests_MonaDad.txt
deleted file mode 100644
index 68ba67fe9..000000000
--- a/npc/functions/quest-debug/032-ArtisQuests_MonaDad.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-// Mona quest debug
-// Author:
-// gumi
-
-function script QuestDebug32 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "ArtisQuests_MonaDad";
- mes "---";
- mes l("Quest state: @@", getq(ArtisQuests_MonaDad));
- next;
-
- GenericQuestDebug ArtisQuests_MonaDad,
- l("Does not have the quest"), 0,
- l("Mona's dad is missing"), 1;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/functions/quest-debug/033-Artis_Legion_Progress.txt b/npc/functions/quest-debug/033-Artis_Legion_Progress.txt
deleted file mode 100644
index c4ea5558a..000000000
--- a/npc/functions/quest-debug/033-Artis_Legion_Progress.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-// Mona quest debug
-// Authors:
-// gumi
-// monwarez
-
-function script QuestDebug33 {
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes "Artis_Legion_Progress";
- mes "---";
- mes l("Quest state: @@", getq(Artis_Legion_Progress));
- next;
-
- GenericQuestDebug Artis_Legion_Progress,
- l("Does not have the quest"), 0,
- l("Sent to training"), 1,
- l("Finished training"), 2,
- l("Sent to battle"), 3,
- l("Finished battle"), 4,
- l("Sent to Q'Anon"), 5;
-
- if (@menuret < 0)
- {
- return;
- }
-
- } while (1);
-}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 468f39d03..ad1f8d70e 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -48,39 +48,6 @@
// quest debug
"npc/functions/quest-debug/functions.txt",
-"npc/functions/quest-debug/000-ShipQuests_Julia.txt",
-"npc/functions/quest-debug/001-ShipQuests_Arpan.txt",
-"npc/functions/quest-debug/002-ShipQuests_Alige.txt",
-"npc/functions/quest-debug/003-ShipQuests_Peter.txt",
-"npc/functions/quest-debug/004-ShipQuests_Nard.txt",
-"npc/functions/quest-debug/005-ShipQuests_Knife.txt",
-"npc/functions/quest-debug/006-ShipQuests_ArpanMoney.txt",
-"npc/functions/quest-debug/007-ShipQuests_Door.txt",
-"npc/functions/quest-debug/009-ShipQuests_TreasureChest.txt",
-"npc/functions/quest-debug/010-ShipQuests_Ale.txt",
-"npc/functions/quest-debug/011-ShipQuests_Astapolos.txt",
-"npc/functions/quest-debug/012-ShipQuests_Gulukan.txt",
-"npc/functions/quest-debug/013-ShipQuests_Jalad.txt",
-"npc/functions/quest-debug/014-ShipQuests_QMuller.txt",
-"npc/functions/quest-debug/015-ShipQuests_Tibbo.txt",
-"npc/functions/quest-debug/016-ShipQuests_Gugli.txt",
-"npc/functions/quest-debug/017-ShipQuests_ChefGado.txt",
-"npc/functions/quest-debug/018-General_Cookies.txt",
-"npc/functions/quest-debug/019-ArtisQuests_LazyBrother.txt",
-"npc/functions/quest-debug/020-ArtisQuests_Urchin.txt",
-"npc/functions/quest-debug/021-ArtisQuests_CatchPiou.txt",
-"npc/functions/quest-debug/022-ArtisQuests_Fishman.txt",
-"npc/functions/quest-debug/023-ArtisQuests_QOnan.txt",
-// 24: quest removed (Halloween_VisitArtis)
-// 25: quest removed (Halloween_BarrelQuest)
-"npc/functions/quest-debug/026-General_Rumly.txt",
-"npc/functions/quest-debug/027-ArtisQuests_Enora.txt",
-"npc/functions/quest-debug/028-General_Narrator.txt",
-"npc/functions/quest-debug/029-ArtisQuests_Fexil.txt",
-"npc/functions/quest-debug/030-ArtisQuests_Lloyd.txt",
-"npc/functions/quest-debug/031-General_Janus.txt",
-"npc/functions/quest-debug/032-ArtisQuests_MonaDad.txt",
-"npc/functions/quest-debug/033-Artis_Legion_Progress.txt",
// Item functions
"npc/items/croconut.txt",