Skip to content

Commit

Permalink
New terrain type - sand, add grass and sand to various levels.
Browse files Browse the repository at this point in the history
Was about to add some grass to one of the Barbarian levels, when I
noticed that a good part of the descriptions involving traveling
through its quest describes a desert. Most deserts have sand, so hey,
why not create another new terrain type - sand. It basically behaves
like grass (some monsters can hide in it, same glyph symbol), but is
colored yellow. I was thinking about using a different symbol, but the
few I tried didn't look good or feel right. Plus there's font
compatibility to consider... I may come back to this bit later on.

The Barbarian quest has grass and sand where appropriate. Added grass to
the Monk and Ranger quests, inside the cage in Zoo Town (mines), the
inner Oracle spaces, and the first level of Purgatory.

I may utilize sand a bit more moving forward, I have some ideas.
  • Loading branch information
k21971 committed Oct 1, 2024
1 parent 2137a42 commit 52f0b0f
Show file tree
Hide file tree
Showing 30 changed files with 578 additions and 484 deletions.
95 changes: 48 additions & 47 deletions dat/Barb.des
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,36 @@ MAZE: "Bar-strt",' '
FLAGS: noteleport,hardfloor
GEOMETRY:center,center
MAP
.................................wPPw.......................................
..................................wPPw......................................
..................................wPPw......................................
...................................wPPw.....................................
........--------------......-----...wPPPw...................................
........|...S........|......+...|..wPPPw....................................
........|----........|......|...|...wPPw....................................
........|.\..........+......-----...........................................
........|----........|..............wPPw....................................
........|...S........|...-----......wPPPw...................................
........--------------...+...|.....wPPPPPw..................................
.........................|...|......wPPPw...................................
...-----......-----......-----.......wPPw...................................
...|...+......|...+..--+--............wPPw..................................
...|...|......|...|..|...|.............wPPw.................................
...-----......-----..|...|............wPPPPw................................
.....................-----...........wPP..PPw...............................
....................................wPP...PPw...............................
...................................wPP...PPw................................
...................................wPP....PPw...............................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPPw.......................................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPPw......................................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPPw......................................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPPw.....................................
aaaaaaaa--------------aaaaaa-----aaawPPPw...................................
aaaaaaaa|...S........|aaaaaa+...|aawPPPw....................................
aaaaaaaa|----........|aaaaaa|...|aaawPPw....................................
aaaaaaaa|.\..........+aaaaaa-----aaaaa......................................
aaaaaaaa|----........|aaaaaaaaaaaaaawPPw....................................
aaaaaaaa|...S........|aaa-----aaaaaawPPPw...................................
aaaaaaaa--------------aaa+...|aaaaawPPPPPw..................................
aaaaaaaaaaaaaaaaaaaaaaaaa|...|aaaaaawPPPw...................................
aaa-----aaaaaa-----aaaaaa-----aaaaaaawPPw...................................
aaa|...+aaaaaa|...+aa--+--aaaaaaaaaaaawPPw..................................
aaa|...|aaaaaa|...|aa|...|aaaaaaaaaaaaawPPw.................................
aaa-----aaaaaa-----aa|...|aaaaaaaaaaaawPPPPw................................
aaaaaaaaaaaaaaaaaaaaa-----aaaaaaaaaaawPP..PPw...............................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPP...PPw...............................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPP...PPw................................
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawPP....PPw...............................
ENDMAP

# the forest beyond the river
REPLACE_TERRAIN:(37,0,59,19),'.','T', 5%
REPLACE_TERRAIN:(60,0,64,19),'.','T', 10%
REPLACE_TERRAIN:(65,0,75,19),'.','T', 20%
REPLACE_TERRAIN:(37,0,75,19),'.','g', 100%
REPLACE_TERRAIN:(37,0,59,19),'g','T', 5%
REPLACE_TERRAIN:(60,0,64,19),'g','T', 10%
REPLACE_TERRAIN:(65,0,75,19),'g','T', 20%
# guarantee a path and free spot for the portal
TERRAIN:(randline (37,7),(62,02),7), '.'
TERRAIN:(62,02),'.'
TERRAIN:(randline (37,7),(62,02),7), 'g'
TERRAIN:(62,02),'g'

