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:
kanym 2026-09-26 19:51:10 +02:00
commit 9bf144aedc
16 changed files with 203 additions and 66 deletions

View file

@ -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)
{