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

@ -22,7 +22,7 @@ namespace RacesOfValheim
// Invert the Wet debuff to actually heal the Draugh
__instance.m_healthRegenMultiplier = DraughConfig.WetHealthRegenMultiplier.Value;
__instance.m_staminaRegenMultiplier = 1f; // No stamina penalty
__instance.m_tooltip = "The water restores your rotten flesh. Health regeneration increased.";
__instance.m_tooltip = "$rov_se_draugh_wet_tooltip";
}
}
}