# Dungeon Description
REGION:(00,00,75,19),lit,"ordinary"
Expand Down Expand Up @@ -114,26 +115,26 @@ MAZE: "Bar-loca",' '
FLAGS: hardfloor
GEOMETRY:center,center
MAP
.........wPPPw........................................
..........wPPw......................................... .......
.........wPPw..........-----..........------------------ ..........
..........wPPw.........+...|..........|....S...........|.. ............
.........wPPPw.........|...|..........|-----...........|... .............
..........wPPPwwwww....-----..........+....+...........|... .............
........wwPPPPPPPPPww.................+....+...........S.................
......wwPPPPPPPPPPPPP.w.......-----...|-----...........|................
.....wPPPPPPPPPPPPPP.wPw......+...|...|....S...........| ...
....wPPPPPPPwwwwwwP.wPPPPw....|...|...------------------.. ...
...wPPPPPPPw.......wPPPPPPw...-----........................ ........
..wPPPPPPPw..T.....wPPPPPPPw................................. ..........
...wPPPPPPP.......wPPPPPPPw................................... ..........
....wPPPPP.wwwwwwwPPPPPPPw........-----........................ ........
.....wPPP.wPPPPPPPPPPPPww.........+...|......................... .....
......ww.wPPPPPPPPPPPww...........|...|......................... ....
.........wPPPPPPPPPww.............-----......................... .
..........wwwwPPPw................................................
..............wPPw...................................................
...............wPPPw..................................................
aaaaaaaaawPPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaawPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaawPPwaaaaaaaaaa-----aaaaaaaaaa------------------ aaaaaaaaaa
aaaaaaaaaawPPwaaaaaaaaa+...|aaaaaaaaaa|....S...........|aa aaaaaaaaaaaa
aaaaaaaaawPPPwaaaaaaaaa|...|aaaaaaaaaa|-----...........|aaa aaaaaaaaaaaaa
aaaaaaaaaawPPPwwwwwaaaa-----aaaaaaaaaa+....+...........|aaa aaaaaaaaaaaaa
aaaaaaaawwPPPPPPPPPwwaaaaaaaaaaaaaaaaa+....+...........Saaaaaaaaaaaaaaaaa
aaaaaawwPPPPPPPPPPPPPawaaaaaaa-----aaa|-----...........|aaaaaaaaaaaaaaaa
aaaaawPPPPPPPPPPPPPPgwPwaaaaaa+...|aaa|....S...........| aaa
aaaawPPPPPPPwwwwwwPgwPPPPwaaaa|...|aaa------------------aa aaa
aaawPPPPPPPwgggggggwPPPPPPwaaa-----aaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaa
aawPPPPPPPwggTgggggwPPPPPPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaa
aaawPPPPPPPgggggggwPPPPPPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaa
aaaawPPPPPgwwwwwwwPPPPPPPwaaaaaaaa-----aaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaa
aaaaawPPPgwPPPPPPPPPPPPwwaaaaaaaaa+...|aaaaaaaaaaaaaaaaaaaaaaaaa aaaaa
aaaaaawwawPPPPPPPPPPPwwaaaaaaaaaaa|...|aaaaaaaaaaaaaaaaaaaaaaaaa aaaa
aaaaaaaaawPPPPPPPPPwwaaaaaaaaaaaaa-----aaaaaaaaaaaaaaaaaaaaaaaaa a
aaaaaaaaaawwwwPPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaawPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaawPPPwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
ENDMAP
# Dungeon Description
REGION:(00,00,75,19),lit,"ordinary"
Expand Down Expand Up @@ -316,8 +317,8 @@ WALLIFY
# and goal levels.
#

