%name wall
%prefix TILE
%startvalue TILE_FLOOR_MAX tiledef-floor.h

%sdir dc-dngn/wall

# Multiple tile definitions are STATIC, that is they may change between
# saves but are otherwise fixed.

%weight 35
brick_dark0 WALL_BRICK_DARK WALL_NORMAL
brick_dark1
brick_dark2
brick_dark3
# sewer grate
%weight 3
brick_dark4
# bones
%weight 1
brick_dark5
# vines
%weight 5
brick_dark6
# banner
%weight 3
%back brick_dark1
banners/banner1
%back none

%back brick_dark0
# torch (out)
%weight 3
torches/torch0
%weight 1
# torches (lit)
torches/torch1
%syn WALL_BRICK_TORCH_START
torches/torch2
torches/torch3
torches/torch4
%syn WALL_BRICK_TORCH_END
%back none

%weight 5
brick_brown0 WALL_BRICK WALL_BRICK_BROWN
brick_brown1
brick_brown2
brick_brown4
brick_brown5
%weight 2
brick_brown3
brick_brown6
%weight 1
brick_brown7

%variation WALL_BRICK blue
%hue 30 240
%hue 0 240
%repeat WALL_BRICK WALL_BRICK_BLUE
%resetcol

%variation WALL_BRICK green
%hue 30 90
%hue 0 90
%repeat WALL_BRICK WALL_BRICK_GREEN WALL_SNAKE
%resetcol

%variation WALL_BRICK cyan
%hue 30 180
%hue 0 180
%repeat WALL_BRICK WALL_BRICK_CYAN
%resetcol

%variation WALL_BRICK red
%hue 30 0
%repeat WALL_BRICK WALL_BRICK_RED
%resetcol

%variation WALL_BRICK magenta
%hue 30 300
%hue 0 300
%repeat WALL_BRICK WALL_BRICK_MAGENTA
%resetcol

%variation WALL_BRICK lightgray
%desat 30
%desat 0
%lum 0 10
%repeat WALL_BRICK WALL_BRICK_LIGHTGRAY
%resetcol

%variation WALL_BRICK darkgray
%desat 30
%lum 30 -20
%desat 0
%repeat WALL_BRICK WALL_BRICK_DARKGRAY
%resetcol

%variation WALL_BRICK lightblue
%hue 30 240
%lum 30 15
%hue 0 240
%repeat WALL_BRICK WALL_BRICK_LIGHTBLUE
%resetcol

%variation WALL_BRICK lightgreen
%hue 30 90
%lum 30 15
%hue 0 90
%lum 0 5
%repeat WALL_BRICK WALL_BRICK_LIGHTGREEN
%resetcol

%variation WALL_BRICK lightcyan
%hue 30 180
%lum 30 15
%hue 0 180
%lum 0 5
%repeat WALL_BRICK WALL_BRICK_LIGHTCYAN
%resetcol

%variation WALL_BRICK lightred
%hue 30 0
%lum 30 15
%lum 0 5
%repeat WALL_BRICK WALL_BRICK_LIGHTRED
%resetcol

%variation WALL_BRICK lightmagenta
%hue 30 300
%lum 30 15
%hue 0 300
%lum 0 5
%repeat WALL_BRICK WALL_BRICK_LIGHTMAGENTA
%resetcol

%variation WALL_BRICK yellow
%hue 30 60
%hue 0 60
%repeat WALL_BRICK WALL_BRICK_YELLOW
%resetcol

%variation WALL_BRICK white
%desat 30
%lum 30 30
%desat 0
%lum 0 15
%repeat WALL_BRICK WALL_BRICK_WHITE
%resetcol

# Variant of BRICK_WALL_BROWN with vines
brick_brown-vines1 WALL_BRICK_VINES WALL_BRICK_BROWN_VINES
brick_brown-vines2
brick_brown-vines3
brick_brown-vines4

relief0 WALL_HALL
relief1
relief2
relief3

%variation WALL_HALL white
%lum 0 40
%lum 28 40
%lum 29 40
%lum 30 40
%repeat WALL_HALL WALL_HALL_WHITE
%resetcol

%variation WALL_HALL darkgray
%lum 0 -25
%repeat WALL_HALL WALL_HALL_DARKGRAY
%resetcol

