From cf8697e4dea81c68a4a54a090491b62d48e7bcf5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 1 Dec 2014 22:26:49 -0500 Subject: [PATCH] v0.2.3: tied in placeholder spellbook sprite --- .../items/artifacts/UnstableSpellbook.java | 3 ++- .../shatteredpixeldungeon/sprites/ItemSpriteSheet.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java index e8a49ebcc..bb2abbd58 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java @@ -9,6 +9,7 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.Scroll; import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfPsionicBlast; import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; +import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.ui.QuickSlot; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.windows.WndBag; @@ -27,7 +28,7 @@ public class UnstableSpellbook extends Artifact { { name = "unstable spellbook"; - image = 0; + image = ItemSpriteSheet.ARTIFACT_SPELLBOOK; level = 0; levelCap = 10; diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSpriteSheet.java b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSpriteSheet.java index 29432e962..5b1b05080 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSpriteSheet.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/sprites/ItemSpriteSheet.java @@ -141,7 +141,7 @@ public class ItemSpriteSheet { public static final int ARTIFACT_TALISMAN = ROW8+3; public static final int ARTIFACT_HOURGLASS = ROW8+4; public static final int ARTIFACT_TOOLKIT = ROW8+5; - + public static final int ARTIFACT_SPELLBOOK = ROW8+6; //Row Nine: Artifacts with Dynamic Images public static final int ARTIFACT_HORN1 = ROW9+0;