summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 12:59:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 12:59:13 +0300
commitbe1dd6434f993fba9e944cda9e83e0fae32e8c14 (patch)
treef715ca182a8339a775994cbdaa293e24d5e88e63 /src/input/inputactionmap.h
parent41eff7ceed25a056ea5d9bec0ae11194132a6d08 (diff)
downloadmv-be1dd6434f993fba9e944cda9e83e0fae32e8c14.tar.gz
mv-be1dd6434f993fba9e944cda9e83e0fae32e8c14.tar.bz2
mv-be1dd6434f993fba9e944cda9e83e0fae32e8c14.tar.xz
mv-be1dd6434f993fba9e944cda9e83e0fae32e8c14.zip
Add chat command for drop item by inventory index.
New chat command: /dropinv INDEX
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 3b0854cfc..7859808b5 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4261,6 +4261,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"dropitemall",
true},
+ {"keyDropInv",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::dropItemInv,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "dropinv",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H