summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 15:11:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 15:11:52 +0300
commitdff25ba3ef8724b4f26f978df27dec1e337ce23c (patch)
tree551e6347567274685513076252f2eb8ca8bdd923 /src/input/inputactionmap.h
parentf5d2d18e9d965e8341ee806293c4d5eb4963a019 (diff)
downloadmv-dff25ba3ef8724b4f26f978df27dec1e337ce23c.tar.gz
mv-dff25ba3ef8724b4f26f978df27dec1e337ce23c.tar.bz2
mv-dff25ba3ef8724b4f26f978df27dec1e337ce23c.tar.xz
mv-dff25ba3ef8724b4f26f978df27dec1e337ce23c.zip
Add chat command for move all except 1 items from inventory to storage.
New command: /invtostorageall1 INDEX Alias: /invstorageall1 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 03a199e38..f8427e397 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4315,6 +4315,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"invtostoragehalf|invstoragehalf",
true},
+ {"keyInvToStorageAll1",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::invToStorageAll1,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "invtostorageall1|invstorageall1",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H