1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 08:27:39 +00:00

improved the Land of Storms in geometries

This commit is contained in:
Zeno Rogue
2017-11-03 21:51:08 +01:00
parent 1d2adc3a0a
commit 3504307cfb
3 changed files with 57 additions and 5 deletions

View File

@@ -973,6 +973,17 @@ int isLandValid(eLand l) {
if(l == laStorms && quotient == 2)
return 0;
// pattern not implemented
if(l == laStorms && S7 == 8)
return 1;
// not enough space
if(l == laStorms && nontruncated && elliptic)
return 0;
if(l == laStorms && nontruncated && S3 == 3)
return 0;
// available only in weird geometries
if(l == laMirrorOld && !geometry)
return 0;
@@ -1147,6 +1158,9 @@ int isLandValid(eLand l) {
if(l == laHalloween || l == laDual)
return 3;
if(l == laStorms && torus)
return 3;
return 2;
}