1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-26 00:47:00 +00:00

Reduced validity of Hedgehog lands in a4 nonbitrunc

This commit is contained in:
Zeno Rogue 2018-05-15 23:42:13 +02:00
parent 07e853d637
commit ecd8d288ad

View File

@ -1027,6 +1027,8 @@ namespace lv {
flagtype qm2= q2 | lv::display_error_message; flagtype qm2= q2 | lv::display_error_message;
flagtype qm3= q3 | lv::display_error_message; flagtype qm3= q3 | lv::display_error_message;
land_validity_t hedgehogs = { 1, qm2 &~ lv::appears_in_full, "Cannot kill Hedgehog Warriors in this geometry."};
land_validity_t no_randpattern_version = { 0, q0, "No random pattern version."}; land_validity_t no_randpattern_version = { 0, q0, "No random pattern version."};
land_validity_t no_great_walls = { 0, q0, "Great Walls not implemented."}; land_validity_t no_great_walls = { 0, q0, "Great Walls not implemented."};
land_validity_t pattern_incompatibility = { 0, q0, "Pattern incompatible."}; land_validity_t pattern_incompatibility = { 0, q0, "Pattern incompatible."};
@ -1275,6 +1277,9 @@ land_validity_t& land_validity(eLand l) {
else if(quotient) return pattern_incompatibility; else if(quotient) return pattern_incompatibility;
} }
if(among(l, laEmerald, laCamelot, laDryForest) && a4 && nonbitrunc)
return hedgehogs;
// ... wineyard pattern is GOOD only in the standard geometry or Euclidean // ... wineyard pattern is GOOD only in the standard geometry or Euclidean
if(l == laWineyard && (gp::on || sphere) && !randomPatternsMode) if(l == laWineyard && (gp::on || sphere) && !randomPatternsMode)
return pattern_not_implemented_random; return pattern_not_implemented_random;