diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-13 13:08:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-13 13:08:24 +0300 |
commit | 1a539c37caa6b20762e0cbf45351b9941669006f (patch) | |
tree | 36f325d2fec37c800e9d1d6340dcf04823cadb18 /src/input/inputactionmap.h | |
parent | 541874a24b10ce5db77a6ef2d952c0c4481af92a (diff) | |
download | mv-1a539c37caa6b20762e0cbf45351b9941669006f.tar.gz mv-1a539c37caa6b20762e0cbf45351b9941669006f.tar.bz2 mv-1a539c37caa6b20762e0cbf45351b9941669006f.tar.xz mv-1a539c37caa6b20762e0cbf45351b9941669006f.zip |
Add chat command for drop all item by inventory index.
New chat command: /dropinvall INDEX
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 7859808b5..e22b12021 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4270,6 +4270,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "dropinv", true}, + {"keyDropInvAll", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::dropItemInvAll, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "dropinvall", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |