blob: 8bb9350a73adc002965a99d2569ddcee8d90a1fd (
plain) (
tree)
|
|
// all-in-one debug
// author: meko
function|script|SuperDebug
{
goto L_Main;
L_Main:
mes "[Numa]";
mes "How may I help you?";
next;
menu
"Announcements", L_StoneBoard,
"Holiday debug", L_Holiday,
"Event debug", L_Event;
// todo: generic npcs (in a future PR)
// todo: map list (in a future PR)
// todo: quest log debug (in a future PR)
L_Holiday:
if(getgmlevel() < 40) goto L_GM;
mes "[Numa]";
mes "What holiday do you want to debug?";
next;
menu
"Xmas.", L_XmasDebug,
"Halloween.", L_HalloweenDebug;
L_XmasDebug:
callfunc "XmasDebug";
end;
L_HalloweenDebug:
callfunc "HalloweenDebug";
end;
L_Event:
if(getgmlevel() < 60) goto L_GM;
callfunc "GmDebug";
close;
L_StoneBoard:
if (getgmlevel() < 30) goto L_GM;
callfunc "SBConfig";
close;
L_GM:
mes "[Numa]";
mes "I'm awfully sorry.";
mes "You do not have the required GM level to perform this action.";
close;
}
|