summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 21:52:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 21:52:25 +0300
commitd601630f26cd1043f5f2467757093f54c6269158 (patch)
tree7f0a06605e252023ac731d90784c95068e7629a8 /src/input/inputactionmap.h
parentd88da4d367b40261889afd41779cd029587bacfa (diff)
downloadmanaverse-d601630f26cd1043f5f2467757093f54c6269158.tar.gz
manaverse-d601630f26cd1043f5f2467757093f54c6269158.tar.bz2
manaverse-d601630f26cd1043f5f2467757093f54c6269158.tar.xz
manaverse-d601630f26cd1043f5f2467757093f54c6269158.zip
Add chat command for unprotect item.
New chat command: /unprotectitem ID Alias: /itemunprotect ID
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index ab2a8ea29..146ecba1c 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4324,6 +4324,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"protectitem|itemprotect",
true},
+ {"keyUnProtectItem",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::unprotectItem,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "unprotectitem|itemunprotect",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H