summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 18:28:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 18:28:40 +0300
commitbb604b783f5909d068ced29e17a698a37115ebb6 (patch)
tree9ffb791e7ede21177f5377ac18227f7596f7ccee /src/input/inputactionmap.h
parent7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4 (diff)
downloadplus-bb604b783f5909d068ced29e17a698a37115ebb6.tar.gz
plus-bb604b783f5909d068ced29e17a698a37115ebb6.tar.bz2
plus-bb604b783f5909d068ced29e17a698a37115ebb6.tar.xz
plus-bb604b783f5909d068ced29e17a698a37115ebb6.zip
Add chat command /showcart. Also add show cart to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 08976e9ea..698ce7765 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5299,12 +5299,18 @@ static const InputActionData inputActionData
"showstats|stats",
UseArgs_true,
Protected_true},
- {"keyCommandShowStorage",
+ {"keyCommandShowStorageList",
defaultAction(&Actions::commandShowStorage),
InputCondition::INGAME,
"showstorage|storagelist",
UseArgs_true,
Protected_true},
+ {"keyCommandShowCartList",
+ defaultAction(&Actions::commandShowCart),
+ InputCondition::INGAME,
+ "showcart|cartlist",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction