summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 18:07:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 18:17:32 +0300
commit498eb532209e476e250b7b3e817533008faa85b2 (patch)
treeee4bb05a18656d5836b4340c5a9cedb2cbb92a86 /src/input
parentc34858a4c7889483a8775c65c9bd1f357bca2572 (diff)
downloadmanaverse-498eb532209e476e250b7b3e817533008faa85b2.tar.gz
manaverse-498eb532209e476e250b7b3e817533008faa85b2.tar.bz2
manaverse-498eb532209e476e250b7b3e817533008faa85b2.tar.xz
manaverse-498eb532209e476e250b7b3e817533008faa85b2.zip
Add chat commands for add/remove/ignore pickups.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h18
1 files changed, 18 insertions, 0 deletions
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