1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-23 16:50:27 +00:00

No more Lost Mountains in quotient Jungle etc.

This commit is contained in:
Zeno Rogue 2018-04-13 13:08:16 +02:00
parent e5a6d566a4
commit 3ea4bd91a8

View File

@ -1167,6 +1167,9 @@ void buildCamelotWall(cell *c) {
} }
void moreBigStuff(cell *c) { void moreBigStuff(cell *c) {
if(quotient) return;
if(c->land == laPalace && !euclid && c->master->alt) { if(c->land == laPalace && !euclid && c->master->alt) {
int d = celldistAlt(c); int d = celldistAlt(c);
if(d <= PRADIUS1) generateAlts(c->master); if(d <= PRADIUS1) generateAlts(c->master);
@ -1292,7 +1295,7 @@ void moreBigStuff(cell *c) {
} }
} }
if((c->land == laOvergrown && !euclid) || c->land == laClearing) { if((c->land == laOvergrown && !euclid) || c->land == laClearing) {
if(euclid || (c->master->alt && (tactic::on || c->master->alt->distance <= 2))) { if(euclid || (c->master->alt && (tactic::on || c->master->alt->distance <= 2))) {
if(!euclid) generateAlts(c->master); if(!euclid) generateAlts(c->master);
preventbarriers(c); preventbarriers(c);
@ -1305,7 +1308,7 @@ void moreBigStuff(cell *c) {
} }
} }
if((c->land == laJungle && !euclid) || c->land == laMountain) { if((c->land == laJungle && !euclid) || c->land == laMountain) {
if(euclid || (c->master->alt && (tactic::on || c->master->alt->distance <= 2))) { if(euclid || (c->master->alt && (tactic::on || c->master->alt->distance <= 2))) {
if(!euclid) generateAlts(c->master); if(!euclid) generateAlts(c->master);
preventbarriers(c); preventbarriers(c);