RacesOfValheim/JotunnModStub/Draugh
kanym b0d18b0654 feat(text): on-screen messages come from translation files
Every message the mod puts in the middle or corner of the screen now reads
its text through ModText.Get, and messages.json holds 191 texts in English
and Italian. Values computed in code become $1, $2 in the text, so a
translator can put them wherever the sentence needs them. Branching
messages get one key per branch.

A few messages travel through a field before they are shown: thralls'
refusals and the building limits now hold a token or key there. Boss and
form names inside messages use tokens too, the bosses the game's own, so
"The Elder" arrives translated.

ModText.Get now localizes each argument before inserting it. A token
argument left for a later pass ran into the text after it: "$1's power"
became the unknown token "enemy_eikthyr's".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 20:30:03 +02:00
..
DraughConfig.cs feat(draugh): add the Human Meat item the Bonemass perk has always promised 2026-09-26 00:20:16 +02:00
DraughFoodPatches.cs feat(text): on-screen messages come from translation files 2026-09-26 20:30:03 +02:00
DraughHumanMeat.cs feat(text): item, piece and creature names come from translation files 2026-09-26 19:58:53 +02:00
DraughPatches.cs feat(draugh): make abilities BepInEx-configurable; reorder Skadi sections 2026-08-06 13:42:44 +02:00
DraughProgressionPatches.cs feat(text): on-screen messages come from translation files 2026-09-26 20:30:03 +02:00
DraughRace.cs feat(text): on-screen messages come from translation files 2026-09-26 20:30:03 +02:00
DraughSpawner.cs feat(text): on-screen messages come from translation files 2026-09-26 20:30:03 +02:00
DraughSpawnerBehaviour.cs feat(text): on-screen messages come from translation files 2026-09-26 20:30:03 +02:00
DraughVisuals.cs feat(trenta): grow a crown of branches, and fix(draugh): let everyone see the rot 2026-08-05 13:40:09 +02:00