Originally Posted by Woeler
Hey man,
Thanks! So, now I wanted to change the weapontrait to 'nirncrux' (EXAMPLE). Where in the file should I change that? (sorry if that's a n00b question, but I'm trying to learn)
|
Both weapon and armor traits are called Nirnhoned, so I'm not really sure why do you want to show "nirncrux".
Anyway, this is the line you are looking for (in my version it is line 210):
Lua Code:
AIRG.UI.rowLabels[j]:SetText(GetString("SI_ITEMTRAITTYPE",thisTrait))
It is inside of the loop, and actual string is loaded by this comand from the EsoStrings table:
GetString("SI_ITEMTRAITTYPE", ITEM_TRAIT_TYPE_WEAPON_NIRNHONED)
GetString("SI_ITEMTRAITTYPE", ITEM_TRAIT_TYPE_ARMOR_NIRNHONED)
If you want to use EsoStrings table directly, it is:
Lua Code:
EsoStrings[ _G["SI_ITEMTRAITTYPE" .. ITEM_TRAIT_TYPE_WEAPON_NIRNHONED] ] --the same as EsoStrings[SI_ITEMTRAITTYPE25]
EsoStrings[ _G["SI_ITEMTRAITTYPE" .. ITEM_TRAIT_TYPE_ARMOR_NIRNHONED] ] --the same as EsoStrings[SI_ITEMTRAITTYPE26]