fix #H1232 - hole in ice is described as moat [1 of 2] (trunk only)

From a bug report, when ice on the Valkyrie
quest home level was melted and a boulder filled the resulting pool, that
pool was described as a moat.  This was actually a terrain issue rather
than a formatting glitch, so instead of tweaking waterbody_name() with an
extra special case, extend the level compiler to allow specifying ice as
frozen pool instead of always being frozen moat.  There's no provision
for having both types of ice on the same level, just a level-wide flag to
control which of the two applies for ice on that level.

     This change has a side-effect for the V quest levels:  once ice has
been melted, a second blast of fire will now boil away the pool and leave
a pit.  The unfrozen water locations on the home level already behaved
that way (ie, they are pools rather than moats) so this should be ok.  I
also added <Someone>'s suggestion to make one of the two drawbridges
on the goal level start in random state instead of always being open.
This commit is contained in:
nethack.rankin
2007-08-03 01:05:50 +00:00
parent 1a1373c3d7
commit 4c83db0294
6 changed files with 47 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
# SCCS Id: @(#)Valkyrie.des 3.5 2002/05/02
# SCCS Id: @(#)Valkyrie.des 3.5 2007/08/01
# Copyright (c) 1989 by Jean-Christophe Collet
# Copyright (c) 1991-2 by M. Stephenson
# NetHack may be freely redistributed. See license for details.
@@ -10,6 +10,7 @@
#
MAZE: "Val-strt",' '
FLAGS: noteleport,hardfloor
INIT_MAP: '.', 'I', true, true, lit, false, true
GEOMETRY:center,center
MAP
IIIIIIPPPIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
@@ -89,7 +90,7 @@ MONSTER: 'H',"fire giant",(10,16),hostile
MAZE: "Val-loca",' '
FLAGS: hardfloor
INIT_MAP: '.' , 'I' , true , true , lit , false
INIT_MAP: '.', 'I', true, true, lit, false, true
GEOMETRY:center,center
MAP
PPPP.... ....PPPPP.
@@ -174,7 +175,7 @@ MONSTER:'H',random,random,hostile
#
MAZE: "Val-goal", 'L'
INIT_MAP: '.' , 'L' , true , true , lit , false
INIT_MAP: '.', 'L', true, true, lit, false, true
GEOMETRY:center,center
MAP
.L............................LLLLL
@@ -203,7 +204,7 @@ STAIR:(45,10),up
# Non diggable walls
NON_DIGGABLE:(00,00,34,16)
# Drawbridges
DRAWBRIDGE:(17,02),south,open
DRAWBRIDGE:(17,02),south,random
DRAWBRIDGE:(17,14),north,open
# Objects
OBJECT:'(',"crystal ball",(17,08),blessed,5,"The Orb of Fate"
@@ -264,7 +265,7 @@ MONSTER:'H',random,random,hostile
#
MAZE: "Val-fila" , 'I'
INIT_MAP: '.' , 'I' , true , true , lit, false
INIT_MAP: '.', 'I', true, true, lit, false, true
NOMAP
#
STAIR: random, up
@@ -297,7 +298,7 @@ TRAP: random, random
TRAP: random, random
MAZE: "Val-filb" , 'L'
INIT_MAP: '.' , 'L' , true , true , lit, false
INIT_MAP: '.', 'L', true, true, lit, false, true
NOMAP
#
STAIR: random, up