1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

nicer bridges over mercury

This commit is contained in:
Zeno Rogue
2017-10-17 12:54:59 +02:00
parent 60527aea29
commit 9dc49fa297
3 changed files with 93 additions and 28 deletions

View File

@@ -821,6 +821,13 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c->landparam--;
}
}
if(d == 7) {
int nearriver = 0;
forCellEx(c2, c)
if(c2->wall == waMercury && pseudohept(c2))
nearriver++;
if(nearriver == 2) c->land = laMercuryRiver;
}
ONEMPTY {
bool nearwarrior = false;
forCellEx(c2, c) if(c2->wall == waTerraWarrior) nearwarrior = true;