v0.6.0: improved the look of bookcases in library rooms
This commit is contained in:
parent
bd52f7322d
commit
d6d94ae116
|
@ -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 ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user