diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-11-30 20:20:41 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-12-03 11:53:11 -0500 |
commit | 9b38d8aad667af02b781b2d1df7fde466890de75 (patch) | |
tree | 4882a60f89a121643145aef264452b9cbf0754a6 /npc | |
parent | 110903fe80d5350fe65fc1a062240c1c1b3172ce (diff) | |
download | serverdata-9b38d8aad667af02b781b2d1df7fde466890de75.tar.gz serverdata-9b38d8aad667af02b781b2d1df7fde466890de75.tar.bz2 serverdata-9b38d8aad667af02b781b2d1df7fde466890de75.tar.xz serverdata-9b38d8aad667af02b781b2d1df7fde466890de75.zip |
add `create items` option to debug menu
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/debug.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index 306bed56..b3acad6c 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -100,6 +100,7 @@ function script GlobalDebugMenu { menuimage("actions/manage", l("Change my stats")), menuimage("actions/manage", l("Change my skills")), menuimage("actions/manage", l("Change my appearance")), + menuimage("actions/add", l("Create items")), menuimage("actions/edit", l("Change my quests")), menuimage("actions/reset", l("Reset")), rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))); @@ -112,9 +113,10 @@ function script GlobalDebugMenu { case 2: changeStats; break; case 3: GlobalSkillDebug .@c; break; case 4: BarberDebug .@c; break; - case 5: GlobalQuestDebug .@c; break; - case 6: resetAll; break; - case 7: return; + case 5: closedialog; clientcommand "createitems"; end; + case 6: GlobalQuestDebug .@c; break; + case 7: resetAll; break; + case 8: return; } } while(1); } |