share/hedgewars/Data/wfc_templates.toml
author unC0Rr
Mon, 03 Feb 2025 15:03:26 +0100
changeset 16110 ac8a3f377197
parent 16109 2fc37552b587
permissions -rw-r--r--
Tune shoppa tile set for better results
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     1
# Templates for wavefront collapse map generator in hedgewars
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     2
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     3
################ TILES ################
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     4
# round120 tiles
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     5
[[tiles.round120]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     6
name = "120_filled.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     7
edges = [ "f", "f", "f", "f" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     8
is_negative = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
     9
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    10
[[tiles.round120]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    11
name = "120_bar.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    12
edges = [ "f", "fe", "e", "ef" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    13
is_negative = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    14
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    15
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    16
can_rotate270 = true        
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    17
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    18
[[tiles.round120]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    19
name = "120_filled.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    20
edges = [ "e", "e", "e", "e" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    21
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    22
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    23
[[tiles.round120]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    24
name = "120_corner.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    25
edges = [ "fe", "e", "e", "ef" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    26
is_negative = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    27
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    28
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    29
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    30
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    31
[[tiles.round120]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    32
name = "120_corner.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    33
edges = [ "ef", "f", "f", "fe" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    34
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    35
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    36
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    37
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    38
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    39
[[tiles.round120]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    40
name = "120_two_corners.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    41
edges = [ "fe", "ef", "fe", "ef" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    42
is_negative = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    43
can_mirror = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    44
can_flip = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    45
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    46
# Rooms tiles
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    47
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    48
name = "bend_120.png"
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    49
edges = [ "fee", "eef", "f", "f" ]
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    50
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    51
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    52
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    53
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    54
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    55
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    56
name = "corner_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    57
edges = [ "eef", "fee", "e", "e" ]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    58
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    59
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    60
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    61
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    62
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    63
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    64
name = "corridor_120.png"
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    65
edges = [ "efe", "e", "efe", "e" ]
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    66
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    67
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    68
can_rotate180 = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    69
can_rotate270 = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    70
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    71
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    72
name = "door_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    73
edges = [ "f", "fee", "efe", "eef" ]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    74
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    75
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    76
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    77
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    78
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    79
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    80
name = "empty_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    81
edges = [ "f", "f", "f", "f" ]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    82
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    83
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    84
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    85
name = "side_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    86
edges = [ "e", "eef", "f", "fee" ]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    87
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    88
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    89
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    90
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    91
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    92
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    93
name = "t_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    94
edges = [ "e", "efe", "efe", "efe" ]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
    95
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    96
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    97
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    98
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
    99
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   100
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   101
name = "turn_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   102
edges = [ "efe", "efe", "e", "e" ]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
   103
is_negative = true
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   104
can_mirror = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   105
can_flip = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   106
can_rotate90 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   107
can_rotate180 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   108
can_rotate270 = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   109
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   110
[[tiles.Rooms]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   111
name = "wall_120.png"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   112
edges = [ "e", "e", "e", "e" ]
16100
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   113
is_negative = true
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   114
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   115
# shoppa tiles
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   116
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   117
name = "120_filled.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   118
weight = 0
16110
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   119
edges = [ "first_layer_reyal_tsrif", "f", "!f", "f" ]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   120
is_negative = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   121
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   122
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   123
name = "120_filled.png"
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   124
edges = [ "e", "e", "e", "e" ]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   125
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   126
[[tiles.Shoppa]]
16110
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   127
name = "120_filled.png"
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   128
weight = 15
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   129
edges = [ "e", "OE", "EO", "e" ]
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   130
can_rotate90 = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   131
can_rotate180 = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   132
can_rotate270 = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   133
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   134
[[tiles.Shoppa]]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   135
# forced space
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   136
name = "120_filled.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   137
weight = 0
16109
2fc37552b587 Introduce hard match option for edges to reduce backtracking
unC0Rr
parents: 16108
diff changeset
   138
edges = [ "!E", "e", "e", "e" ]
16110
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   139
anti_match = [0, 1, 0, 1]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   140
can_rotate90 = true
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   141
can_rotate180 = true
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   142
can_rotate270 = true
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   143
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   144
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   145
name = "120_filled.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   146
weight = 10
16109
2fc37552b587 Introduce hard match option for edges to reduce backtracking
unC0Rr
parents: 16108
diff changeset
   147
edges = [ "e", "e", "!first_layer_reyal_tsrif", "e" ]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   148
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   149
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   150
name = "shoppa_bar.png"
16107
e12d9a4d0e04 Tune Shoppa tile set for better result
unC0Rr
parents: 16105
diff changeset
   151
weight = 15
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   152
edges = [ "e", "efe", "e", "efe" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   153
anti_match = [1, 0, 1, 0]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   154
can_rotate90 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   155
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   156
[[tiles.Shoppa]]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   157
# used as end piece
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   158
name = "shoppa_bar.png"
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   159
weight = 10
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   160
edges = [ "e", "e", "e", "efe" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   161
anti_match = [1, 1, 1, 0]
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   162
can_mirror = true
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   163
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   164
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   165
name = "shoppa_roundedendpiece.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   166
weight = 8
16107
e12d9a4d0e04 Tune Shoppa tile set for better result
unC0Rr
parents: 16105
diff changeset
   167
edges = [ "e", "e", "e", "efe" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   168
anti_match = [1, 1, 1, 0]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   169
can_rotate90 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   170
can_rotate270 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   171
can_mirror = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   172
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   173
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   174
name = "shoppa_t.png"
16107
e12d9a4d0e04 Tune Shoppa tile set for better result
unC0Rr
parents: 16105
diff changeset
   175
weight = 4
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   176
edges = [ "e", "efe", "efe", "efe" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   177
anti_match = [1, 1, 1, 1]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   178
can_rotate90 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   179
can_rotate270 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   180
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   181
[[tiles.Shoppa]]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   182
# first layer semicircle
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   183
name = "shoppa_sector.png"
16107
e12d9a4d0e04 Tune Shoppa tile set for better result
unC0Rr
parents: 16105
diff changeset
   184
weight = 5
16109
2fc37552b587 Introduce hard match option for edges to reduce backtracking
unC0Rr
parents: 16108
diff changeset
   185
edges = [ "e", "sector_rotces", "!first_layer_reyal_tsrif", "e" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   186
anti_match = [1, 0, 0, 1]
16107
e12d9a4d0e04 Tune Shoppa tile set for better result
unC0Rr
parents: 16105
diff changeset
   187
can_mirror = true
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   188
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   189
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   190
name = "shoppa_sector.png"
16110
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   191
weight = 8
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   192
edges = [ "e", "sector", "rotces", "e" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   193
anti_match = [1, 0, 0, 1]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   194
can_rotate90 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   195
can_rotate180 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   196
can_rotate270 = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   197
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   198
[[tiles.Shoppa]]
16110
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   199
name = "120_corner.png"
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   200
weight = 8
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   201
edges = [ "RS", "e", "e", "SR" ]
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   202
anti_match = [0, 1, 1, 0]
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   203
is_negative = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   204
can_rotate90 = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   205
can_rotate180 = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   206
can_rotate270 = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   207
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   208
[[tiles.Shoppa]]
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   209
name = "120_bar.png"
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   210
edges = [ "RRR", "RS", "e", "SR" ]
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   211
anti_match = [0, 0, 1, 0]
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   212
is_negative = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   213
can_flip = true
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   214
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   215
[[tiles.Shoppa]]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   216
name = "shoppa_hill_center_1.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   217
weight = 0
16109
2fc37552b587 Introduce hard match option for edges to reduce backtracking
unC0Rr
parents: 16108
diff changeset
   218
edges = [ "E", "E", "!retnecllih", "E" ]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   219
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   220
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   221
name = "shoppa_hill_center_2.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   222
weight = 0
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   223
edges = [ "hillcenter", "hillside2", "H", "2edisllih" ]
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   224
anti_match = [0, 2, 0, 2]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   225
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   226
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   227
name = "shoppa_hill_side_2.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   228
weight = 0
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   229
edges = [ "e", "hillside2", "3edisllih", "e" ]
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   230
anti_match = [0, 1, 0, 0]
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   231
can_mirror = true
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   232
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   233
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   234
name = "shoppa_hill_side_3.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   235
weight = 0
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   236
edges = [ "hillside3", "H", "4edisllih", "e" ]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   237
can_mirror = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   238
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   239
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   240
name = "shoppa_hill_side_4.png"
16110
ac8a3f377197 Tune shoppa tile set for better results
unC0Rr
parents: 16109
diff changeset
   241
weight = 4
16109
2fc37552b587 Introduce hard match option for edges to reduce backtracking
unC0Rr
parents: 16108
diff changeset
   242
edges = [ "hillside4", "H", "!first_layer_reyal_tsrif", "e" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   243
anti_match = [0, 4, 0, 0]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   244
can_mirror = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   245
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   246
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   247
name = "120_filled.png"
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   248
weight = 0
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   249
edges = [ "H", "H", "first_layer_reyal_tsrif", "H" ]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   250
is_negative = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   251
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   252
[[tiles.Shoppa]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   253
name = "120_filled.png"
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   254
edges = [ "H", "H", "H", "H" ]
16108
65c017453e83 Add anti_match feature, log some info when cannot satisfy rules
unC0Rr
parents: 16107
diff changeset
   255
anti_match = [0, 2, 0, 2]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   256
is_negative = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   257
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   258
################ EDGES ################
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   259
[edges.bottom_row]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   260
top = { begin = "e", fill = "e", end = "e" }
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   261
right = { begin = "e", fill = "e", end = "e" }
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   262
bottom = { begin = "ef", fill = "f", end = "fe" }
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   263
left = { begin = "e", fill = "e", end = "e" }
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   264
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   265
[edges.bottom_fill]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   266
bottom.fill = "f"
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   267
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   268
[edges.top_bottom]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   269
top.fill = "f"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   270
bottom.fill = "f"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   271
16100
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   272
[edges.full_top_bottom]
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
   273
top = { begin = "f", fill = "f", end = "f" }
16100
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   274
bottom = { begin = "f", fill = "f", end = "f" }
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   275
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   276
################ TEMPLATES ################
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   277
[[templates]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   278
# 0
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   279
width = 3960
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   280
height = 1920
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   281
can_invert = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   282
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   283
put_girders = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   284
max_hedgehogs = 40
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   285
wrap = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   286
edges = "top_bottom"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   287
tiles = [ "round120" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   288
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   289
[[templates]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   290
# 1
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   291
width = 3960
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   292
height = 1920
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   293
can_invert = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   294
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   295
put_girders = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   296
max_hedgehogs = 40
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   297
wrap = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   298
edges = "bottom_row"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   299
tiles = [ "round120" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   300
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   301
[[templates]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   302
# 2
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   303
width = 1200
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   304
height = 600
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   305
can_invert = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   306
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   307
put_girders = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   308
max_hedgehogs = 24
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   309
wrap = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   310
edges = "bottom_row"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   311
tiles = [ "round120" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   312
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   313
[[templates]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   314
# 3
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   315
width = 720
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   316
height = 7920
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   317
can_invert = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   318
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   319
put_girders = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   320
max_hedgehogs = 64
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   321
wrap = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   322
edges = "bottom_row"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   323
tiles = [ "round120" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   324
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   325
[[templates]]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   326
# 4
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   327
width = 2200
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   328
height = 960
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   329
can_invert = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   330
is_negative = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   331
put_girders = true
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   332
max_hedgehogs = 24
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   333
wrap = false
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   334
edges = "bottom_row"
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   335
tiles = [ "round120" ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   336
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   337
[[templates]]
16100
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   338
# 5
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
   339
width = 2280
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
   340
height = 1200
16100
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   341
can_invert = false
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   342
put_girders = true
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   343
max_hedgehogs = 40
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   344
wrap = true
fba762376a07 - Reduce wfc templates definition file by removing excess fields with false value
unC0Rr
parents: 16094
diff changeset
   345
edges = "full_top_bottom"
16103
fff7c8e36f7b Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
unC0Rr
parents: 16100
diff changeset
   346
tiles = [ "Rooms" ]
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   347
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   348
[[templates]]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   349
# 6
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   350
width = 3960
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   351
height = 1920
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   352
can_invert = false
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   353
is_negative = false
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   354
put_girders = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   355
max_hedgehogs = 64
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   356
wrap = true
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   357
edges = "bottom_fill"
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   358
tiles = [ "Shoppa" ]
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   359
16094
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   360
[template_types]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   361
small = [ 2 ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   362
medium = [ 4 ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   363
large = [ 1 ]
33f09636018b Switch to toml for WFC templates
unC0Rr
parents:
diff changeset
   364
cavern = [ 0, 5 ]
16105
8c90c8751b90 Add Shoppa tile set
unC0Rr
parents: 16103
diff changeset
   365
wacky = [ 6 ]