Skip to content

Commit

Permalink
Color item names
Browse files Browse the repository at this point in the history
  • Loading branch information
Witchybun committed Jul 11, 2024
1 parent 98531e4 commit 1092e66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ShopHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ private static bool WasGeneralShopDisplayNameUpdated(GameObject menuUI, Shop_Inv
{
itemNameCondensed += "...";
}
var color = ArchipelagoClient.FlagColor(item.Classification);
itemNameCondensed = $"<color={color}>{itemNameCondensed}</color>";
var cost = " - <sprite=0>" + shopItem.cost.ToString();
if (DetermineItemCost(shopItem, sceneName) == 0)
{
Expand Down

0 comments on commit 1092e66

Please sign in to comment.