fix(aswid): name the food in the full-stomach devour message
$msg_nomore carries a $1 for the food's name, and the devour sent it bare, so players read "can't eat more $1". Filled in the same way vanilla's CanEat and the Trol do.
This commit is contained in:
parent
5c41d80cae
commit
a00db24ebd
1 changed files with 4 additions and 1 deletions
|
|
@ -1405,7 +1405,10 @@ namespace RacesOfValheim
|
|||
// up, but there used to be nothing to see either. Silence is what made
|
||||
// a refused meal indistinguishable from a devour that never fired:
|
||||
// vanilla's own "can't eat more" line, localized for free.
|
||||
Player.m_localPlayer.Message(MessageHud.MessageType.TopLeft, "$msg_nomore");
|
||||
// The token carries a $1 for the food's name, which vanilla's CanEat
|
||||
// fills in; sent bare, players read "can't eat more $1".
|
||||
Player.m_localPlayer.Message(MessageHud.MessageType.TopLeft,
|
||||
Localization.instance.Localize("$msg_nomore", addedItem.m_shared.m_name));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue