v2.2.0: some more levelgen improvements to giant crystal mine rooms

This commit is contained in:
Evan Debenham
2023-09-21 16:33:09 -04:00
parent 5c59b3e777
commit cbbfaf2cd2

View File

@@ -46,10 +46,9 @@ public class MineGiantRoom extends CaveRoom {
super.paint(level);
if (Blacksmith.Quest.Type() == Blacksmith.Quest.CRYSTAL){
Painter.fillEllipse(level, this, 3, Terrain.MINE_CRYSTAL);
Painter.fillEllipse(level, this, 5, Terrain.EMPTY);
Painter.fillEllipse(level, this, 3, Terrain.EMPTY);
for (int i = 0; i < width()*height()/4; i ++){
for (int i = 0; i < width()*height()/2; i ++){
Point r = random(1);
if (level.map[level.pointToCell(r)] != Terrain.WALL) {
Painter.set(level, r, Terrain.MINE_CRYSTAL);