My ws file is different than the one in the picture link.. This is what mine looks like: durabilityStrValue = "<font color='#E70000'>" + durabilityStrValue + "</font>"; durabilityLabel = "<font color='#E70000'>" + durabilityLabel + "</font>"; tooltipData.SetMemberFlashString("DurabilityDescription", GetLocStringByKeyExt("tooltip_durability_description")); } addGFxItemStat(propsList, "repair", durabilityStrValue, durabilityLabel, true);
Should I add on to it to make it look exactly like yours?
Commenting out addGFxItemStat(propsList, "repair", durabilityStrValue, durabilityLabel, true); disables the guielement
if you add the same line below the tooltipData line, the durability% will be visible if the items durability is below 100% and removed if it has full durability(after being repaired/crafted), so your choice: if you dont want to see it at all just comment it out, if you want to see it for damaged items make it look like the screenshot
Thx for the mod. I just still can see %damage on weapons/armors (which seems to be not changing = the mod works and it is just a visual remains). Option to repair items also dissapeared from npc's inventory so it works just fine too. Btw there were no conflicts with other mods.
14 comments
Is it like a better alternative or the same?
and does Unbreakable work with v 4.04 now?
https://www.nexusmods.com/witcher3/mods/8211?tab=description
https://www.nexusmods.com/witcher3/mods/1542?tab=posts&BH=1
You have to edit the guiTooltipComponent script and comment out this line, you dont need guiBaseInventoryComponent.ws anymore
durabilityStrValue = "<font color='#E70000'>" + durabilityStrValue + "</font>";
durabilityLabel = "<font color='#E70000'>" + durabilityLabel + "</font>";
tooltipData.SetMemberFlashString("DurabilityDescription", GetLocStringByKeyExt("tooltip_durability_description"));
}
addGFxItemStat(propsList, "repair", durabilityStrValue, durabilityLabel, true);
Should I add on to it to make it look exactly like yours?
if you add the same line below the tooltipData line, the durability% will be visible if the items durability is below 100% and removed if it has full durability(after being repaired/crafted), so your choice: if you dont want to see it at all just comment it out, if you want to see it for damaged items make it look like the screenshot
Option to repair items also dissapeared from npc's inventory so it works just fine too. Btw there were no conflicts with other mods.