From ed90e9aa17a5135988a1a85f159c1556f7d84bd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 18:41:46 +0300 Subject: Add chat command /showinventory. Also add show inventory to player context menu. --- src/input/inputactionmap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 698ce7765..c91321f3d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5311,6 +5311,12 @@ static const InputActionData inputActionData "showcart|cartlist", UseArgs_true, Protected_true}, + {"keyCommandShowInventoryList", + defaultAction(&Actions::commandShowInventory), + InputCondition::INGAME, + "showinventory|inventorylist|itemlist", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-60-g2f50