1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 00:47:40 +00:00

crystal:: more lands

This commit is contained in:
Zeno Rogue
2018-12-04 02:38:44 +01:00
parent aa34ed80c8
commit 9e3e4cf7a5
3 changed files with 30 additions and 4 deletions

View File

@@ -762,7 +762,7 @@ eLand getNewLand(eLand old) {
if(old == laEFire && lchance(old)) return hrand(2) ? laEEarth : laEAir;
if(tactic::on && !(tactic::trailer && old == specialland)) return specialland;
if(weirdhyperbolic && specialland != old && specialland != laCrossroads4 && !chaosmode) return specialland;
if(weirdhyperbolic && specialland != old && specialland != laCrossroads4 && !chaosmode && old != laBarrier) return specialland;
if(yendor::on && (yendor::clev().flags & YF_WALLS)) {
if(old != yendor::clev().l) return yendor::clev().l;
@@ -1102,6 +1102,11 @@ land_validity_t& land_validity(eLand l) {
// horocycles not implemented
if(isCyclic(l)) return not_implemented;
}
if(geometry == gCrystal) {
if(l == laCamelot) return interesting;
if(isCrossroads(l)) return full_game;
}
// Random Pattern allowed only in some specific lands
if(randomPatternsMode && !isRandland(l))