summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index c0bc6b615..8e926b368 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -508,6 +508,7 @@ namespace InputAction
INV_TO_STORAGE,
TRADE_ADD,
STORAGE_TO_INV,
+ ITEM_PROTECT,
TOTAL
};
} // namespace InputAction
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