feat(text): merchants, troops and the hive's shelf come from translation files

The faction merchants' 90 jokes, their generic lines and their names now
read from merchants.json. Merchant names use the game's own creature
tokens where one matches, so they arrive translated in every language
Valheim ships; the Dverg keeps a key of its own, since vanilla's token
reads "Dvergr Rogue".

The Dvergar and Trol troop names and terms, and the Sverm hive's goods,
refusals, stage names and brood kinds, follow. Their panels fill TMP texts
themselves, so they localize the names where they draw them.

The jokes have English text only for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kanym 2026-09-28 18:50:54 +02:00
commit 1bd09ed31d
13 changed files with 332 additions and 167 deletions

View file

@ -16,9 +16,9 @@ namespace RacesOfValheim
private static readonly string[] GenericGreets = { "..." };
private static readonly string[] GenericGoodbye = { "..." };
private static readonly string[] GenericStartTrade = { "What do you need?" };
private static readonly string[] GenericBuy = { "Deal." };
private static readonly string[] GenericSell = { "Thanks." };
private static readonly string[] GenericStartTrade = { "$rov_merchant_start_trade" };
private static readonly string[] GenericBuy = { "$rov_merchant_buy" };
private static readonly string[] GenericSell = { "$rov_merchant_sell" };
public static void Postfix(Character __instance)
{