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:
kanym 2026-10-26 15:30:01 +01:00
commit a00db24ebd

View file

@ -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