summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 15:00:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 15:00:41 +0300
commitb002d846243676990503aa0fa7c220e8a8e66de2 (patch)
treea451b3fe5157d01d657e92a1a06c8aa03b407b70 /src/input/inputactionmap.h
parent9b4893583faada67faa7df938a35367328939a8f (diff)
downloadmanaverse-b002d846243676990503aa0fa7c220e8a8e66de2.tar.gz
manaverse-b002d846243676990503aa0fa7c220e8a8e66de2.tar.bz2
manaverse-b002d846243676990503aa0fa7c220e8a8e66de2.tar.xz
manaverse-b002d846243676990503aa0fa7c220e8a8e66de2.zip
Add chat command for move half items from inventory to storage.
New command: /invtostoragehalf INDEX Alias: /invstoragehalf 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 794fcb97d..03a199e38 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4306,6 +4306,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"invtostorage10|invstorage10",
true},
+ {"keyInvToStorageHalf",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::invToStorageHalf,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "invtostoragehalf|invstoragehalf",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H