# Maybe move these down to the "pebble" section?
#hive0 WALL_HIVE_OLD
#hive1
#hive2
#hive3

beehives0 WALL_HIVE
beehives1
beehives2
beehives3
beehives4
beehives5
beehives6
beehives7
beehives8
beehives9

lair0 WALL_LAIR WALL_ORC WALL_SWAMP
lair1
lair2
lair3

slime0 WALL_SLIME
slime1
slime2
slime3

tomb0 WALL_TOMB
tomb1
tomb2
tomb3

vault0 WALL_VAULT
vault1
vault2
vault3

zot_blue0 WALL_ZOT WALL_ZOT_BLUE
zot_blue1
zot_blue2
zot_blue3

%variation WALL_ZOT green
%hue 240 120
%repeat WALL_ZOT WALL_ZOT_GREEN
%resetcol

%variation WALL_ZOT cyan
%hue 240 180
%repeat WALL_ZOT WALL_ZOT_CYAN WALL_ICE
%resetcol

%variation WALL_ZOT red
%hue 240 0
%repeat WALL_ZOT WALL_ZOT_RED
%resetcol

%variation WALL_ZOT magenta
%hue 240 300
%repeat WALL_ZOT WALL_ZOT_MAGENTA
%resetcol

%variation WALL_ZOT brown
%hue 240 30
%repeat WALL_ZOT WALL_ZOT_BROWN
%resetcol

%variation WALL_ZOT lightgray
%desat 240
%lum 240 -15
%repeat WALL_ZOT WALL_ZOT_LIGHTGRAY
%resetcol

%variation WALL_ZOT darkgray
%desat 240
%lum 240 -30
%repeat WALL_ZOT WALL_ZOT_DARKGRAY
%resetcol

%variation WALL_ZOT lightblue
%lum 240 40
%repeat WALL_ZOT WALL_ZOT_LIGHTBLUE
%resetcol

%variation WALL_ZOT lightgreen
%hue 240 120
%lum 240 15
%repeat WALL_ZOT WALL_ZOT_LIGHTGREEN
%resetcol

%variation WALL_ZOT lightcyan
%hue 240 180
%lum 240 15
%repeat WALL_ZOT WALL_ZOT_LIGHTCYAN
%resetcol

%variation WALL_ZOT lightred
%hue 240 0
%lum 240 40
%repeat WALL_ZOT WALL_ZOT_LIGHTRED
%resetcol

%variation WALL_ZOT lightmagenta
%hue 240 300
%lum 240 40
%repeat WALL_ZOT WALL_ZOT_LIGHTMAGENTA
%resetcol

%variation WALL_ZOT yellow
%hue 240 60
%repeat WALL_ZOT WALL_ZOT_YELLOW
%resetcol

%variation WALL_ZOT white
%desat 240
%lum 240 10
%repeat WALL_ZOT WALL_ZOT_WHITE
%resetcol

%weight 2
wall_flesh0 WALL_FLESH
wall_flesh1
wall_flesh2
wall_flesh3
%weight 1
wall_flesh4
wall_flesh5
wall_flesh6
%weight 2
transparent_flesh1 WALL_TRANSPARENT_FLESH
transparent_flesh2
transparent_flesh3
%weight 1
transparent_flesh4
transparent_flesh5
transparent_flesh6

wall_vines0 WALL_VINES
wall_vines1
wall_vines2
wall_vines3
wall_vines4
wall_vines5
wall_vines6

pebble_red0 WALL_PEBBLE WALL_PEBBLE_RED
pebble_red1
pebble_red2
pebble_red3

%variation WALL_PEBBLE blue
%hue 0 240
%repeat WALL_PEBBLE WALL_PEBBLE_BLUE
%resetcol

%variation WALL_PEBBLE green
%hue 0 90
%repeat WALL_PEBBLE WALL_PEBBLE_GREEN
%resetcol

%variation WALL_PEBBLE cyan
%hue 0 180
%repeat WALL_PEBBLE WALL_PEBBLE_CYAN
%resetcol

%variation WALL_PEBBLE magenta
%hue 0 300
%repeat WALL_PEBBLE WALL_PEBBLE_MAGENTA
%resetcol

