diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 15:37:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 15:37:21 +0300 |
commit | 57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f (patch) | |
tree | 2f83339787e953d762221737bb1dd4eeffa393f0 /src/input | |
parent | 3a19b08078d42837126cc585d2a9b6f5f61b2c2b (diff) | |
download | manaplus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.tar.gz manaplus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.tar.bz2 manaplus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.tar.xz manaplus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.zip |
Add chat command for move selected item to craft slot.
New chat command: /craft SLOT
Diffstat (limited to 'src/input')
-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 f76e8cb53..1daf6f856 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5185,6 +5185,12 @@ static const InputActionData inputActionData "", UseArgs_false, Protected_true}, + {"keyCraft", + defaultAction(&Actions::craft), + InputCondition::INGAME, + "craft", + UseArgs_true, + Protected_true}, }; #undef defaultAction |