From b1058f5b08a3bc3666477ee7afd79a064b9ce80e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 6 Oct 2023 12:10:09 -0400 Subject: [PATCH] v2.2.0: improved walkable space in blacksmith room for corner entrances --- .../levels/rooms/quest/BlacksmithRoom.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/quest/BlacksmithRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/quest/BlacksmithRoom.java index 01be6ae2e..5872a65b1 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/quest/BlacksmithRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/quest/BlacksmithRoom.java @@ -53,6 +53,12 @@ public class BlacksmithRoom extends StandardRoom { Painter.fill( level, this, Terrain.WALL ); Painter.fill( level, this, 1, Terrain.TRAP ); + + for (Door door : connected.values()) { + door.set( Door.Type.REGULAR ); + Painter.drawInside( level, this, door, 2, Terrain.EMPTY ); + } + Painter.fill( level, this, 2, Terrain.EMPTY_SP ); for (int i=0; i < 2; i++) { @@ -68,11 +74,6 @@ public class BlacksmithRoom extends StandardRoom { ) ), pos ); } - for (Door door : connected.values()) { - door.set( Door.Type.REGULAR ); - Painter.drawInside( level, this, door, 1, Terrain.EMPTY ); - } - Blacksmith npc = new Blacksmith(); do { npc.pos = level.pointToCell(random( 2 ));