Merge branch 'master' into win32-x64-working
This commit is contained in:
@@ -35,6 +35,9 @@ PP...............PPPPP................................PPPP...PPPP........PPP
|
|||||||
PPP.............PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP....PPPPPP
|
PPP.............PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP....PPPPPP
|
||||||
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
|
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
|
||||||
ENDMAP
|
ENDMAP
|
||||||
|
|
||||||
|
REPLACE_TERRAIN:(01,01,74,18), 'P', '.', 10%
|
||||||
|
|
||||||
# Dungeon Description
|
# Dungeon Description
|
||||||
REGION:(00,00,75,19),lit,"ordinary"
|
REGION:(00,00,75,19),lit,"ordinary"
|
||||||
# Stairs
|
# Stairs
|
||||||
|
|||||||
@@ -30,6 +30,32 @@ MAP
|
|||||||
|.........................................................................|
|
|.........................................................................|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
ENDMAP
|
ENDMAP
|
||||||
|
|
||||||
|
$terrains = TERRAIN:{'-', 'F', 'L', 'T', 'C'}
|
||||||
|
SHUFFLE:$terrains
|
||||||
|
|
||||||
|
[50%]: SWITCH [ 4 ] {
|
||||||
|
CASE 0:
|
||||||
|
TERRAIN:line (10,8),(65, 8), $terrains[0]
|
||||||
|
BREAK
|
||||||
|
CASE 1:
|
||||||
|
TERRAIN:line (15,4),(15, 13), $terrains[0]
|
||||||
|
TERRAIN:line (59,4),(59, 13), $terrains[0]
|
||||||
|
BREAK
|
||||||
|
CASE 2:
|
||||||
|
TERRAIN:line (10,8),(38, 8), $terrains[0]
|
||||||
|
TERRAIN:line (37,8),(65, 8), $terrains[0]
|
||||||
|
TERRAIN:line (37,3),(37, 8), $terrains[0]
|
||||||
|
TERRAIN:line (37,8),(37,14), $terrains[0]
|
||||||
|
BREAK
|
||||||
|
CASE 3:
|
||||||
|
TERRAIN:rect (4,4,70,13), $terrains[0]
|
||||||
|
TERRAIN:line (25, 4),(50, 4), '.'
|
||||||
|
TERRAIN:line (25,13),(50,13), '.'
|
||||||
|
BREAK
|
||||||
|
DEFAULT:
|
||||||
|
}
|
||||||
|
|
||||||
# Dungeon Description
|
# Dungeon Description
|
||||||
REGION:(01,01,73,16),lit,"ordinary"
|
REGION:(01,01,73,16),lit,"ordinary"
|
||||||
# Stairs
|
# Stairs
|
||||||
@@ -561,6 +587,12 @@ MAP
|
|||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
ENDMAP
|
ENDMAP
|
||||||
|
|
||||||
|
IF [40%] {
|
||||||
|
$terrain = TERRAIN:{ 'L', '}', 'T', '.', '-', 'C' }
|
||||||
|
SHUFFLE:$terrain
|
||||||
|
REPLACE_TERRAIN:(0,0,74,17),'F', $terrain[0], 100%
|
||||||
|
}
|
||||||
|
|
||||||
REGION:(01,01,73,16),lit,"ordinary"
|
REGION:(01,01,73,16),lit,"ordinary"
|
||||||
|
|
||||||
STAIR:random,up
|
STAIR:random,up
|
||||||
@@ -654,6 +686,15 @@ MAP
|
|||||||
.......................................................................
|
.......................................................................
|
||||||
ENDMAP
|
ENDMAP
|
||||||
|
|
||||||
|
IF [33%] {
|
||||||
|
# occasionally it's not a fog maze
|
||||||
|
$terrain = TERRAIN:{ 'L', '}', 'T', '-', 'F' }
|
||||||
|
SHUFFLE:$terrain
|
||||||
|
# break it up a bit
|
||||||
|
REPLACE_TERRAIN:(0,0,70,18),'C', '.', 5%
|
||||||
|
REPLACE_TERRAIN:(0,0,70,18),'C', $terrain[0], 100%
|
||||||
|
}
|
||||||
|
|
||||||
REGION:(00,00,70,18),lit,"ordinary"
|
REGION:(00,00,70,18),lit,"ordinary"
|
||||||
|
|
||||||
# when falling down on this level, never end up in the fog maze
|
# when falling down on this level, never end up in the fog maze
|
||||||
|
|||||||
@@ -45,6 +45,9 @@ MAP
|
|||||||
..
|
..
|
||||||
|
|
||||||
ENDMAP
|
ENDMAP
|
||||||
|
|
||||||
|
REPLACE_TERRAIN:(0,0,75,19), ' ', ('.', unlit), 5%
|
||||||
|
|
||||||
# Since there are no stairs, this forces the hero's initial placement
|
# Since there are no stairs, this forces the hero's initial placement
|
||||||
TELEPORT_REGION:(69,16,69,16),(0,0,0,0)
|
TELEPORT_REGION:(69,16,69,16),(0,0,0,0)
|
||||||
PORTAL:(0,0,75,19),(65,13,75,19),"air"
|
PORTAL:(0,0,75,19),(65,13,75,19),"air"
|
||||||
@@ -503,6 +506,19 @@ MAP
|
|||||||
|...............|
|
|...............|
|
||||||
-----------------
|
-----------------
|
||||||
ENDMAP
|
ENDMAP
|
||||||
|
|
||||||
|
IF [75%] {
|
||||||
|
TERRAIN:fillrect (17,14, 30,18),'.'
|
||||||
|
TERRAIN:fillrect (44,14, 57,18),'.'
|
||||||
|
WALLIFY
|
||||||
|
|
||||||
|
$hall = selection:floodfill(37,18)
|
||||||
|
LOOP [6 + 3d4] {
|
||||||
|
MONSTER:('A',"Angel"),rndcoord($hall),noalign,hostile
|
||||||
|
[50%]: MONSTER:random,rndcoord($hall),hostile
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Rider locations
|
# Rider locations
|
||||||
$place = { (23,9),(37,14),(51,9) }
|
$place = { (23,9),(37,14),(51,9) }
|
||||||
SHUFFLE: $place
|
SHUFFLE: $place
|
||||||
|
|||||||
@@ -1913,8 +1913,8 @@ long* out_cnt;
|
|||||||
/* wiz_identify stuffed the wiz_identify cmd character
|
/* wiz_identify stuffed the wiz_identify cmd character
|
||||||
into iflags.override_ID */
|
into iflags.override_ID */
|
||||||
Sprintf(prompt, "Debug Identify (%s to permanently identify)",
|
Sprintf(prompt, "Debug Identify (%s to permanently identify)",
|
||||||
visctrl(iflags.override_ID));
|
visctrl(iflags.override_ID));
|
||||||
add_menu(win, NO_GLYPH, &any,' ', iflags.override_ID, ATR_NONE,
|
add_menu(win, NO_GLYPH, &any,'_', iflags.override_ID, ATR_NONE,
|
||||||
prompt, MENU_UNSELECTED);
|
prompt, MENU_UNSELECTED);
|
||||||
}
|
}
|
||||||
nextclass:
|
nextclass:
|
||||||
|
|||||||
Reference in New Issue
Block a user