diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 18:07:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 18:17:32 +0300 |
commit | 498eb532209e476e250b7b3e817533008faa85b2 (patch) | |
tree | ee4bb05a18656d5836b4340c5a9cedb2cbb92a86 /src/input | |
parent | c34858a4c7889483a8775c65c9bd1f357bca2572 (diff) | |
download | manaplus-498eb532209e476e250b7b3e817533008faa85b2.tar.gz manaplus-498eb532209e476e250b7b3e817533008faa85b2.tar.bz2 manaplus-498eb532209e476e250b7b3e817533008faa85b2.tar.xz manaplus-498eb532209e476e250b7b3e817533008faa85b2.zip |
Add chat commands for add/remove/ignore pickups.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 18 |
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 |