From e36c735ce6569cd9c0e668632e59bcbe3280d507 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Jul 2013 20:49:20 +0300 Subject: Add chat command for gms for creating items. New command: /createitems It will open creation window. --- src/commands.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commands.h') diff --git a/src/commands.h b/src/commands.h index 4b0e2a0f8..933b5a918 100644 --- a/src/commands.h +++ b/src/commands.h @@ -124,6 +124,7 @@ namespace Commands decHandler(disableAway); decHandler(enableAway); decHandler(testParticle); + decHandler(createItems); void replaceVars(std::string &str); } // namespace Commands @@ -215,6 +216,7 @@ enum COMMAND_SETHOME, COMMAND_MAGICATTACK, COMMAND_TEST_PARTICLE, + COMMAND_CREATEITEMS, COMMAND_HACK, END_COMMANDS }; @@ -306,6 +308,7 @@ static const CommandInfo commands[] = {"sethome", nullptr, Input::KEY_SET_HOME, false}, {"magicattack", nullptr, Input::KEY_MAGIC_ATTACK, false}, {"testparticle", &Commands::testParticle, -1, true}, + {"createitems", &Commands::createItems, -1, false}, {"hack", &Commands::hack, -1, true} }; -- cgit v1.2.3-60-g2f50