From f5c0cbcdf39a519b8e8bef4d5075e0e23613d5e9 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Wed, 15 Jan 2020 19:21:28 +0200 Subject: [PATCH] Changed: Also show item parts quantity on craft sbrick info window --- code/ryzom/client/src/interface_v3/action_handler_help.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/action_handler_help.cpp b/code/ryzom/client/src/interface_v3/action_handler_help.cpp index 43797b960..ac1480e0c 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_help.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_help.cpp @@ -3053,7 +3053,7 @@ void getSabrinaBrickText(CSBrickSheet *pBR, ucstring &brickText) // Display the part this slot build. mpInfo+= "@{T4}"; - mpInfo+= RM_FABER_TYPE::toLocalString(mpSlot.FaberTypeFilter); + mpInfo+= toString("%dx ", mpSlot.Quantity) + RM_FABER_TYPE::toLocalString(mpSlot.FaberTypeFilter); mpInfo+= "\n"; } // replace in brickText @@ -3074,7 +3074,7 @@ void getSabrinaBrickText(CSBrickSheet *pBR, ucstring &brickText) // Display the required item mpInfo+= "@{T4}"; - mpInfo+= STRING_MANAGER::CStringManagerClient::getItemLocalizedName(mpSlot.ItemRequired); + mpInfo+= toString("%dx ", mpSlot.Quantity) + STRING_MANAGER::CStringManagerClient::getItemLocalizedName(mpSlot.ItemRequired); mpInfo+= "\n"; } // replace in brickText