%variation WALL_PEBBLE brown
%hue 0 30
%repeat WALL_PEBBLE WALL_PEBBLE_BROWN
%resetcol

%variation WALL_PEBBLE lightgray
%desat 0
%lum 0 -10
%repeat WALL_PEBBLE WALL_PEBBLE_LIGHTGRAY
%resetcol

%variation WALL_PEBBLE darkgray
%desat 0
%lum 0 -30
%repeat WALL_PEBBLE WALL_PEBBLE_DARKGRAY
%resetcol

%variation WALL_PEBBLE lightblue
%hue 0 240
%lum 0 15
%repeat WALL_PEBBLE WALL_PEBBLE_LIGHTBLUE
%resetcol

%variation WALL_PEBBLE lightgreen
%hue 0 90
%lum 0 15
%repeat WALL_PEBBLE WALL_PEBBLE_LIGHTGREEN
%resetcol

%variation WALL_PEBBLE lightcyan
%hue 0 180
%lum 0 15
%repeat WALL_PEBBLE WALL_PEBBLE_LIGHTCYAN
%resetcol

%variation WALL_PEBBLE lightred
%lum 0 15
%repeat WALL_PEBBLE WALL_PEBBLE_LIGHTRED
%resetcol

%variation WALL_PEBBLE lightmagenta
%hue 0 300
%lum 0 15
%repeat WALL_PEBBLE WALL_PEBBLE_LIGHTMAGENTA
%resetcol

%variation WALL_PEBBLE yellow
%hue 0 60
%repeat WALL_PEBBLE WALL_PEBBLE_YELLOW
%resetcol

%variation WALL_PEBBLE white
%desat 0
%lum 0 20
%repeat WALL_PEBBLE WALL_PEBBLE_WHITE
%resetcol

wall_yellow_rock0 WALL_YELLOW_ROCK
wall_yellow_rock1
wall_yellow_rock2
wall_yellow_rock3

brick_gray0 WALL_BRICK_GRAY
brick_gray1
brick_gray2
brick_gray3

%weight 2
stone_brick1 WALL_STONE_BRICK
stone_brick2
stone_brick3
stone_brick4
stone_brick5
stone_brick6
stone_brick7
stone_brick8
stone_brick9
stone_brick10
%weight 1
stone_brick11
stone_brick12

%weight 5
marble_wall1 WALL_MARBLE
marble_wall2
marble_wall3
marble_wall4
marble_wall5
%weight 3
marble_wall6
marble_wall7
marble_wall8
%weight 1
marble_wall9
marble_wall10
marble_wall11
marble_wall12

%weight 5
sandstone_wall0 WALL_SANDSTONE
sandstone_wall1
sandstone_wall2
sandstone_wall3
sandstone_wall4
%weight 1
sandstone_wall5
sandstone_wall6
sandstone_wall7
sandstone_wall8
sandstone_wall9

volcanic_wall0 WALL_VOLCANIC
volcanic_wall1
volcanic_wall2
volcanic_wall3
volcanic_wall4
volcanic_wall5
volcanic_wall6

%weight 5
crystal_wall00 WALL_CRYSTAL_SQUARES
%weight 3
crystal_wall01
%weight 6
crystal_wall02
%weight 2
crystal_wall03
%weight 4
crystal_wall04
crystal_wall06
crystal_wall08
crystal_wall10
%weight 2
crystal_wall05
crystal_wall07
crystal_wall09
crystal_wall11
%weight 3
crystal_wall12
%weight 1
crystal_wall13


stone_gray0 WALL_STONE_GRAY
stone_gray1
stone_gray2
stone_gray3

%variation WALL_STONE_GRAY white
%lum 0 35
%repeat WALL_STONE_GRAY WALL_STONE_WHITE
%resetcol

stone_dark0 WALL_STONE_DARK
stone_dark1
stone_dark2
stone_dark3

# For the Doroklohe WizLab
stone_black_marked0 WALL_STONE_BLACK_MARKED
stone_black_marked1
stone_black_marked2
stone_black_marked3
stone_black_marked4
stone_black_marked5
stone_black_marked6
stone_black_marked7
%weight 1
stone_black_marked8

undead0 WALL_UNDEAD
undead1
undead2
undead3

