From b3aa83fd581ce624f50162e5c899ea05e77efd8f Mon Sep 17 00:00:00 2001 From: nimetu Date: Fri, 28 Jan 2022 19:08:33 +0200 Subject: [PATCH] Hide 1x quantity for tools aswell --- ryzom/client/src/interface_v3/dbctrl_sheet.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ryzom/client/src/interface_v3/dbctrl_sheet.cpp b/ryzom/client/src/interface_v3/dbctrl_sheet.cpp index 79dc78941..dd70c7ece 100644 --- a/ryzom/client/src/interface_v3/dbctrl_sheet.cpp +++ b/ryzom/client/src/interface_v3/dbctrl_sheet.cpp @@ -1418,6 +1418,10 @@ void CDBCtrlSheet::setupItem () case ITEMFAMILY::RANGE_WEAPON: case ITEMFAMILY::SHIELD: case ITEMFAMILY::JEWELRY: + case ITEMFAMILY::CRAFTING_TOOL: + case ITEMFAMILY::HARVEST_TOOL: + case ITEMFAMILY::TAMING_TOOL: + case ITEMFAMILY::TRAINING_TOOL: // hide 'x0' and 'x1' stack count for equipable items if (_DispQuantity < 2) _DispQuantity = -1;