mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 19:07:40 +00:00
better pseudohept in INVERSE tilings
This commit is contained in:
@@ -1493,7 +1493,7 @@ EX bool pseudohept(cell *c) {
|
||||
#endif
|
||||
if(arb::in()) return arb::pseudohept(c);
|
||||
#if CAP_GP
|
||||
if(INVERSE) return false;
|
||||
if(INVERSE) return gp::inverse_pseudohept(c);
|
||||
if(GOLDBERG && gp_threecolor() == 2)
|
||||
return gp::pseudohept_val(c) == 0;
|
||||
if(GOLDBERG && gp_threecolor() == 1 && (S7&1) && (S3 == 3))
|
||||
@@ -1502,6 +1502,13 @@ EX bool pseudohept(cell *c) {
|
||||
return pattern_threecolor(c) == 0;
|
||||
}
|
||||
|
||||
/** like pseudohept, but return randomly if no pseudohept is available */
|
||||
EX bool pseudohept_r(cell *c) {
|
||||
if(UNTRUNCATED || UNRECTIFIED)
|
||||
return hrand(100) < 20;
|
||||
return pseudohept(c);
|
||||
}
|
||||
|
||||
// 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)
|
||||
EX bool kraken_pseudohept(cell *c) {
|
||||
|
||||
Reference in New Issue
Block a user