1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-19 16:07:40 +00:00

3D:: implemented the cool Emerald Mine pattern for 534, and also some Vineyard/Emerald patterns for both 435 and 534.

This commit is contained in:
Zeno Rogue
2019-03-15 16:42:14 +01:00
parent 13c426ae37
commit af25eb1f1f
2 changed files with 105 additions and 1 deletions

View File

@@ -424,6 +424,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
else if(fulltorus) {
c->wall = waCavefloor;
}
else if(DIM == 3 && hyperbolic && !binarytiling)
c->wall = (c->master->zebraval & 1) ? waCavewall : waCavefloor;
else if(euclid && DIM == 3)
c->wall = euclid3::get_emerald(c) ? waCavewall : waCavefloor;
else if(euclid) {
@@ -467,6 +469,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(hrand_monster(8000) < 50 + 10 * (items[itEmerald] + yendor::hardness())) {
static eMonster emeraldmonsters[4] = { moHedge, moLancer, moFlailer, moMiner };
c->monst = emeraldmonsters[hrand(4)];
if(c->monst == moHedge && S3 != 3)
c->monst = moFlailer;
}
if(sphere && c->type != 6 && c->master->fiftyval == 5) {
c->monst = moMiner;
@@ -615,6 +619,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
int dy = gmod(y, 3);
if(dy == 1) c->wall = waVinePlant;
}
else if(DIM == 3 && hyperbolic && !binarytiling)
c->wall = (c->master->zebraval & 2) ? waVinePlant : waNone;
else if(a4 || sphere || archimedean)
c->wall = hrand(100) < 50 ? waNone : waVinePlant;
else {