v3.1.0: fixed exotic potions catalog using exotic shape when un-ided
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user