Wizard-mode wishing for (melting) ice
This commit is contained in:
@@ -1327,7 +1327,8 @@ when hallucinating, see hallucinated liquids when looking at water or lava
|
||||
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), hidden corridor
|
||||
spots ("secret corridor" at a corridor location), clouds and walls
|
||||
spots ("secret corridor" at a corridor location), clouds, walls,
|
||||
and (melting) ice
|
||||
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
|
||||
|
||||
10
src/objnam.c
10
src/objnam.c
@@ -3198,6 +3198,16 @@ wizterrainwish(struct _readobjnam_data *d)
|
||||
if (!(Levitation || Flying))
|
||||
pooleffects(FALSE);
|
||||
madeterrain = TRUE;
|
||||
} else if (!BSTRCMPI(bp, p - 3, "ice")) {
|
||||
lev->typ = ICE;
|
||||
lev->flags = 0;
|
||||
del_engr_at(x, y);
|
||||
|
||||
if (!strncmpi(bp, "melting ", 8))
|
||||
start_melt_ice_timeout(x, y, 0L);
|
||||
|
||||
pline("Ice.");
|
||||
madeterrain = TRUE;
|
||||
} else if (!BSTRCMPI(bp, p - 5, "altar")) {
|
||||
aligntyp al;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user