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
|
|
@ -23,8 +23,8 @@ namespace RacesOfValheim
|
|||
{
|
||||
base.Setup(character);
|
||||
name = "SE_SkadiStats";
|
||||
m_name = "Skadi's Aura";
|
||||
m_tooltip = "Empowered by the frost.";
|
||||
m_name = "$rov_se_skadi_aura_name";
|
||||
m_tooltip = "$rov_se_skadi_aura_tooltip";
|
||||
}
|
||||
|
||||
// What the last UpdateStats call actually wrote. SEMan.AddStatusEffect stores a Clone() of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue