fix(texts): four messages showed as [msg_...]
Four tokens the mod printed exist in no vanilla table (checked on Valheim 1.0.20) and were never registered by the mod, so players saw the raw name in brackets. - $msg_eatanother (Trol, a food still being digested): vanilla's $msg_nomore, "You can't eat more $1", called as Player.CanEat calls it. - $msg_canteatanymore (Trol, every stomach full): vanilla's $msg_isfull. - $msg_ate (Aswid, Vae Victis): vanilla's $msg_consumed. - $msg_notenoughmoney (Dvergar bank, Trol totem): a new mod text, rov_msg_not_enough_coins, in English, Italian and Russian.
This commit is contained in:
parent
d16524beec
commit
87d0f2642c
7 changed files with 13 additions and 7 deletions
|
|
@ -157,7 +157,7 @@ namespace RacesOfValheim
|
|||
|
||||
if (CountCoins(inventory) < price)
|
||||
{
|
||||
player.Message(MessageHud.MessageType.Center, "$msg_notenoughmoney");
|
||||
player.Message(MessageHud.MessageType.Center, ModText.Get("rov_msg_not_enough_coins"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue