diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-12 23:14:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-12 23:14:56 +0300 |
commit | 4825eb0b1c940f17925eb70fc0155abd4443d4f2 (patch) | |
tree | b2e1591fcf1a946c18a6a5bf72026bee4f582ca3 /src/input/inputactionmap.h | |
parent | 23a89c57cbd36922fbcb92affa9546955591e9db (diff) | |
download | mv-4825eb0b1c940f17925eb70fc0155abd4443d4f2.tar.gz mv-4825eb0b1c940f17925eb70fc0155abd4443d4f2.tar.bz2 mv-4825eb0b1c940f17925eb70fc0155abd4443d4f2.tar.xz mv-4825eb0b1c940f17925eb70fc0155abd4443d4f2.zip |
Add chat command for drop all items in stack with given id.
New chat command: /dropitemall ID
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 8515dad5b..3b0854cfc 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4252,6 +4252,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "dropitem", true}, + {"keyDropItemAll", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::dropItemIdAll, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "dropitemall", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |