diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-25 19:42:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-25 19:50:18 +0300 |
commit | 1873a9bec687b0653a483f7bb46e513db5bc10f0 (patch) | |
tree | f348c1924eb7f5e6b444c05384e458628bc86224 /src/input/inputactionmap.h | |
parent | fc52464414c7e77e77c3f08a089ad0ad5a350c71 (diff) | |
download | manaverse-1873a9bec687b0653a483f7bb46e513db5bc10f0.tar.gz manaverse-1873a9bec687b0653a483f7bb46e513db5bc10f0.tar.bz2 manaverse-1873a9bec687b0653a483f7bb46e513db5bc10f0.tar.xz manaverse-1873a9bec687b0653a483f7bb46e513db5bc10f0.zip |
Add chat command for create items. (gm only)
New chat command: /createitem id [, amount]
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index af6c8b151..7d8cc6a0b 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5594,6 +5594,12 @@ static const InputActionData inputActionData "autoitemshare|shareautoitem|itemautoshare", UseArgs_true, Protected_true}, + {"keyCreateItem", + defaultAction(&Actions::createItem), + InputCondition::INGAME, + "createitem", + UseArgs_true, + Protected_false}, }; #undef defaultAction |