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> |
||
|---|---|---|
| .. | ||
| AswidBatAggro.cs | ||
| AswidBatFlight.cs | ||
| AswidBloodPotions.cs | ||
| AswidBloodRefinery.cs | ||
| AswidClaws.cs | ||
| AswidConfig.cs | ||
| AswidExtraFoodUI.cs | ||
| AswidFoodManager.cs | ||
| AswidPatches.cs | ||
| AswidProgression.cs | ||
| AswidRace.cs | ||
| AswidSpectralClaw.cs | ||
| AswidStatusEffects.cs | ||
| AswidThrall.cs | ||
| AswidVisuals.cs | ||
| BatFormBehavior.cs | ||
| BloodRefineryBehaviour.cs | ||