MAZE: "Bar-fila" , ' '
INIT_MAP: mines, '.' , '.' , true , true , unlit , false
MAZE: "Bar-fila" , 'a'
INIT_MAP: mines, '.' , 'a' , true , true , unlit , false
NOMAP
#
STAIR: random, up
Expand Down
44 changes: 22 additions & 22 deletions dat/Monk.des
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,33 @@ MAZE: "Mon-strt",' '
FLAGS: noteleport,hardfloor
GEOMETRY:center,center
MAP
............................................................................
............................................................................
............................................................................
....................------------------------------------....................
....................|................|.....|.....|.....|....................
....................|..------------..|--+-----+-----+--|....................
....................|..|..........|..|.................|....................
....................|..|..........|..|+---+---+-----+--|....................
..................---..|..........|......|...|...|.....|....................
..................+....|..........+......|...|...|.....|....................
..................+....|..........+......|...|...|.....|....................
..................---..|..........|......|...|...|.....|....................
....................|..|..........|..|+-----+---+---+--|....................
....................|..|..........|..|.................|....................
....................|..------------..|--+-----+-----+--|....................
....................|................|.....|.....|.....|....................
....................------------------------------------....................
............................................................................
............................................................................
............................................................................
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggg------------------------------------gggggggggggggggggggg
gggggggggggggggggggg|................|.....|.....|.....|gggggggggggggggggggg
gggggggggggggggggggg|..------------..|--+-----+-----+--|gggggggggggggggggggg
gggggggggggggggggggg|..|..........|..|.................|gggggggggggggggggggg
gggggggggggggggggggg|..|..........|..|+---+---+-----+--|gggggggggggggggggggg
gggggggggggggggggg---..|..........|......|...|...|.....|gggggggggggggggggggg
gggggggggggggggggg+....|..........+......|...|...|.....|gggggggggggggggggggg
gggggggggggggggggg+....|..........+......|...|...|.....|gggggggggggggggggggg
gggggggggggggggggg---..|..........|......|...|...|.....|gggggggggggggggggggg
gggggggggggggggggggg|..|..........|..|+-----+---+---+--|gggggggggggggggggggg
gggggggggggggggggggg|..|..........|..|.................|gggggggggggggggggggg
gggggggggggggggggggg|..------------..|--+-----+-----+--|gggggggggggggggggggg
gggggggggggggggggggg|................|.....|.....|.....|gggggggggggggggggggg
gggggggggggggggggggg------------------------------------gggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
ENDMAP
# Dungeon Description
REGION:(00,00,75,19),lit,"ordinary"
REGION:(24,06,33,13),lit,"temple"

REPLACE_TERRAIN:(0,0,10,19),'.','T',10%
REPLACE_TERRAIN:(65,0,75,19),'.','T',10%
REPLACE_TERRAIN:(0,0,10,19),'g','T',10%
REPLACE_TERRAIN:(65,0,75,19),'g','T',10%

# Portal arrival point
TERRAIN:(05,04),'.'
Expand Down
43 changes: 22 additions & 21 deletions dat/Ranger.des
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,31 @@
MAZE: "Ran-strt",'.'
FLAGS: noteleport,hardfloor,arboreal
INIT_MAP:mines,'.','.',true,true,lit,false
REPLACE_TERRAIN:(0,0,76,19),'.', 'T', 5%
REPLACE_TERRAIN:(0,0,78,20),'.', 'g', 100%
REPLACE_TERRAIN:(0,0,76,19),'g', 'T', 5%
GEOMETRY:left,center
#1234567890123456789012345678901234567890123456789012345678901234567890
MAP
xx
................................... x
.. ..
.. ...............F............... ..
. .. .F. .. .
. .. .............F............. .. .
. . .. .. . .
. . .. ....................... .. ...
. . . .. .. .
... . .. .|..................... ......
FFF . . ..S..................
... . .. .|................. .... ...
. . . .. .. . . .
. . .. ....................... .. . .
. . .. .. . .
. .. .............F............. .. .
. .. .F. .. .
.. ...............F............... ..
.. ..
................................... x
ggggggggggggggggggggggggggggggggggg x
gg gg
gg gggggggggggggggFggggggggggggggg gg
g gg gFg gg g
g gg gggggggggggggFggggggggggggg gg g
g g gg gg g g
g g gg ggggggggggggggggggggggg gg ggg
g g g gg gg g
ggg g gg g|ggggggggggggggggggggg gggggg
FFF g g ggSgggggggggggggggggg
ggg g gg g|ggggggggggggggggg gggg ggg
g g g gg gg g g g
g g gg ggggggggggggggggggggggg gg g g
g g gg gg g g
g gg gggggggggggggFggggggggggggg gg g
g gg gFg gg g
gg gggggggggggggggFggggggggggggggg gg
gg gg
ggggggggggggggggggggggggggggggggggg x
xx
ENDMAP
# Dungeon Description
Expand Down Expand Up @@ -315,7 +316,7 @@ WALLIFY
#

