summaryrefslogtreecommitdiff
path: root/npc/commands/numa.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 03:00:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 03:00:20 -0300
commitba1e827b6b4c17c35a163e6b55be8c122de632b8 (patch)
tree819f93d0ffee3697e336471710afb9681f0b8d86 /npc/commands/numa.txt
parent6e7f3113c0faad9edd4367d100ba9dd77e8d3130 (diff)
downloadserverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.gz
serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.bz2
serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.xz
serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.zip
Add several convenience functions. Fix some bugs regarding misuse of readparam()
Diffstat (limited to 'npc/commands/numa.txt')
-rwxr-xr-xnpc/commands/numa.txt43
1 files changed, 5 insertions, 38 deletions
diff --git a/npc/commands/numa.txt b/npc/commands/numa.txt
index 92cd5c9d..b8b0a924 100755
--- a/npc/commands/numa.txt
+++ b/npc/commands/numa.txt
@@ -1,8 +1,8 @@
- script SuperDebug NPC32767,{
if (GM < MAP_LOUNGE && GM < G_SYSOP && !debug) goto L_GM2; // make sure you can enter the gm lounge
- if (target(BL_ID,getnpcid("Numa"),1)) goto L_Main;
- npcaction 6, 12;
+ //if (target(BL_ID,getnpcid("Numa"),1)) goto L_Main;
+ //npcaction 6, 12;
title "Numa";
goto L_Main;
@@ -78,51 +78,18 @@ L_GM:
goto L_close;
L_Quest:
- callfunc "QuestDebug";
+ callfunc "GlobalQuestDebug";
goto L_close;
L_close:
close;
OnInit:
- registercmd chr(ATCMD_SYMBOL) + "numa", strnpcinfo(0);
- registercmd chr(ATCMD_SYMBOL) + "superdebug", strnpcinfo(0);
+ registercmd "numa", strnpcinfo(0);
+ registercmd "superdebug", strnpcinfo(0);
end;
}
017-9,30,28,0 duplicate(SuperDebug) Numa NPC393
-function script QuestDebug {
- goto L_ChooseContinent;
-L_ChooseContinent:
- mes "Choose a continent.";
- next;
- menu
- "Argeas", L_Argeas,
- "Close", L_Return;
-
-L_Argeas:
- mes "Choose an area.";
- next;
- menu
- "Woodland", L_Woodland,
- "Choose a continent", L_ChooseContinent,
- "Close", L_Return;
-
-L_Woodland:
- mes "Choose a quest.";
- next;
- menu
- "Illia Sisters", L_Valia,
- "Choose an area", L_Argeas,
- "Close", L_Return;
-
-L_Return:
- return;
-
-
-L_Valia:
- callfunc "IlliaDebug";
- goto L_Return;
-}