summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 19:31:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 19:36:23 +0300
commit7e6d1a6e03052a08fd80ad2589295236ba40a3f1 (patch)
tree48090a0feded08f3911fbce4f840c78df1c54541 /src/input/inputactionmap.h
parenta3b7888017c387d14e33a2021ed85927b78b776b (diff)
downloadplus-7e6d1a6e03052a08fd80ad2589295236ba40a3f1.tar.gz
plus-7e6d1a6e03052a08fd80ad2589295236ba40a3f1.tar.bz2
plus-7e6d1a6e03052a08fd80ad2589295236ba40a3f1.tar.xz
plus-7e6d1a6e03052a08fd80ad2589295236ba40a3f1.zip
Add chat command for move item from storage to inventory.
New chat command: /storagetoinv INDEX AMOUNT Alias: /storageinv INDEX AMOUNT This command accept ammount if format like /invtostorage.
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 26b77a03b..183bb3b6e 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4306,6 +4306,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"tradeadd|addtrade",
true},
+ {"keyStorageToInv",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::storageToInv,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "storagetoinv|storageinv",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H