summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 15:37:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 15:37:21 +0300
commit57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f (patch)
tree2f83339787e953d762221737bb1dd4eeffa393f0 /src/input/inputactionmap.h
parent3a19b08078d42837126cc585d2a9b6f5f61b2c2b (diff)
downloadplus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.tar.gz
plus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.tar.bz2
plus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.tar.xz
plus-57ae5040b2f2fcaed6b80f5a10573a0abaccdf5f.zip
Add chat command for move selected item to craft slot.
New chat command: /craft SLOT
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h6
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