diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-13 21:19:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-13 21:19:26 +0300 |
commit | ca333756a61de5af5d07614dbedc6195c2e78023 (patch) | |
tree | d85f67b43b02a5c6e068ffea50de5f37cc426171 /src/input/inputactionmap.h | |
parent | b2043642e62a5fe58c42ee07a25c41b4ef6b67cc (diff) | |
download | manaverse-ca333756a61de5af5d07614dbedc6195c2e78023.tar.gz manaverse-ca333756a61de5af5d07614dbedc6195c2e78023.tar.bz2 manaverse-ca333756a61de5af5d07614dbedc6195c2e78023.tar.xz manaverse-ca333756a61de5af5d07614dbedc6195c2e78023.zip |
Add chat command for protect item.
New chat command: /protectitem ID
Alias: /itemprotect 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 183bb3b6e..ab2a8ea29 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4315,6 +4315,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "storagetoinv|storageinv", true}, + {"keyProtectItem", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::protectItem, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "protectitem|itemprotect", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |