1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-27 13:48:15 +00:00

Emerald and Vineyard are now random in a4

This commit is contained in:
Zeno Rogue 2018-04-12 11:14:26 +02:00
parent f375ac498a
commit b100e77a48

View File

@ -364,13 +364,13 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c->wall = waCavewall; c->wall = waCavewall;
else c->wall = waCavefloor; else c->wall = waCavefloor;
} }
else if(a4)
c->wall = hrand(100) < 50 ? waCavefloor : waCavewall;
else if(nonbitrunc) { else if(nonbitrunc) {
if(polarb50(c)) if(polarb50(c))
c->wall = waCavewall; c->wall = waCavewall;
else c->wall = waCavefloor; else c->wall = waCavefloor;
} }
else if(weirdhyperbolic && S7 != 8)
c->wall = waCavefloor;
else { else {
int v = emeraldval(c); int v = emeraldval(c);
if(v == 0) if(v == 0)
@ -520,6 +520,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
int dy = gmod(y, 3); int dy = gmod(y, 3);
if(dy == 1) c->wall = waVinePlant; if(dy == 1) c->wall = waVinePlant;
} }
else if(a4)
c->wall = hrand(100) < 50 ? waNone : waVinePlant;
else { else {
int v = emeraldval(c); int v = emeraldval(c);
if(v == 0) c->wall = waStone; if(v == 0) c->wall = waStone;