%name floor
%prefix TILE

%sdir dc-dngn
dngn_unseen DNGN_UNSEEN
%back dngn_unseen
dc-misc/error DNGN_ERROR
%back none

%sdir dc-dngn/floor

%weight 6
grey_dirt0 FLOOR_GREY_DIRT FLOOR_NORMAL
grey_dirt1
grey_dirt2
grey_dirt3
grey_dirt4
grey_dirt5
%weight 3
grey_dirt6
%weight 1
grey_dirt7

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

# The colorized versions of FLOOR_PEBBLE were made from
# pebble_gray*.png, by colorizing the non-border color
# with hue 30, sat 50, lum +20 in GIMP.
%desat 28
%desat 29
%desat 30
pebble_brown0 FLOOR_PEBBLE FLOOR_PEBBLE_LIGHTGRAY
pebble_brown1
pebble_brown2
pebble_brown3
pebble_brown4
pebble_brown5
pebble_brown6
pebble_brown7
pebble_brown8
%resetcol

%variation FLOOR_PEBBLE brown
%hue 28 30
%hue 29 30
# Can't just use %repeat here, as we want the coloured versions.
pebble_brown0 FLOOR_PEBBLE_BROWN
pebble_brown1
pebble_brown2
pebble_brown3
pebble_brown4
pebble_brown5
pebble_brown6
pebble_brown7
pebble_brown8
%resetcol

%variation FLOOR_PEBBLE blue
%hue 28 240
%hue 29 240
%hue 30 240
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_BLUE
%resetcol

%variation FLOOR_PEBBLE green
%hue 28 90
%hue 29 90
%hue 30 90
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_GREEN
%resetcol

%variation FLOOR_PEBBLE cyan
%hue 28 180
%hue 29 180
%hue 30 180
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_CYAN
%resetcol

%variation FLOOR_PEBBLE red
%hue 28 0
%hue 29 0
%hue 30 0
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_RED
%resetcol

%variation FLOOR_PEBBLE magenta
%hue 28 300
%hue 29 300
%hue 30 300
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_MAGENTA
%resetcol

%variation FLOOR_PEBBLE darkgray
%desat 28
%desat 29
%desat 30
%lum 28 -7
%lum 29 -7
%lum 30 -7
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_DARKGRAY
%resetcol

%variation FLOOR_PEBBLE lightblue
%hue 28 240
%hue 29 240
%hue 30 240
%lum 28 7
%lum 29 7
%lum 30 7
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_LIGHTBLUE
%resetcol

%variation FLOOR_PEBBLE lightgreen
%hue 28 90
%hue 29 90
%hue 30 90
%lum 28 7
%lum 29 7
%lum 30 7
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_LIGHTGREEN
%resetcol

%variation FLOOR_PEBBLE lightcyan
%hue 28 180
%hue 29 180
%hue 30 180
%lum 28 7
%lum 29 7
%lum 30 7
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_LIGHTCYAN
%resetcol

%variation FLOOR_PEBBLE lightred
%hue 28 0
%hue 29 0
%hue 30 0
%lum 28 7
%lum 29 7
%lum 30 7
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_LIGHTRED
%resetcol

%variation FLOOR_PEBBLE lightmagenta
%hue 28 300
%hue 29 300
%hue 30 300
%lum 28 7
%lum 29 7
%lum 30 7
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_LIGHTMAGENTA
%resetcol

%variation FLOOR_PEBBLE yellow
%hue 28 60
%hue 29 60
%hue 30 60
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_YELLOW
%resetcol

%variation FLOOR_PEBBLE white
%desat 28
%desat 29
%desat 30
%lum 0 20
%lum 28 40
%lum 29 40
%lum 30 40
%repeat FLOOR_PEBBLE_BROWN FLOOR_PEBBLE_WHITE
%resetcol

mesh0 FLOOR_HALL
mesh1
mesh2
mesh3

hive0 FLOOR_HIVE FLOOR_ORC
hive1
hive2
hive3

ice0 FLOOR_ICE
ice1
ice2
ice3

%weight 16
lair0 FLOOR_LAIR
lair1
lair2
lair3
lair4
%weight 8
lair0b
lair1b
lair2b
lair3b
lair4b
%weight 6
lair5
lair6
%weight 3
lair5b
lair6b
%weight 2
lair7
%weight 1
lair7b

moss0 FLOOR_MOSS
moss1
moss2
moss3

bog_green0 FLOOR_SLIME
bog_green1
bog_green2
bog_green3

snake0 FLOOR_SNAKE
snake1
snake2
snake3

## swamp also doesn't have any unique walls...
swamp0 FLOOR_SWAMP
swamp1
swamp2
swamp3

