From 061198b59b341eb7077c68c985ef8a324f63b0d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nuno=20Gon=C3=A7alves=20=28Ulukyn=29?= Date: Thu, 31 Aug 2023 14:14:51 +0100 Subject: [PATCH] Add infos into target window --- ryzom/client/data/gamedev/interfaces_v3/interaction.lua | 6 +++++- ryzom/client/data/gamedev/interfaces_v3/interaction.xml | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ryzom/client/data/gamedev/interfaces_v3/interaction.lua b/ryzom/client/data/gamedev/interfaces_v3/interaction.lua index 558904e81..8ef1be2a2 100644 --- a/ryzom/client/data/gamedev/interfaces_v3/interaction.lua +++ b/ryzom/client/data/gamedev/interfaces_v3/interaction.lua @@ -360,12 +360,15 @@ function game:updateTargetConsiderUI() local wgPvPTag = targetWindow:find("pvp_tags") local wgHeader = targetWindow:find("header_opened") local wgLock = targetWindow:find("lock") + local wginfos = targetWindow:find("target_tinfos") wgTargetSlotForce.active = true wgTargetSlotForce.texture = "consider_bg.tga" wgImpossible.active = true wgTargetSlotForce.h = 16 + wginfos.active = false + -- no selection ? if twGetTargetLevel() == -1 then wgLock.active = false @@ -394,7 +397,8 @@ function game:updateTargetConsiderUI() -- if the selection is a player, then both the local & targeted player must be in PVP mode for the level to be displayed if (twIsTargetPlayer()) then - -- don't display anything ... + -- don't display anything except infos ... + wginfos.active = true wgLock.active = false wgTargetSlotForce.active = false wgTargetLevel.active = false diff --git a/ryzom/client/data/gamedev/interfaces_v3/interaction.xml b/ryzom/client/data/gamedev/interfaces_v3/interaction.xml index 98a5ba4b0..d3320228b 100644 --- a/ryzom/client/data/gamedev/interfaces_v3/interaction.xml +++ b/ryzom/client/data/gamedev/interfaces_v3/interaction.xml @@ -304,6 +304,22 @@ w="0" h="0" tooltip_parent="win" /> +