v3.1.0: fixed exotic potions catalog using exotic shape when un-ided

This commit is contained in:
Evan Debenham
2025-05-19 17:12:24 -04:00
parent 231fa83a89
commit 9fc45f7ba4

View File

@@ -39,6 +39,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor;
import com.shatteredpixel.shatteredpixeldungeon.items.armor.ClassArmor;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.Artifact;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.Potion;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.exotic.ExoticPotion;
import com.shatteredpixel.shatteredpixeldungeon.items.rings.Ring;
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.Scroll;
import com.shatteredpixel.shatteredpixeldungeon.items.trinkets.Trinket;
@@ -767,6 +768,9 @@ public class WndJournal extends WndTabbed {
sprite = new ItemSprite(item.image, seen ? item.glowing() : null);
if (!seen) {
if (item instanceof ExoticPotion){
sprite.frame(ItemSpriteSheet.POTION_CRIMSON);
}
sprite.lightness(0);
title = "???";
desc = Messages.get(CatalogTab.class, "not_seen_item");