feat(text): the Tame and Grab Log hover prompts come from translation files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kanym 2026-09-28 13:55:45 +02:00
commit b555da99f2
4 changed files with 6 additions and 2 deletions

View file

@ -137,7 +137,7 @@ namespace RacesOfValheim
if (rightItem != null && rightItem.m_dropPrefab != null && rightItem.m_dropPrefab.name.StartsWith("TrolWeapon_")) return;
string key = TrolConfig.GrabLogKey.Value.MainKey.ToString();
__result += $"\n[<color=yellow><b>{key}</b></color>] Grab Log";
__result += ModText.Get("rov_hover_trol_grab_log", key);
}
}
}