v2.1.3: improved visuals/themeing for mining level

This commit is contained in:
Evan Debenham
2023-06-23 12:41:58 -04:00
parent f39a859353
commit c6a8fbea8a
2 changed files with 8 additions and 4 deletions
@@ -30,6 +30,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob;
import com.shatteredpixel.shatteredpixeldungeon.items.Heap;
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.levels.features.LevelTransition;
import com.shatteredpixel.shatteredpixeldungeon.levels.painters.CavesPainter;
import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter;
import com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.CaveRoom;
@@ -53,9 +54,6 @@ public class MiningLevel extends Level {
@Override
protected boolean build() {
//a few niceties are needed here before putting this out, things like water, short grass
// tile deco, and a pause to hunger/regen
setSize(32, 32);
CaveRoom c = new CaveRoom();
@@ -74,6 +72,12 @@ public class MiningLevel extends Level {
map[entrance] = Terrain.ENTRANCE;
Painter painter = new CavesPainter()
.setWater(0.35f, 6)
.setGrass(0.10f, 3);
painter.paint(this, null);
return true;
}
@@ -430,7 +430,7 @@ public class GameScene extends PixelScene {
}
}
if (Dungeon.level instanceof MiningLevel){
add(new WndStory(Messages.get(this, "blacksmith_quest_window_title") + ":\n\n" + Messages.get(this, "blacksmith_quest_window")).setDelays(0.6f, 1.4f));
add(new WndStory(Messages.get(this, "blacksmith_quest_window_title") + ":\n\n" + Messages.get(this, "blacksmith_quest_window")).setDelays(0.4f, 0.4f));
}
if (Dungeon.hero.isAlive()) {
Badges.validateNoKilling();