1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 11:58:07 +00:00

Kraken variant of pseudohept

This commit is contained in:
Zeno Rogue
2018-05-04 12:49:50 +02:00
parent 4bf892442f
commit e3c3a4202e
5 changed files with 14 additions and 5 deletions

View File

@@ -1090,6 +1090,15 @@ bool pseudohept(cell *c) {
return pattern_threecolor(c) == 0;
}
// while Krakens movement is usually restricted to non-pseudohept cells,
// there is one special case when this does not work (because non-pseudohept cells have varying degrees)
bool kraken_pseudohept(cell *c) {
if(!euclid && !(S7&1) && gp_threecolor() == 1)
return ishept(c);
else
return pseudohept(c);
}
bool warptype(cell *c) {
if(a4 && nonbitrunc) {
if(euclid)