tomb0 FLOOR_TOMB
tomb1
tomb2
tomb3

rect_gray0 FLOOR_VAULT
rect_gray1
rect_gray2
rect_gray3

floor_vines0 FLOOR_VINES
floor_vines1
floor_vines2
floor_vines3
floor_vines4
floor_vines5
floor_vines6

rough_red0 FLOOR_ROUGH FLOOR_ROUGH_RED
rough_red1
rough_red2
rough_red3

%variation FLOOR_ROUGH blue
%hue 0 240
%repeat FLOOR_ROUGH FLOOR_ROUGH_BLUE
%resetcol

%variation FLOOR_ROUGH green
%hue 0 90
%repeat FLOOR_ROUGH FLOOR_ROUGH_GREEN
%resetcol

%variation FLOOR_ROUGH cyan
%hue 0 180
%repeat FLOOR_ROUGH FLOOR_ROUGH_CYAN
%resetcol

%variation FLOOR_ROUGH magenta
%hue 0 300
%repeat FLOOR_ROUGH FLOOR_ROUGH_MAGENTA
%resetcol

%variation FLOOR_ROUGH brown
%hue 0 30
%repeat FLOOR_ROUGH FLOOR_ROUGH_BROWN
%resetcol

%variation FLOOR_ROUGH lightgray
%desat 0
%repeat FLOOR_ROUGH FLOOR_ROUGH_LIGHTGRAY
%resetcol

%variation FLOOR_ROUGH darkgray
%desat 0
%lum 0 -10
%repeat FLOOR_ROUGH FLOOR_ROUGH_DARKGRAY
%resetcol

%variation FLOOR_ROUGH lightblue
%hue 0 240
%lum 0 10
%repeat FLOOR_ROUGH FLOOR_ROUGH_LIGHTBLUE
%resetcol

%variation FLOOR_ROUGH lightgreen
%hue 0 90
%lum 0 10
%repeat FLOOR_ROUGH FLOOR_ROUGH_LIGHTGREEN
%resetcol

%variation FLOOR_ROUGH lightcyan
%hue 0 180
%lum 0 10
%repeat FLOOR_ROUGH FLOOR_ROUGH_LIGHTCYAN
%resetcol

%variation FLOOR_ROUGH lightred
%lum 0 10
%repeat FLOOR_ROUGH FLOOR_ROUGH_LIGHTRED
%resetcol

%variation FLOOR_ROUGH lightmagenta
%hue 0 300
%lum 0 10
%repeat FLOOR_ROUGH FLOOR_ROUGH_LIGHTMAGENTA
%resetcol

%variation FLOOR_ROUGH yellow
%hue 0 60
%repeat FLOOR_ROUGH FLOOR_ROUGH_YELLOW
%resetcol

%variation FLOOR_ROUGH white
%desat 0
%lum 0 20
%repeat FLOOR_ROUGH FLOOR_ROUGH_WHITE
%resetcol

%weight 5
floor_sand_stone0 FLOOR_SAND_STONE
floor_sand_stone1
floor_sand_stone2
floor_sand_stone3
%weight 2
floor_sand_stone4
floor_sand_stone5
floor_sand_stone7
%weight 1
floor_sand_stone6

%weight 5
cobble_blood1 FLOOR_COBBLE_BLOOD
cobble_blood2
cobble_blood3
cobble_blood4
cobble_blood5
%weight 3
cobble_blood6
cobble_blood7
%weight 2
cobble_blood8
cobble_blood9
cobble_blood10
cobble_blood11
%weight 1
cobble_blood12

marble_floor1 FLOOR_MARBLE
marble_floor2
marble_floor3
marble_floor4
marble_floor5
marble_floor6

%weight 5
sandstone_floor0 FLOOR_SANDSTONE
sandstone_floor1
sandstone_floor2
sandstone_floor3
sandstone_floor4
%weight 2
sandstone_floor5
%weight 1
sandstone_floor6
sandstone_floor7
sandstone_floor8
sandstone_floor9

volcanic_floor0 FLOOR_VOLCANIC
volcanic_floor1
volcanic_floor2
volcanic_floor3
volcanic_floor4
volcanic_floor5
volcanic_floor6

%weight 8
crystal_floor0 FLOOR_CRYSTAL_SQUARES
%weight 4
crystal_floor1
crystal_floor2
%weight 2
crystal_floor3
crystal_floor4
%weight 1
crystal_floor5

%sdir dc-dngn/floor/grass
%weight 15
grass0 FLOOR_GRASS
grass1
grass2
%weight 1
grass_flowers_blue1
grass_flowers_blue2
grass_flowers_blue3
grass_flowers_red1
grass_flowers_red2
grass_flowers_red3
grass_flowers_yellow1
grass_flowers_yellow2
grass_flowers_yellow3