%weight 10
church0 WALL_CHURCH
church1
church2
church3
#%weight 1
#church4

hell01 WALL_HELL
hell02
hell03
hell04
hell05
hell06
hell07
hell08
hell09
hell10
hell11

stone2_gray0 DNGN_STONE_WALL DNGN_STONE_WALL_LIGHTGRAY
stone2_gray1
stone2_gray2
stone2_gray3

stone2_dark0 DNGN_STONE_DARK
stone2_dark1
stone2_dark2
stone2_dark3

%variation DNGN_STONE_WALL blue
%hue 26 240
%hue 27 240
%hue 28 240
%hue 29 240
%hue 30 240
%hue 31 240
%hue 32 240
%hue 33 240
stone2_brown0 DNGN_STONE_WALL_BLUE
stone2_brown1
stone2_brown2
stone2_brown3
%resetcol

%variation DNGN_STONE_WALL green
%hue 240 120
%repeat DNGN_STONE_WALL_BLUE DNGN_STONE_WALL_GREEN
%resetcol

%variation DNGN_STONE_WALL cyan
%hue 240 180
%repeat DNGN_STONE_WALL_BLUE DNGN_STONE_WALL_CYAN
%resetcol

%variation DNGN_STONE_WALL red
%hue 240 0
%repeat DNGN_STONE_WALL_BLUE DNGN_STONE_WALL_RED
%resetcol

%variation DNGN_STONE_WALL magenta
%hue 240 300
%repeat DNGN_STONE_WALL_BLUE DNGN_STONE_WALL_MAGENTA
%resetcol

%variation DNGN_STONE_WALL brown
%hue 240 30
%repeat DNGN_STONE_WALL_BLUE DNGN_STONE_WALL_BROWN
%resetcol

%variation DNGN_STONE_WALL darkgray
%lum 0 -20
%repeat DNGN_STONE_WALL DNGN_STONE_WALL_DARKGRAY
%resetcol

%variation DNGN_STONE_WALL yellow
%hue 240 60
%repeat DNGN_STONE_WALL_BLUE DNGN_STONE_WALL_YELLOW
%resetcol

%variation DNGN_STONE_WALL white
%lum 0 30
%repeat DNGN_STONE_WALL DNGN_STONE_WALL_WHITE
%resetcol

dngn_wax_wall DNGN_WAX_WALL

# Coloured glass walls
dngn_transparent_wall DNGN_TRANSPARENT_WALL DNGN_TRANSPAREN_WALL_CYAN

%variation DNGN_TRANSPARENT_WALL blue
%hue 180 240
%repeat DNGN_TRANSPARENT_WALL DNGN_TRANSPARENT_WALL_BLUE
%resetcol

%variation DNGN_TRANSPARENT_WALL green
%hue 240 120
%repeat DNGN_TRANSPARENT_WALL_BLUE DNGN_TRANSPARENT_WALL_GREEN
%resetcol

%variation DNGN_TRANSPARENT_WALL red
%hue 240 0
%repeat DNGN_TRANSPARENT_WALL_BLUE DNGN_TRANSPARENT_WALL_RED
%resetcol

%variation DNGN_TRANSPARENT_WALL magenta
%hue 240 300
%repeat DNGN_TRANSPARENT_WALL_BLUE DNGN_TRANSPARENT_WALL_MAGENTA
%resetcol

%variation DNGN_TRANSPARENT_WALL brown
%hue 240 30
%repeat DNGN_TRANSPARENT_WALL_BLUE DNGN_TRANSPARENT_WALL_BROWN
%resetcol

%variation DNGN_TRANSPARENT_WALL darkgray
%desat 180
%lum 180 -40
%repeat DNGN_TRANSPARENT_WALL DNGN_TRANSPARENT_WALL_DARKGRAY
%resetcol

%variation DNGN_TRANSPARENT_WALL yellow
%hue 240 60
%repeat DNGN_TRANSPARENT_WALL_BLUE DNGN_TRANSPARENT_WALL_YELLOW
%resetcol

%variation DNGN_TRANSPARENT_WALL white
%desat 180
%lum 0 35
%repeat DNGN_TRANSPARENT_WALL DNGN_TRANSPARENT_WALL_WHITE
%resetcol


