diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java b/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java index 2dee7ca12..539051fb7 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/ui/ItemSlot.java @@ -56,6 +56,9 @@ public class ItemSlot extends Button { public static final Item LOCKED_CHEST = new Item() { public int image() { return ItemSpriteSheet.LOCKED_CHEST; }; }; + public static final Item CRYSTAL_CHEST = new Item() { + public int image() { return ItemSpriteSheet.CRYSTAL_CHEST; }; + }; public static final Item TOMB = new Item() { public int image() { return ItemSpriteSheet.TOMB; }; }; diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/ui/LootIndicator.java b/src/com/shatteredpixel/shatteredpixeldungeon/ui/LootIndicator.java index d3a845b40..690d469a2 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/ui/LootIndicator.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/ui/LootIndicator.java @@ -66,6 +66,7 @@ public class LootIndicator extends Tag { Item item = heap.type == Heap.Type.CHEST ? ItemSlot.CHEST : heap.type == Heap.Type.LOCKED_CHEST ? ItemSlot.LOCKED_CHEST : + heap.type == Heap.Type.CRYSTAL_CHEST ? ItemSlot.CRYSTAL_CHEST : heap.type == Heap.Type.TOMB ? ItemSlot.TOMB : heap.type == Heap.Type.SKELETON ? ItemSlot.SKELETON : heap.peek();