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:
14
landlock.cpp
14
landlock.cpp
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user