From 1873a9bec687b0653a483f7bb46e513db5bc10f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Aug 2016 19:42:04 +0300 Subject: Add chat command for create items. (gm only) New chat command: /createitem id [, amount] --- src/input/inputactionmap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input') 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 -- cgit v1.2.3-60-g2f50