v0.2.3f: tweaked behaviour of last shop level, also fixed bug involving shop generation.
This commit is contained in:
parent
520131fb2d
commit
78fd89cb01
|
@ -52,6 +52,7 @@ public class LastShopLevel extends RegularLevel {
|
|||
protected boolean build() {
|
||||
|
||||
feeling = Feeling.CHASM;
|
||||
viewDistance = 4;
|
||||
|
||||
initRooms();
|
||||
|
||||
|
@ -113,8 +114,7 @@ public class LastShopLevel extends RegularLevel {
|
|||
}
|
||||
}
|
||||
|
||||
if (roomShop == null || shopSquare < 30
|
||||
|| ((roomShop.width()-1)*(roomShop.height()-1) < ShopPainter.spaceNeeded())) {
|
||||
if (roomShop == null || shopSquare < 54) {
|
||||
return false;
|
||||
} else {
|
||||
roomShop.type = Imp.Quest.isCompleted() ? Room.Type.SHOP : Room.Type.STANDARD;
|
||||
|
|
Loading…
Reference in New Issue
Block a user