mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
improved how Earth works in CC
This commit is contained in:
parent
f9fec7607f
commit
facb0a04d5
@ -198,6 +198,10 @@ EX bool earthFloor(cell *c) {
|
||||
c->wall = waNone;
|
||||
return true;
|
||||
}
|
||||
if(c->land == laCursed && among(c->wall, waDeepWater, waShallow)) {
|
||||
c->wall = waNone;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -264,6 +268,10 @@ EX bool earthWall(cell *c) {
|
||||
c->wall = waMercury;
|
||||
return true;
|
||||
}
|
||||
if(c->land == laCursed && among(c->wall, waNone, waShallow)) {
|
||||
c->wall = waSea;
|
||||
return true;
|
||||
}
|
||||
if(c->wall == waCIsland || c->wall == waCIsland2 || (c->wall == waNone && c->land == laOcean)) {
|
||||
c->item = itNone;
|
||||
c->wall = waSea;
|
||||
|
Loading…
Reference in New Issue
Block a user