mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 19:00:35 +00:00
enabling Halloween in infinite geometries now produces something that makes sense
This commit is contained in:
parent
26e61783b2
commit
9cc370a2d2
@ -1308,6 +1308,12 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case laHalloween:
|
case laHalloween:
|
||||||
|
if(!closed_or_bounded) {
|
||||||
|
ONEMPTY {
|
||||||
|
if(hrand(1000) < PT(20, 20)) c->item = itTreat;
|
||||||
|
if(hrand(1000) < 20) c->wall = waChasm;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case laWildWest:
|
case laWildWest:
|
||||||
|
@ -562,6 +562,8 @@ EX eLand getNewLand(eLand old) {
|
|||||||
tab[cnt++] = laDocks;
|
tab[cnt++] = laDocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tab[cnt++] = laHalloween;
|
||||||
|
|
||||||
// the advanced lands
|
// the advanced lands
|
||||||
if(all_unlocked || gold() >= R60) {
|
if(all_unlocked || gold() >= R60) {
|
||||||
tab[cnt++] = laCrossroads;
|
tab[cnt++] = laCrossroads;
|
||||||
|
Loading…
Reference in New Issue
Block a user