v0.6.0: improved the look of bookcases in library rooms

This commit is contained in:
Evan Debenham 2017-04-22 14:06:11 -04:00
parent bd52f7322d
commit d6d94ae116

View File

@ -65,6 +65,15 @@ public class LibraryRoom extends SpecialRoom {
}
entrance.set( Door.Type.LOCKED );
if (entrance.y == top + 1){
if (entrance.x == left){
Painter.set(level, entrance.x+1, entrance.y, Terrain.EMPTY_SP);
} else {
Painter.set(level, entrance.x-1, entrance.y, Terrain.EMPTY_SP);
}
}
level.addItemToSpawn( new IronKey( Dungeon.depth ) );
}