From e124533d586e12971071e1c09bbce49ce9b45df2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 7 Oct 2023 11:42:48 -0400 Subject: [PATCH] v2.2.0: added some additional examine text for caves quest walls --- core/src/main/assets/messages/levels/levels.properties | 2 ++ .../shatteredpixeldungeon/levels/MiningLevel.java | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/core/src/main/assets/messages/levels/levels.properties b/core/src/main/assets/messages/levels/levels.properties index 938b12cd2..6e06eaddf 100644 --- a/core/src/main/assets/messages/levels/levels.properties +++ b/core/src/main/assets/messages/levels/levels.properties @@ -227,6 +227,8 @@ levels.level.statue_desc=Someone wanted to adorn this place, but failed, obvious levels.level.alchemy_desc=This pot is filled with magical water. Items can be mixed into the pot to create something new! levels.level.empty_well_desc=The well has run dry. +levels.mininglevel.wall_desc=A smooth rock wall that's a little softer than usual. You can mine through it with your pickaxe, but it'll take some effort and increase your hunger a bit. +levels.mininglevel.gold_extra_desc=You can probably mine it out with your pickaxe. levels.mininglevel.crystal_name=Crystal spike levels.mininglevel.boulder_name=Boulder levels.mininglevel.crystal_desc=There is a large and colorful crystal outcropping here. These crystals are fragile and can easily be broken with a pickaxe, or will break if something is mined next to it. diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/MiningLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/MiningLevel.java index a402a744c..ffc2cf6ad 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/MiningLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/MiningLevel.java @@ -270,6 +270,10 @@ public class MiningLevel extends CavesLevel { @Override public String tileDesc( int tile ) { switch (tile) { + case Terrain.WALL: + return Messages.get(MiningLevel.class, "wall_desc"); + case Terrain.WALL_DECO: + return super.tileDesc(tile) + "\n\n" + Messages.get(MiningLevel.class, "gold_extra_desc"); case Terrain.MINE_CRYSTAL: return Messages.get(MiningLevel.class, "crystal_desc"); case Terrain.MINE_BOULDER: