summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 15:18:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 15:18:05 +0300
commit753efae71d14bfcb3b36abb1a1455c1c4bd7e4a8 (patch)
treed3321a2cd80f0a89b7422ab6d71188f90608d3b9 /src/input
parentf473ddfdd2a576036d57b05640bd91dcced4bdbf (diff)
downloadManaVerse-753efae71d14bfcb3b36abb1a1455c1c4bd7e4a8.tar.gz
ManaVerse-753efae71d14bfcb3b36abb1a1455c1c4bd7e4a8.tar.bz2
ManaVerse-753efae71d14bfcb3b36abb1a1455c1c4bd7e4a8.tar.xz
ManaVerse-753efae71d14bfcb3b36abb1a1455c1c4bd7e4a8.zip
Add chat command for move all items from inventory to storage.
New command: /invtostorageall INDEX Alias: /invstorageall 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 044df1ab1..f5c4c927f 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -509,6 +509,7 @@ namespace InputAction
INV_TO_STORAGE_10,
INV_TO_STORAGE_HALF,
INV_TO_STORAGE_ALL_1,
+ INV_TO_STORAGE_ALL,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index f8427e397..a96353857 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4324,6 +4324,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"invtostorageall1|invstorageall1",
true},
+ {"keyInvToStorageAll",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::invToStorageAll,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "invtostorageall|invstorageall",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H