From 7e6d1a6e03052a08fd80ad2589295236ba40a3f1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Dec 2014 19:31:54 +0300 Subject: 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. --- src/input/inputactionmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/input/inputactionmap.h') 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 -- cgit v1.2.3-60-g2f50