summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-31 16:55:31 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-31 16:55:31 -0300
commit10f9b232849b89085bbeb24cf2983177e4e9fcd0 (patch)
tree8c331b936bb0b43f3b65fb1e03399df6ca6dbe71 /npc
parent02f9f13bda976e9afd38436ef56c2a81d09ef9fe (diff)
downloadserverdata-10f9b232849b89085bbeb24cf2983177e4e9fcd0.tar.gz
serverdata-10f9b232849b89085bbeb24cf2983177e4e9fcd0.tar.bz2
serverdata-10f9b232849b89085bbeb24cf2983177e4e9fcd0.tar.xz
serverdata-10f9b232849b89085bbeb24cf2983177e4e9fcd0.zip
Remove now entirely unused file
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/quest-debug/functions.txt76
-rw-r--r--npc/scripts.conf3
2 files changed, 0 insertions, 79 deletions
diff --git a/npc/functions/quest-debug/functions.txt b/npc/functions/quest-debug/functions.txt
deleted file mode 100644
index 9dd057ad6..000000000
--- a/npc/functions/quest-debug/functions.txt
+++ /dev/null
@@ -1,76 +0,0 @@
-// Evol functions.
-// Author:
-// gumi
-// Description:
-// generic quest debug functions
-
-
-
-// GenericQuestDebug
-// makes a generic quest debug menu for the given quest when the server
-// is in debug mode.
-
-function script GenericQuestDebug {
- if (!debug && !is_admin())
- {
- select
- l("Go back");
-
- @menuret = -0x7FFFFFFF;
- return 1;
- }
-
- mes l("Choose desired quest state:");
-
- deletearray .@vals;
- .@menustr$ = menuimage("actions/abort", l("Do nothing")) + ":";
- .@vals[0] = -0x7FFFFFFF;
- .@cnt = 1;
-
- for (.@f = 1; .@f < getargcount(); .@f += 2)
- {
- if (getarg(.@f) != "")
- {
- .@qv = getarg(.@f + 1);
- .@s$ = menuimage("actions/" + (.@qv ? "edit" : "reset"), "[" + .@qv + "] " + getarg(.@f));
- .@menustr$ += (.@qv < 0 ? getarg(.@f) : .@s$) + ":";
- .@vals[.@cnt] = .@qv;
- ++.@cnt;
- }
- }
-
- if (is_admin())
- {
- .@menustr$ += menuimage("actions/nuke", l("Set state manually"));
- .@vals[.@cnt] = -0x7FFFFFFE;
- }
-
-
- @menu = 255;
- @menuret = -1;
- select(.@menustr$);
- if (@menu == 255)
- return -1;
-
- --@menu;
- if (@menu < 0 || @menu >= getarraysize(.@vals))
- return -1;
-
- @menuret = .@vals[@menu];
-
- switch (@menuret)
- {
- case -0x7FFFFFFE: input @menuret; setq getarg(0,0), @menuret;
- case -0x7FFFFFFF: return 1;
- }
-
- if (@menuret >= 0)
- {
- setq getarg(0,0), @menuret;
- }
- return;
-}
-
-
-
-
diff --git a/npc/scripts.conf b/npc/scripts.conf
index 369bfaa38..73ea1e971 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -46,9 +46,6 @@
"npc/functions/shops.txt",
"npc/functions/soul_menhir.txt",
-// quest debug
-"npc/functions/quest-debug/functions.txt",
-
// Item functions
"npc/items/books.txt",
"npc/items/croconut.txt",