1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

Added Canvas Floor and Canvas Darkness options

This commit is contained in:
Charlotte Peppers
2022-03-06 20:01:59 -07:00
parent 6117d626d8
commit ab08a69cc6
5 changed files with 98 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ EX eGravity get_move_gravity(cell *c, cell *c2) {
}
EX bool isWarped(cell *c) {
return isWarpedType(c->land) || (!inmirrororwall(c->land) && (items[itOrb37] && c->cpdist <= 4));
return isWarpedType(c->land) || (c->land == laCanvas && canvasfloor == 3) || (!inmirrororwall(c->land) && (items[itOrb37] && c->cpdist <= 4));
}
EX bool nonAdjacent(cell *c, cell *c2) {