From 498eb532209e476e250b7b3e817533008faa85b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Jan 2016 18:07:33 +0300 Subject: Add chat commands for add/remove/ignore pickups. --- src/input/inputactionmap.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 0f47fe638..586557c0e 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5203,6 +5203,24 @@ static const InputActionData inputActionData "npcclipboard", UseArgs_true, Protected_true}, + {"keyAddPickup", + defaultAction(&Actions::addPickup), + InputCondition::INGAME, + "addpickup|pickupadd", + UseArgs_true, + Protected_true}, + {"keyRemovePickup", + defaultAction(&Actions::removePickup), + InputCondition::INGAME, + "removepickup|pickupremove", + UseArgs_true, + Protected_true}, + {"keyIgnorePickup", + defaultAction(&Actions::ignorePickup), + InputCondition::INGAME, + "ignorepickup|pickupignore", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2