From eb4f1aac92b42301fee56385085a4b3b0f53c3c7 Mon Sep 17 00:00:00 2001 From: Riasan Date: Sun, 5 Aug 2018 14:19:18 +0200 Subject: [PATCH] Added: display marauder (black_kami) fame into the Fame window --HG-- branch : compatibility-develop --- .../gamedev/interfaces_v3/info_player.lua | 4 +-- .../gamedev/interfaces_v3/info_player.xml | 36 ++++++++++++++++--- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua b/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua index 64858c69c..5850bbea7 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua +++ b/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua @@ -380,14 +380,14 @@ function game:initFamePos() -- assign good bar with good text - local uiList = { 'fyros', 'matis', 'tryker', 'zorai', 'kami', 'karavan' }; + local uiList = { 'fyros', 'matis', 'tryker', 'zorai', 'kami', 'karavan', 'black_kami'}; for k,v in pairs(uiList) do -- get ui text local uiTextRef = getUI(getUIId(ui) .. ':' .. v); local fameIdx = getFameDBIndex(getFameIndex(v)); -- put bar in front of it - if (fameIdx >= 0) and (fameIdx <= 5) then + if (fameIdx >= 0) and (fameIdx <= 6) then local uiBar = getUI(getUIId(ui) .. ':fb' .. fameIdx); uiBar.y = uiTextRef.y - uiTextRef.h / 2 + uiBar.h / 2; else diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/info_player.xml b/code/ryzom/client/data/gamedev/interfaces_v3/info_player.xml index 58f63d9a4..77f196a6a 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/info_player.xml +++ b/code/ryzom/client/data/gamedev/interfaces_v3/info_player.xml @@ -1978,7 +1978,7 @@ + + @@ -2356,10 +2369,19 @@ fontsize="10" shadow="true" hardtext="uiFameKaravan" /> + +