mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
chaosmode variants (CLI only for now)
This commit is contained in:
1 parent
638274504c
commit
2b1aebb9b4
9 files changed
+73
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user