Allow wizmode wishing for cloud terrain
This commit is contained in:
@@ -112,8 +112,8 @@ when hallucinating, see hallucinated liquids when looking at water or lava
|
||||
on the map
|
||||
applying a spellbook hints about read charges left
|
||||
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
|
||||
spots ("secret corridor" at a corridor location)
|
||||
"secret door" when at a door or wall location), hidden corridor
|
||||
spots ("secret corridor" at a corridor location), and clouds
|
||||
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
|
||||
occur in hero's initial inventory or NPC priest inventory or be
|
||||
|
||||
@@ -3046,6 +3046,10 @@ int locked, trapped;
|
||||
lev->typ = IRONBARS;
|
||||
pline("Iron bars.");
|
||||
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")) {
|
||||
if (lev->typ == DOOR
|
||||
|| (IS_WALL(lev->typ) && lev->typ != DBWALL)) {
|
||||
|
||||
Reference in New Issue
Block a user