summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/debug.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index f62b4a97..419b5742 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -643,6 +643,37 @@ OnInit:
bindatcmd "set-var", "Debug Spell::OnSetVar", 99, 99, 1;
bindatcmd "sclear", "Debug Spell::OnSClear", 99, 99, 1;
bindatcmd "allperms", "Debug Spell::OnAllPerms", 99, 100, 1;
+ // Setup debug server command overrides
+ if (debug) {
+ add_group_command("str", 0, true, false);
+ add_group_command("agi", 0, true, false);
+ add_group_command("vit", 0, true, false);
+ add_group_command("int", 0, true, false);
+ add_group_command("dex", 0, true, false);
+ add_group_command("luk", 0, true, false);
+ add_group_command("item", 0, true, false);
+ add_group_command("zeny", 0, true, false);
+ add_group_command("heal", 0, true, false);
+ add_group_command("alive", 0, true, false);
+ add_group_command("speed", 0, true, false);
+ add_group_command("storage", 0, true, false);
+ add_group_command("streset", 0, true, false);
+ add_group_command("monster", 0, true, false);
+ add_group_command("allstats", 0, true, false);
+ add_group_command("killmonster2", 0, true, false);
+ add_group_command("monsterignore", 0, true, false);
+
+ /* TODO: DEVs need some grants as well */
+ add_group_command("item", 40, true, true);
+ add_group_command("zeny", 40, true, true);
+ add_group_command("monster", 40, true, true);
+ add_group_command("killmonster2", 40, true, true);
+
+ add_group_command("item", 41, true, false);
+ add_group_command("zeny", 41, true, false);
+ add_group_command("monster", 41, true, false);
+ add_group_command("killmonster2", 41, true, false);
+ }
end;
}