summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-09 15:22:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-09 15:22:23 +0300
commit7dcc42c841005c5e475bfcb37e78bc7bc15b4a9d (patch)
treedf944f29b257ebc695ca2f21b663ef57b120aab9 /src/input/inputactionmap.h
parent4a6ffbd08067b64143e0535518a3822953943d80 (diff)
downloadplus-7dcc42c841005c5e475bfcb37e78bc7bc15b4a9d.tar.gz
plus-7dcc42c841005c5e475bfcb37e78bc7bc15b4a9d.tar.bz2
plus-7dcc42c841005c5e475bfcb37e78bc7bc15b4a9d.tar.xz
plus-7dcc42c841005c5e475bfcb37e78bc7bc15b4a9d.zip
Add sell action.
New chat command: /sell [name]
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 2a8904503..f4579881c 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4162,6 +4162,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::GAME,
"buy",
false},
+ {"keySell",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::sell,
+ InputAction::NO_VALUE, 50,
+ InputCondition::GAME,
+ "sell",
+ false},
};
#endif // INPUT_INPUTACTIONMAP_H