summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 14:49:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 14:49:52 +0300
commit5abccb73361a7133b0aa73fe845e8945ebf37964 (patch)
treecd95eaba3b9f0f18aca397a064e8aa7cc3607da6 /src/input
parent85f443c2a92d1e148f3fa2b674bfcf0546642245 (diff)
downloadplus-5abccb73361a7133b0aa73fe845e8945ebf37964.tar.gz
plus-5abccb73361a7133b0aa73fe845e8945ebf37964.tar.bz2
plus-5abccb73361a7133b0aa73fe845e8945ebf37964.tar.xz
plus-5abccb73361a7133b0aa73fe845e8945ebf37964.zip
Add chat command for move 10 items from inventory to storage.
New command: /invtostorage10 INDEX Alias: /invstorage10 INDEX
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index dc63508d3..774053226 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -506,6 +506,7 @@ namespace InputAction
DROP_INV_ALL,
USE_INV,
INV_TO_STORAGE,
+ INV_TO_STORAGE_10,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index b23032728..794fcb97d 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4297,6 +4297,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"invtostorage|invstorage",
true},
+ {"keyInvToStorage10",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::invToStorage10,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "invtostorage10|invstorage10",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H