From dff25ba3ef8724b4f26f978df27dec1e337ce23c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Dec 2014 15:11:52 +0300 Subject: Add chat command for move all except 1 items from inventory to storage. New command: /invtostorageall1 INDEX Alias: /invstorageall1 INDEX --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 2cbfe8ab1..044df1ab1 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -508,6 +508,7 @@ namespace InputAction INV_TO_STORAGE, INV_TO_STORAGE_10, INV_TO_STORAGE_HALF, + INV_TO_STORAGE_ALL_1, TOTAL }; } // namespace InputAction 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 -- cgit v1.2.3-70-g09d2