Walls of lava

Add "walls of lava", basically lava which blocks vision and
require a bit more than just levitation or flight to move through.

No levels use this yet, as testing isn't thorough enough.
This commit is contained in:
Pasi Kallinen
2023-02-06 19:23:39 +02:00
parent b85fb2a197
commit 7401b44fa1
17 changed files with 338 additions and 289 deletions

View File

@@ -519,6 +519,9 @@ waterbody_name(coordxy x, coordxy y)
return "limitless water"; /* even if hallucinating */
Snprintf(pooltype, sizeof pooltype, "wall of %s", hliquid("water"));
return pooltype;
} else if (ltyp == LAVAWALL) {
Snprintf(pooltype, sizeof pooltype, "wall of %s", hliquid("lava"));
return pooltype;
}
/* default; should be unreachable */
return "water"; /* don't hallucinate this as some other liquid */