mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 10:50: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;
|
||||
|
||||
case laHalloween:
|
||||
if(!closed_or_bounded) {
|
||||
ONEMPTY {
|
||||
if(hrand(1000) < PT(20, 20)) c->item = itTreat;
|
||||
if(hrand(1000) < 20) c->wall = waChasm;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case laWildWest:
|
||||
|
@ -562,6 +562,8 @@ EX eLand getNewLand(eLand old) {
|
||||
tab[cnt++] = laDocks;
|
||||
}
|
||||
|
||||
tab[cnt++] = laHalloween;
|
||||
|
||||
// the advanced lands
|
||||
if(all_unlocked || gold() >= R60) {
|
||||
tab[cnt++] = laCrossroads;
|
||||
|
Loading…
Reference in New Issue
Block a user