feat(text): status effect names and tooltips come from translation files
Every status effect the mod registers now carries a $rov_se_ token instead of English, and status_effects.json holds the texts in English and Italian. Valheim localizes both fields itself when it shows them. The blood potion's tooltip has numbers in it, so SE_BloodPotion fills its $1 and $2 in GetTooltipString, at display time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c055455027
commit
9bf144aedc
16 changed files with 203 additions and 66 deletions
|
|
@ -502,9 +502,9 @@ namespace RacesOfValheim
|
|||
__instance.m_icon = null;
|
||||
}
|
||||
|
||||
__instance.m_name = "Night Aura";
|
||||
__instance.m_name = "$rov_se_aswid_nightaura_name";
|
||||
__instance.m_startMessage = ""; // "The darkness empowers you.";
|
||||
__instance.m_tooltip = "The cold strengthens your beastly senses.";
|
||||
__instance.m_tooltip = "$rov_se_aswid_nightaura_tooltip";
|
||||
|
||||
if (__instance is SE_Stats stats)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue