mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
ls:: horocyclic variant of Warped Coast
This commit is contained in:
parent
2c171f7be4
commit
fb5e4d25bb
@ -2143,6 +2143,10 @@ EX void pick_hv_subland(cell *c, eLand l, int depth) {
|
||||
c->wall = getElementalWall(hrand(2) ? c->barleft : c->barright);
|
||||
}
|
||||
}
|
||||
else if(l == laWarpCoast) {
|
||||
int i = (depth & 8);
|
||||
setland(c, i ? laWarpCoast : laWarpSea);
|
||||
}
|
||||
else setland(c, l);
|
||||
}
|
||||
|
||||
|
@ -1945,6 +1945,10 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
c->wall = waBoat;
|
||||
c->item = itCoral;
|
||||
}
|
||||
else if(hrand(6000) < 1000 && ls::hv_structure()) {
|
||||
/* somehow there were not enough boats in hv_structure... */
|
||||
forCellEx(c1, c) if(c1->land == laWarpCoast) c->wall = waBoat;
|
||||
}
|
||||
}
|
||||
|
||||
ONEMPTY if(c->land == laWarpCoast) {
|
||||
|
@ -877,7 +877,7 @@ EX land_validity_t& land_validity(eLand l) {
|
||||
if(l == laMirrorOld && !shmup::on) return not_implemented;
|
||||
}
|
||||
|
||||
if(ls::hv_structure() && among(l, laPrairie, laDungeon, laEndorian, laBrownian, laWarpCoast, laWarpSea, laPrincessQuest)) return not_in_hv;
|
||||
if(ls::hv_structure() && among(l, laPrairie, laDungeon, laEndorian, laBrownian, laPrincessQuest)) return not_in_hv;
|
||||
if(ls::voronoi_structure() && among(l, laCamelot, laWhirlpool, laClearing)) return not_in_hv;
|
||||
if(ls::horodisk_structure() && l != laCrossroads && isCrossroads(l)) return not_in_hv;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user