MAZE: "Ran-fila" , ' '
INIT_MAP: mines, '.' , 'T', true, true, random, true
INIT_MAP: mines, 'g' , 'T', true, true, random, true
NOMAP
#
STAIR: random, up
Expand Down
6 changes: 3 additions & 3 deletions dat/mines.des
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,9 @@ MAP
.-----...................-------------.-
.|...|...................|...|...|...|..
.|...+..--+--...-FFF+F...|...|...|...|..
.|...|..|...|...|....F...|...|-+---+--..
.-----..|...|...|....F...---+-.........|
........|...|...|....F...........-----..
.|...|..|...|...|ggggF...|...|-+---+--..
.-----..|...|...|ggggF...---+-.........|
........|...|...|ggggF...........-----..
........-----...------....--+-...|...|..
.----...|...|.{........{..|..|...+...|..
.|..+...|...|.............|..|...|...|..
Expand Down
10 changes: 10 additions & 0 deletions dat/oracle.des
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ ROOM: "delphi" , lit, (3,3), (center,center), (11,9) {
TERRAIN:(00,04),'T'
TERRAIN:(10,04),'T'

# Grass
REPLACE_TERRAIN:(0,0,10,8), '.', 'g', 100%

SUBROOM: "ordinary" , lit , (4,3) , (3,3) {
FOUNTAIN: (0, 1)
FOUNTAIN: (1, 0)
FOUNTAIN: (1, 2)
FOUNTAIN: (2, 1)
REPLACE_TERRAIN:(0,0,2,2), '.', 'g', 100%
MONSTER: ('@', "Oracle"), (1,1) {
OBJECT: ('(', "eight ball"), uncursed, name:"Magic 8-Ball"
}
Expand Down Expand Up @@ -104,6 +108,9 @@ ROOM: "delphi" , lit, (3,3), (center,center), (11,9) {
FOUNTAIN:(2,7)
FOUNTAIN:(8,7)

# Grass
REPLACE_TERRAIN:(0,0,10,8), '.', 'g', 100%

# statues of the 4 elements - appropriately neutral
$statuelocs = { (5,0),(5,8),(1,4),(9,4) }
SHUFFLE:$statuelocs
Expand Down Expand Up @@ -213,6 +220,9 @@ ROOM: "delphi" , lit, (3,3), (center,center), (11,9) {
TERRAIN:(07,02),'T'
TERRAIN:(07,06),'T'

# Grass
REPLACE_TERRAIN:(0,0,10,8), '.', 'g', 100%

$statuelocs = { (0,0),(10,0),(0,8),(10,8) }
SHUFFLE:$statuelocs
OBJECT:('`',"statue"),$statuelocs[0],montype:"snake",1
Expand Down
40 changes: 20 additions & 20 deletions dat/purgatory.des
Original file line number Diff line number Diff line change
Expand Up @@ -144,26 +144,26 @@ GEOMETRY:left,center
# 1 2 3 4 5 6 7 7
#123456789012345678901234567890123456789012345678901234567890123456789012345
MAP
TT..PPPPP..TTTTTTTTTTTTTTTTT...TTTTTTTTTTTTTTTTT...TTT.TTTT.----------------
T..T.PPPPP...TTTTTT..........TTTTTTTTTTT....................|..............|
......PPP.......................................TTTTT......T|..............|
TTT....PPP......TTT.....................P....TTTT.........TT|..............|
..TT..PPPP....TTTT......TTTT...........PPP...............TT.......---------|
.......PPPP...............TT............P................TT.......|........|
..TT....PPPP......TT..............TTT........TT......T....T.......+........|
.TTT....PPPPP.....T...............TTT.......TTT...................|........|
.........PPPP..T..TPPPPPPPP........TT.........TTT......T..........+........|
....T..T..PPP.TT.PPPPPPT.PPPPPP....T..............................|........|
...........PPPPPPPPP........PPPPPPPP.......TT.....TT..............---------|
..TT......PPPPPPP..............PPPPPPPPP.TTT.......TT.......|..............|
T..TTT..PPPPP.........TTTTT.......PPPPPPPP.............TT...|..............|
T......PPPPP.TT.....TTT...TTT.......T.PPPPPP...........TTT..|..............|
.......PPPP..T.....TT.......TT.....TTT...PPPPPPPPP......T...----------------
......PPPP........TT..........................PPPPPPP.........ttt........t..
.....TTPPPP.......TT.................TTTTT........PPPPP..............TTT....
......T.PPPP..TT...TT.......TT.....TTTTT............PPPP..............T....T
T........PPPPTT.....TTT...TTT........TTTT....TTT......PPPPP...............TT
T..TTTT...PPP...T.....TTTTT.............................PPPPPP....TTTTTTTTTT
TTggPPPPPggTTTTTTTTTTTTTTTTTgggTTTTTTTTTTTTTTTTTgggTTTgTTTTg----------------
TggTgPPPPPgggTTTTTTggggggggggTTTTTTTTTTTgggggggggggggggggggg|gggggggggggggg|
ggggggPPPgggggggggggggggggggggggggggggggggggggggTTTTTggggggT|gggggggggggggg|
TTTggggPPPggggggTTTgggggggggggggggggggggPggggTTTTgggggggggTT|gggggggggggggg|
ggTTggPPPPggggTTTTggggggTTTTgggggggggggPPPgggggggggggggggTTggggggg---------|
gggggggPPPPgggggggggggggggTTggggggggggggPggggggggggggggggTTggggggg|........|
ggTTggggPPPPggggggTTggggggggggggggTTTggggggggTTggggggTggggTggggggg+........|
gTTTggggPPPPPgggggTgggggggggggggggTTTgggggggTTTggggggggggggggggggg|........|
gggggggggPPPPggTggTPPPPPPPPggggggggTTgggggggggTTTggggggTgggggggggg+........|
ggggTggTggPPPgTTgPPPPPPTgPPPPPPggggTgggggggggggggggggggggggggggggg|........|
gggggggggggPPPPPPPPPggggggggPPPPPPPPgggggggTTgggggTTgggggggggggggg---------|
ggTTggggggPPPPPPPggggggggggggggPPPPPPPPPgTTTgggggggTTggggggg|gggggggggggggg|
TggTTTggPPPPPgggggggggTTTTTgggggggPPPPPPPPgggggggggggggTTggg|gggggggggggggg|
TggggggPPPPPgTTgggggTTTgggTTTgggggggTgPPPPPPgggggggggggTTTgg|gggggggggggggg|
gggggggPPPPggTgggggTTgggggggTTgggggTTTgggPPPPPPPPPggggggTggg----------------
ggggggPPPPggggggggTTggggggggggggggggggggggggggPPPPPPPgggggggggtttggggggggtgg
gggggTTPPPPgggggggTTgggggggggggggggggTTTTTggggggggPPPPPggggggggggggggTTTgggg
ggggggTgPPPPggTTgggTTgggggggTTgggggTTTTTggggggggggggPPPPggggggggggggggTggggT
TggggggggPPPPTTgggggTTTgggTTTggggggggTTTTggggTTTggggggPPPPPgggggggggggggggTT
TggTTTTgggPPPgggTgggggTTTTTgggggggggggggggggggggggggggggPPPPPPggggTTTTTTTTTT
ENDMAP

# Random monsters
Expand Down
9 changes: 7 additions & 2 deletions dat/symbols
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ start: NHAccess
S_pool: \042
S_ice: \042
S_grass: \035
S_sand: \035
S_lava: \035
S_vodbridge: \035
S_hodbridge: \032
Expand Down Expand Up @@ -264,6 +265,7 @@ start: Blank
S_rslant: \032
S_rust_trap: \032
S_rustmonst: \032
S_sand: \032
S_scroll: \032
S_sewage: \032
S_sink: \032
Expand Down Expand Up @@ -361,6 +363,7 @@ start: IBMgraphics
S_pool: \xf7 # meta-w, approx. equals
S_ice: \xfa # meta-z, centered dot
S_grass: \xfa # meta-z, centered dot
S_sand: \xfa # meta-z, centered dot
S_lava: \xf7 # meta-w, approx. equals
S_vodbridge: \xfa # meta-z, centered dot
S_hodbridge: \xfa # meta-z, centered dot
Expand Down Expand Up @@ -579,7 +582,8 @@ start: curses
S_corr: \xe1 # meta-a, solid block
S_litcorr: \xe1 # meta-a, solid block
S_ice: \xfe # meta-z, centered dot
S_grass: \xfe # meta-z, centered dot
S_grass: \xfe # meta-z, centered dot
S_sand: \xfe # meta-z, centered dot
S_vodbridge: \xfe # meta-z, centered dot
S_hodbridge: \xfe # meta-z, centered dot
S_vbeam: \xf8 # meta-3, vertical rule
Expand Down Expand Up @@ -619,7 +623,8 @@ start: DECgraphics
S_sewage: \xe0 # meta-\, diamond
S_pool: \xe0 # meta-\, diamond
S_ice: \xfe # meta-~, centered dot
S_grass: \xfe # meta-~, centered dot
S_grass: \xfe # meta-~, centered dot
S_sand: \xfe # meta-~, centered dot
S_lava: \xe0 # meta-\, diamond
S_vodbridge: \xfe # meta-~, centered dot
S_hodbridge: \xfe # meta-~, centered dot
Expand Down
Loading

0 comments on commit 52f0b0f

Please sign in to comment.