Allow wizmode wishing for cloud terrain
This commit is contained in:
+2
-2
@@ -112,8 +112,8 @@ when hallucinating, see hallucinated liquids when looking at water or lava
|
|||||||
on the map
|
on the map
|
||||||
applying a spellbook hints about read charges left
|
applying a spellbook hints about read charges left
|
||||||
wizard mode wishing for level topology can now create hidden doors (ask for
|
wizard mode wishing for level topology can now create hidden doors (ask for
|
||||||
"secret door" when at a door or wall location) and hidden corridor
|
"secret door" when at a door or wall location), hidden corridor
|
||||||
spots ("secret corridor" at a corridor location)
|
spots ("secret corridor" at a corridor location), and clouds
|
||||||
tiny chance for randomly created spellbooks to be Discworld novels instead
|
tiny chance for randomly created spellbooks to be Discworld novels instead
|
||||||
of having only one in the first book or scroll shop created (won't
|
of having only one in the first book or scroll shop created (won't
|
||||||
occur in hero's initial inventory or NPC priest inventory or be
|
occur in hero's initial inventory or NPC priest inventory or be
|
||||||
|
|||||||
@@ -3046,6 +3046,10 @@ int locked, trapped;
|
|||||||
lev->typ = IRONBARS;
|
lev->typ = IRONBARS;
|
||||||
pline("Iron bars.");
|
pline("Iron bars.");
|
||||||
madeterrain = TRUE;
|
madeterrain = TRUE;
|
||||||
|
} else if (!BSTRCMPI(bp, p - 5, "cloud")) {
|
||||||
|
lev->typ = CLOUD;
|
||||||
|
pline("A cloud.");
|
||||||
|
madeterrain = TRUE;
|
||||||
} else if (!BSTRCMPI(bp, p - 11, "secret door")) {
|
} else if (!BSTRCMPI(bp, p - 11, "secret door")) {
|
||||||
if (lev->typ == DOOR
|
if (lev->typ == DOOR
|
||||||
|| (IS_WALL(lev->typ) && lev->typ != DBWALL)) {
|
|| (IS_WALL(lev->typ) && lev->typ != DBWALL)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user