From acfc24b97ceced7d99e8c8995f9aeeed14ea5f4d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 19 Oct 2020 14:56:25 -0400 Subject: [PATCH] v0.9.1: tweaked cave room logic, larger and a bit more chaotic now. --- .../levels/rooms/standard/CaveRoom.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/standard/CaveRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/standard/CaveRoom.java index 33b626861..a2fb53db2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/standard/CaveRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/standard/CaveRoom.java @@ -33,7 +33,7 @@ public class CaveRoom extends PatchRoom { @Override public float[] sizeCatProbs() { - return new float[]{9, 3, 1}; + return new float[]{4, 2, 1}; } @Override @@ -44,13 +44,13 @@ public class CaveRoom extends PatchRoom { door.set( Door.Type.REGULAR ); } - //fill scales from ~25% at 4x4, to ~55% at 18x18 - // normal ~25% to ~35% - // large ~35% to ~45% - // giant ~45% to ~55% - float fill = 0.25f + (width()*height())/1024f; + //fill scales from ~30% at 4x4, to ~60% at 18x18 + // normal ~30% to ~40% + // large ~40% to ~50% + // giant ~50% to ~60% + float fill = 0.30f + (width()*height())/1024f; - setupPatch(level, fill, 4, true); + setupPatch(level, fill, 3, true); cleanDiagonalEdges(); for (int i = top + 1; i < bottom; i++) {