chaosmode variants (CLI only for now)

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:03 +02:00
1 parent 638274504c
commit 2b1aebb9b4
9 files changed
+73 -7

No files matched your search

+11
View File
@@ -1207,6 +1207,7 @@ bool good_for_wall(cell *c) {
void buildBigStuff(cell *c, cell *from) {
if(sphere || quotient) return;
if(chaosmode > 1) return;
bool deepOcean = deep_ocean_at(c, from);
// if(weirdhyperbolic && c->land == laOcean) deepOcean = c->landparam >= 30;
@@ -1606,4 +1607,14 @@ void generate_mines() {
for(int i=0; i<bounded_mine_quantity; i++) candidates[i]->wall = waMineMine;
}
vector<eLand> currentlands;
void pregen() {
currentlands.clear();
if(chaosmode > 1)
for(eLand l: land_over)
if(landUnlocked(l) && isLandIngame(l))
currentlands.push_back(l);
}
}