# Coloured metal walls
dngn_mirrored_wall DNGN_MIRROR_WALL

dngn_metal_wall DNGN_METAL_WALL

%variation DNGN_METAL_WALL blue
%hue 26 240
%hue 27 240
%hue 28 240
%hue 29 240
%hue 30 240
%hue 31 240
%hue 32 240
%hue 33 240
dngn_metal_wall_brown DNGN_METAL_WALL_BLUE
%resetcol

%variation DNGN_METAL_WALL green
%hue 240 120
%repeat DNGN_METAL_WALL_BLUE DNGN_METAL_WALL_GREEN
%resetcol

%variation DNGN_METAL_WALL cyan
%hue 240 180
%repeat DNGN_METAL_WALL_BLUE DNGN_METAL_WALL_CYAN
%resetcol

%variation DNGN_METAL_WALL red
%hue 240 0
%repeat DNGN_METAL_WALL_BLUE DNGN_METAL_WALL_RED
%resetcol

%variation DNGN_METAL_WALL magenta
%hue 240 300
%repeat DNGN_METAL_WALL_BLUE DNGN_METAL_WALL_MAGENTA
%resetcol

%variation DNGN_METAL_WALL brown
%hue 240 30
%repeat DNGN_METAL_WALL_BLUE DNGN_METAL_WALL_BROWN
%resetcol

%variation DNGN_METAL_WALL darkgray
%lum 0 -20
%repeat DNGN_METAL_WALL DNGN_METAL_WALL_DARKGRAY
%resetcol

%variation DNGN_METAL_WALL yellow
%hue 240 60
%repeat DNGN_METAL_WALL_BLUE DNGN_METAL_WALL_YELLOW
%resetcol

%variation DNGN_METAL_WALL white
%lum 0 30
%repeat DNGN_METAL_WALL DNGN_METAL_WALL_WHITE
%resetcol

dngn_metal_wall_cracked DNGN_METAL_WALL_CRACKED

dc-dngn/grate DNGN_GRATE

%hue 150 120
dngn_green_crystal_wall DNGN_GREEN_CRYSTAL_WALL DNGN_CRYSTAL DNGN_CRYSTAL_GREEN
%resetcol

%variation DNGN_CRYSTAL blue
%hue 120 240
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_BLUE
%resetcol

%variation DNGN_CRYSTAL cyan
%hue 120 180
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_CYAN
%resetcol

%variation DNGN_CRYSTAL red
%hue 120 0
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_RED
%resetcol

%variation DNGN_CRYSTAL magenta
%hue 120 300
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_MAGENTA
%resetcol

%variation DNGN_CRYSTAL brown
%hue 120 30
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_BROWN
%resetcol

%variation DNGN_CRYSTAL lightgray
%desat 120
%lum 120 -20
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_LIGHTGRAY
%resetcol

%variation DNGN_CRYSTAL darkgray
%desat 120
%lum 120 -40
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_DARKGRAY
%resetcol

%variation DNGN_CRYSTAL lightblue
%hue 120 240
%lum 120 30
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_LIGHTBLUE
%resetcol

%variation DNGN_CRYSTAL lightgreen
%lum 120 30
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_LIGHTGREEN
%resetcol

%variation DNGN_CRYSTAL lightcyan
%hue 120 180
%lum 120 30
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_LIGHTCYAN
%resetcol

%variation DNGN_CRYSTAL lightred
%hue 120 0
%lum 120 30
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_LIGHTRED
%resetcol

%variation DNGN_CRYSTAL lightmagenta
%hue 120 300
%lum 120 30
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_LIGHTMAGENTA
%resetcol

%variation DNGN_CRYSTAL yellow
%hue 120 60
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_YELLOW
%resetcol

%variation DNGN_CRYSTAL white
%desat 120
%repeat DNGN_CRYSTAL DNGN_CRYSTAL_WHITE
%resetcol

%sdir dc-dngn/wall
shadow_w DNGN_WALL_SHADOW_W
shadow_nw DNGN_WALL_SHADOW_NW
shadow_n DNGN_WALL_SHADOW_N
shadow_ne DNGN_WALL_SHADOW_NE
shadow_e DNGN_WALL_SHADOW_E
