v0.3.2: added the ability to examine custom tile visuals

This commit is contained in:
Evan Debenham
2015-10-19 21:47:12 -04:00
committed by Evan Debenham
parent d45f2b4573
commit 82cb22f1bf
5 changed files with 75 additions and 22 deletions
@@ -83,9 +83,20 @@ public class MassGravePainter extends Painter {
public static class Bones extends CustomTileVisual {
{
name = "Mass grave";
tx = Assets.PRISON_QUEST;
txX = 3;
txY = 0;
}
@Override
public String desc() {
if (ofsX == 1 && ofsY == 1) {
return "bones litter the floor, what happened here?";
} else {
return null;
}
}
}
}
@@ -60,11 +60,17 @@ public class RitualSitePainter extends Painter {
public static class RitualMarker extends CustomTileVisual{
{
name = "Ritual marker";
tx = Assets.PRISON_QUEST;
txX = txY = 0;
tileW = tileH = 3;
}
@Override
public String desc() {
return "A painted marker for some dark ritual. Candles are usually placed on the four corners.";
}
}
}
@@ -76,10 +76,16 @@ public class WeakFloorPainter extends Painter {
public static class HiddenWell extends CustomTileVisual{
{
name = "Distant well";
tx = Assets.WEAK_FLOOR;
txX = Dungeon.depth/5;
txY = 0;
}
@Override
public String desc() {
return "You can just make out a well in the depths below, perhaps there is something down there?";
}
}
}