grass_n HALO_GRASS
grass_ne
grass_e
grass_se
grass_s
grass_sw
grass_w
grass_nw
grass_full

grass0-dirt-mix1 FLOOR_GRASS_DIRT_MIX
grass0-dirt-mix2
grass0-dirt-mix3

%sdir dc-dngn/floor
floor_nerves0 FLOOR_NERVES
floor_nerves1
floor_nerves2
floor_nerves3
floor_nerves4
floor_nerves5
floor_nerves6

%start
%compose grass/grass0
%compose pedestal_n
%finish HALO_GRASS2
%start
%compose grass/grass1
%compose pedestal_ne
%finish
%start
%compose grass/grass2
%compose pedestal_e
%finish
%start
%compose grass/grass1
%compose pedestal_se
%finish
%start
%compose grass/grass0
%compose pedestal_s
%finish
%start
%compose grass/grass1
%compose pedestal_sw
%finish
%start
%compose grass/grass2
%compose pedestal_w
%finish
%start
%compose grass/grass0
%compose pedestal_nw
%finish

%sdir dc-dngn/floor
pedestal_full

%start
%compose rect_gray0
%compose pedestal_n
%finish HALO_VAULT
%start
%compose rect_gray1
%compose pedestal_ne
%finish
%start
%compose rect_gray2
%compose pedestal_e
%finish
%start
%compose rect_gray3
%compose pedestal_se
%finish
%start
%compose rect_gray2
%compose pedestal_s
%finish
%start
%compose rect_gray1
%compose pedestal_sw
%finish
%start
%compose rect_gray0
%compose pedestal_w
%finish
%start
%compose rect_gray3
%compose pedestal_nw
%finish
pedestal_full

dirt0 FLOOR_DIRT
dirt1
dirt2

dirt_n HALO_DIRT
dirt_ne
dirt_e
dirt_se
dirt_s
dirt_sw
dirt_w
dirt_nw
dirt_full

tutorial_pad TUTORIAL_PAD

%sdir dc-dngn/floor
limestone0 FLOOR_LIMESTONE
limestone1
limestone2
limestone3
limestone4
limestone5
limestone6
limestone7
limestone8
limestone9

sigil_curve_N_E SIGIL_CURVE_N_E
sigil_curve_N_W SIGIL_CURVE_N_W
sigil_curve_S_E SIGIL_CURVE_S_E
sigil_curve_S_W SIGIL_CURVE_S_W
sigil_straight_E_W SIGIL_STRAIGHT_E_W
sigil_straight_N_S SIGIL_STRAIGHT_N_S
sigil_straight_NE_SW SIGIL_STRAIGHT_NE_SW
sigil_straight_NW_SE SIGIL_STRAIGHT_NW_SE
sigil_cross SIGIL_CROSS
sigil_circle SIGIL_CIRCLE
sigil_rhombus SIGIL_RHOMBUS
sigil_Y_N SIGIL_Y
sigil_Y_S SIGIL_Y_INVERTED
sigil_Y_E SIGIL_Y_RIGHT
sigil_Y_W SIGIL_Y_LEFT
sigil_Y_left SIGIL_Y_LEFTLEANING
sigil_Y_right SIGIL_Y_RIGHTLEANING
sigil_algiz_left SIGIL_ALGIZ_LEFT
sigil_algiz_right SIGIL_ALGIZ_RIGHT
sigil_wide_E_NW SIGIL_STRAIGHT_E_NW
sigil_wide_E_SW SIGIL_STRAIGHT_E_SW
sigil_wide_W_NE SIGIL_STRAIGHT_W_NE
sigil_wide_W_SE SIGIL_STRAIGHT_W_SE
sigil_wide_N_SE SIGIL_STRAIGHT_N_SE
sigil_wide_N_SW SIGIL_STRAIGHT_N_SW
sigil_wide_S_NE SIGIL_STRAIGHT_S_NE
sigil_wide_S_NW SIGIL_STRAIGHT_S_NW
sigil_straight_E_W_NE_NW SIGIL_FOURWAY
sigil_sharp_E_NE SIGIL_SHARP_E_NE
sigil_sharp_W_SW SIGIL_SHARP_W_SW
sigil_straight_E_NE_SW SIGIL_STRAIGHT_E_NE_SW

%weight 10
infernal01 FLOOR_INFERNAL
infernal02
infernal03
infernal04
infernal05
infernal06
infernal07
infernal08
infernal09
infernal10
infernal11
infernal12
%weight 2
infernal13
infernal14
infernal15
infernal_blank FLOOR_INFERNAL_BLANK
