1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +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;
else c->wall = waCavefloor;
}
else if(a4)
c->wall = hrand(100) < 50 ? waCavefloor : waCavewall;
else if(nonbitrunc) {
if(polarb50(c))
c->wall = waCavewall;
else c->wall = waCavefloor;
}
else if(weirdhyperbolic && S7 != 8)
c->wall = waCavefloor;
else {
int v = emeraldval(c);
if(v == 0)
@ -520,6 +520,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
int dy = gmod(y, 3);
if(dy == 1) c->wall = waVinePlant;
}
else if(a4)
c->wall = hrand(100) < 50 ? waNone : waVinePlant;
else {
int v = emeraldval(c);
if(v == 0) c->wall = waStone;