# Definition file for Roofer
# Use this to specify what tiles to use depending on surrounding tiles
#
# Syntax:
# <flags> <itemid>
#
# The flags specify conditions for each of the surrounding tiles.
# Each flag position corresponds to one tile like this:
# 
# Flag 
#
#  12345678
#
# Position
#
#  123
#  4 5
#  678
#
#
#
# The flags are a hex bitmask of valid relations for the tile:
# 1 = Tile is lower
# 2 = Tile is higher
# 4 = Tile is same height
# 8 = No tile in this position
#
# Some of the most used combinations are:
#
# f = 1 + 2 + 4 + 8 = any tile
# c = 4 + 8 = same height or no tile
# a = 2 + 8 = higher or no tile
# 9 = 1 + 8 = lower or no tile
#
#
#
# An example:
#
# 9c9cc9c9 5ae
#
# 9c9
# c c
# 9c9
#
# Tileid 5ae will be used when the direct neighbours are at the same height
# and the diagonal neighbours are lower - the top center piece of an X roof
# It can be used even if any of the neighbours are missing
#
#




[Thatch Roof]
fcfa9fcf 5a4
fcf99fcf 5a5
fcf9afcf 5a6
fafccf9f 5a7
f9fccf9f 5a8
f9fccfaf 5a9
aaaca9ca 5aa
ac9acaaa 5ab
9cacaaaa 5ac
aaaacac9 5ad
9c9cc9c9 5ae
9c9cc999 5af
999cc9c9 5b0
9c9c99c9 5b1
9c99c9c9 5b2
9c9ccaaa 5a9
aaacc9c9 5a7
9caca9ca 5a6
ac9acac9 5a4

[Wooden Shingles]
dcd99dcd 5c2
ecdedecd 5c3
dcededce 5c4
a2ac29ca 5c5
ac92ca2a 5c6
9cac2a2a 5c7
a2a2cac9 5c8
9c9cc9c9 5c9
9c9cc999 5ca
999cc9c9 5cb
9c9c99c9 5cc
9c99c9c9 5cd
d9dccd9d 5ce
eeeccddd 5cf
dddcceee 5d0


dcc9cdc1 5c2
dc19cdcc 5c2
1cdc9ccd 5c2
ccdc91cd 5c2
cc1ccd9d 5ce
1ccccd9d 5ce
d9dcccc1 5ce
d9dcc1cc 5ce


[Blue Tent Roof]
74712747 5ff
71744727 600
72744717 601
74721747 602
71744717 603
64141111 604
11141641 605
11114146 606
14614111 607
11111111 608
11141111 609
11114111 60a
74711747 64c
14111111 64d
11111141 64e

f4782f47 60b
f8f44727 60c
74f2874f 60d
72744f8f 60e

24848888 60f
88884842 610
88848248 611
84284888 612

74744717 613
71744747 614
74741747 633
74714747 634


[Blue Tent Roof (incomplete)]
fcf9afcf 5ff
f9fccfaf 600
fafccf9f 601
fcfa9fcf 602
f9fccf9f 603
ac9c9999 604
999c9ac9 605
9999c9ca 606
9ca9c999 607
99999999 608
999c9999 609
9999c999 60a
fcf99fcf 64c
9c999999 64d
999999c9 64e

[White Tent Roof (incomplete)]
fcf9afcf 65e
f9fccfaf 65f
fafccf9f 660
fcfa9fcf 661
f9fccf9f 662
ac9c9999 663
999c9ac9 664
9999c9ca 665
9ca9c999 666
99999999 667
999c9999 668
9999c999 669
fcf99fcf 648
9c999999 649
999999c9 64a

[Green Tent Roof (incomplete)]
fcf9afcf 617
f9fccfaf 618
fafccf9f 619
fcfa9fcf 61a
f9fccf9f 61b
ac9c9999 61c
999c9ac9 61d
9999c9ca 61e
9ca9c999 61f
99999999 620
999c9999 621
9999c999 622
fcf99fcf 64f
9c999999 650
999999c9 651



