summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-23 23:45:19 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-23 23:45:19 -0300
commitc2ccb14ffff0e45398365e19dfd2874307ddb943 (patch)
tree976eaea586fb8f1ee0ab8cae67c69071aed8b952 /Rules
downloadtools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.gz
tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.bz2
tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.tar.xz
tools-c2ccb14ffff0e45398365e19dfd2874307ddb943.zip
Initial commit
Diffstat (limited to 'Rules')
-rw-r--r--Rules/castle_indoor/rule_castle_001.tmx176
-rw-r--r--Rules/castle_indoor/rule_castle_002.tmx77
-rw-r--r--Rules/castle_indoor/rule_castle_003.tmx68
-rw-r--r--Rules/castle_indoor/rule_castle_009.tmx106
-rw-r--r--Rules/castle_indoor/rule_castle_010.tmx113
-rw-r--r--Rules/castle_indoor/rule_castle_indoor.txt23
-rw-r--r--Rules/cave/rule_cave.txt41
-rw-r--r--Rules/cave/rule_cave_001.tmx169
-rw-r--r--Rules/cave/rule_cave_002.tmx75
-rw-r--r--Rules/cave/rule_cave_003.tmx47
-rw-r--r--Rules/cave/rule_cave_004.tmx70
-rw-r--r--Rules/cave/rule_cave_005.tmx70
-rw-r--r--Rules/cave/rule_cave_006.tmx135
-rw-r--r--Rules/cave/rule_cave_007.tmx147
-rw-r--r--Rules/cave/rule_cave_008.tmx144
-rw-r--r--Rules/cave/rule_cave_009.tmx75
-rw-r--r--Rules/cave/rule_cave_010.tmx92
-rw-r--r--Rules/cave/rule_cave_050.tmx129
-rw-r--r--Rules/cave/rule_cave_100.tmx53
-rw-r--r--Rules/cave/rule_cave_110.tmx47
-rw-r--r--Rules/caverules.txt6
-rw-r--r--Rules/desertcliffs/rule_cave.txt32
-rw-r--r--Rules/desertcliffs/rule_cave_001.tmx166
-rw-r--r--Rules/desertcliffs/rule_cave_002.tmx75
-rw-r--r--Rules/desertcliffs/rule_cave_003.tmx47
-rw-r--r--Rules/desertcliffs/rule_cave_004.tmx93
-rw-r--r--Rules/desertcliffs/rule_cave_005.tmx70
-rw-r--r--Rules/desertcliffs/rule_cave_006.tmx135
-rw-r--r--Rules/desertcliffs/rule_cave_007.tmx147
-rw-r--r--Rules/desertcliffs/rule_cave_008.tmx144
-rw-r--r--Rules/desertcliffs/rule_cave_03.tmx85
-rw-r--r--Rules/desertcliffs/rule_cave_050.tmx39
-rw-r--r--Rules/desertcliffs/rule_cave_100.tmx33
-rw-r--r--Rules/icecave/rule_icecave.txt34
-rw-r--r--Rules/icecave/rule_icecave_001.tmx54
-rw-r--r--Rules/icecave/rule_icecave_002.tmx45
-rw-r--r--Rules/icecave/rule_icecave_003.tmx35
-rw-r--r--Rules/icecave/rule_icecave_004.tmx40
-rw-r--r--Rules/icecave/rule_icecave_005.tmx40
-rw-r--r--Rules/icecave/rule_icecave_006.tmx40
-rw-r--r--Rules/icecave/rule_icecave_007.tmx40
-rw-r--r--Rules/icecave/rule_icecave_009.tmx55
-rw-r--r--Rules/icecave/rule_icecave_010.tmx55
-rw-r--r--Rules/icecave/rule_icecave_020.tmx40
-rw-r--r--Rules/icecave/rule_icecave_100.tmx40
-rw-r--r--Rules/rule_cave.tmx375
-rw-r--r--Rules/rules.txt17
-rw-r--r--Rules/tilesets/set_castle_indoor.pngbin0 -> 36121 bytes
-rw-r--r--Rules/tilesets/set_cave.pngbin0 -> 27678 bytes
-rw-r--r--Rules/tilesets/set_desertcliff.pngbin0 -> 28082 bytes
-rw-r--r--Rules/tilesets/set_hlw.pngbin0 -> 13104 bytes
-rw-r--r--Rules/tilesets/set_icecave.pngbin0 -> 4742 bytes
-rw-r--r--Rules/tilesets/set_icemountain.pngbin0 -> 1632 bytes
-rw-r--r--Rules/tilesets/set_rules.pngbin0 -> 563 bytes
-rw-r--r--Rules/tilesets/set_woodland.pngbin0 -> 4636 bytes
55 files changed, 3839 insertions, 0 deletions
diff --git a/Rules/castle_indoor/rule_castle_001.tmx b/Rules/castle_indoor/rule_castle_001.tmx
new file mode 100644
index 0000000..6f4af55
--- /dev/null
+++ b/Rules/castle_indoor/rule_castle_001.tmx
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="17" height="17" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <properties>
+ <property name="AutomappingRadius" value="1"/>
+ <property name="DeleteTiles" value="true"/>
+ </properties>
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_castle_indoor.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" name="cave_x2" tilewidth="32" tileheight="64" tilecount="16" columns="16">
+ <image source="../../graphics/tilesets/cave_x2.png" width="512" height="64"/>
+ </tileset>
+ <tileset firstgid="222" source="../../../client-data/graphics/tilesets/woodland_indoor.tsx"/>
+ <tileset firstgid="478" source="../../../client-data/graphics/tilesets/inn2.tsx"/>
+ <tileset firstgid="734" name="desert_city_indoors" tilewidth="32" tileheight="32" tilecount="150" columns="15">
+ <image source="../../graphics/tilesets/desert_city_indoors.png" width="480" height="320"/>
+ </tileset>
+ <tileset firstgid="884" source="../../../client-data/graphics/tilesets/desert_castle_interior.tsx"/>
+ <tileset firstgid="1140" source="../../../client-data/graphics/tilesets/desert_city_indoors.tsx"/>
+ <layer name="Regions" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,74,0,74,0,74,0,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,74,0,74,0,74,0,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,0,0,74,0,74,0,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,0,0,0,0,74,0,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,0,11,0,0,0,0,0,14,0,15,0,0,0,17,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,19,0,0,0,0,0,22,0,23,0,0,0,25,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,30,0,31,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,38,0,39,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,42,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,36,0,37,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,1218,0,1186,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,1217,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,313,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,575,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Fringe" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0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,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Error" width="17" height="17" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/castle_indoor/rule_castle_002.tmx b/Rules/castle_indoor/rule_castle_002.tmx
new file mode 100644
index 0000000..a98bc77
--- /dev/null
+++ b/Rules/castle_indoor/rule_castle_002.tmx
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_castle_indoor.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" source="../../../client-data/graphics/tilesets/desert_castle_interior.tsx"/>
+ <tileset firstgid="462" source="../../../client-data/graphics/tilesets/inn2.tsx"/>
+ <layer name="Regions" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,74,74,0,
+0,74,0,74,0,0,0,0,
+0,74,0,74,0,74,74,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,14,0,
+0,14,0,0,0,0,0,0,
+0,0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="8" height="6" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,0,0,
+0,0,0,14,0,0,0,0,
+0,14,0,0,0,0,14,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,240,0,
+0,370,0,0,0,0,0,0,
+0,0,0,370,0,238,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="8" height="6" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/castle_indoor/rule_castle_003.tmx b/Rules/castle_indoor/rule_castle_003.tmx
new file mode 100644
index 0000000..a534afb
--- /dev/null
+++ b/Rules/castle_indoor/rule_castle_003.tmx
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="9" height="9" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_castle_indoor.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" source="../../../client-data/graphics/tilesets/desert_castle_interior.tsx"/>
+ <layer name="Regions" width="9" height="9">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,
+0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,
+0,0,0,0,0,0,0,0,0,
+0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,
+0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="9" height="9">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,14,0,14,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,14,0,14,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="9" height="9">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,
+0,0,0,14,0,14,0,0,0,
+0,0,0,14,0,14,0,0,0,
+0,14,14,0,0,0,14,14,0,
+0,0,0,0,0,0,0,0,0,
+0,14,14,0,0,0,14,14,0,
+0,0,0,14,0,14,0,0,0,
+0,0,0,14,0,14,0,0,0,
+0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="9" height="9">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,209,0,210,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,338,0,339,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/castle_indoor/rule_castle_009.tmx b/Rules/castle_indoor/rule_castle_009.tmx
new file mode 100644
index 0000000..680d64c
--- /dev/null
+++ b/Rules/castle_indoor/rule_castle_009.tmx
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="11" height="18" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set_ci" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_castle_indoor.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" source="../../../client-data/graphics/tilesets/inn2.tsx"/>
+ <tileset firstgid="462" source="../../../client-data/graphics/tilesets/inn.tsx"/>
+ <tileset firstgid="718" source="../../../client-data/graphics/tilesets/woodland_indoor.tsx"/>
+ <layer name="Regions" width="11" height="18">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,74,0,74,0,74,74,0,
+0,74,0,0,0,0,74,0,0,0,0,
+0,0,0,0,74,0,0,0,0,74,0,
+0,74,74,0,74,0,74,74,0,74,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,74,0,0,0,0,0,0,
+0,74,0,0,0,0,0,0,0,0,0,
+0,0,0,0,74,0,0,0,0,0,0,
+0,74,74,0,74,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,74,0,0,0,0,0,0,
+0,74,0,0,0,0,0,0,0,0,0,
+0,0,0,0,74,0,0,0,0,0,0,
+0,74,74,0,74,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="11" height="18">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,
+0,10,0,42,10,0,0,0,44,0,0,
+0,42,0,0,0,0,44,0,0,0,0,
+0,0,0,0,42,0,0,0,0,44,0,
+0,10,42,0,10,0,0,44,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,11,0,42,11,0,0,0,0,0,0,
+0,42,0,0,0,0,0,0,0,0,0,
+0,0,0,0,42,0,0,0,0,0,0,
+0,11,42,0,11,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,19,0,42,19,0,0,0,0,0,0,
+0,42,0,0,0,0,0,0,0,0,0,
+0,0,0,0,42,0,0,0,0,0,0,
+0,19,42,0,19,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="11" height="18">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,10,0,0,0,0,0,0,0,
+0,10,0,0,0,0,0,0,0,0,0,
+0,0,0,0,10,0,0,0,0,0,0,
+0,0,10,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,11,0,0,0,0,0,0,0,
+0,11,0,0,0,0,0,0,0,0,0,
+0,0,0,0,11,0,0,0,0,0,0,
+0,0,11,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,19,0,0,0,0,0,0,0,
+0,19,0,0,0,0,0,0,0,0,0,
+0,0,0,0,19,0,0,0,0,0,0,
+0,0,19,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground2" width="11" height="18">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,810,0,0,0,0,304,0,0,
+0,793,0,0,0,0,287,0,0,0,0,
+0,0,0,0,825,0,0,0,0,319,0,
+0,0,808,0,0,0,0,302,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,810,0,0,0,0,0,0,0,
+0,793,0,0,0,0,0,0,0,0,0,
+0,0,0,0,825,0,0,0,0,0,0,
+0,0,808,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,810,0,0,0,0,0,0,0,
+0,793,0,0,0,0,0,0,0,0,0,
+0,0,0,0,825,0,0,0,0,0,0,
+0,0,808,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/castle_indoor/rule_castle_010.tmx b/Rules/castle_indoor/rule_castle_010.tmx
new file mode 100644
index 0000000..5629a23
--- /dev/null
+++ b/Rules/castle_indoor/rule_castle_010.tmx
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="20" height="19" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set_ci" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_castle_indoor.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" source="../../../client-data/graphics/tilesets/woodland_indoor.tsx"/>
+ <tileset firstgid="462" name="set_castle_indoor" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_castle_indoor.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="526" source="../../../client-data/graphics/tilesets/inn2.tsx"/>
+ <tileset firstgid="782" source="../../../client-data/graphics/tilesets/desert_city_indoors.tsx"/>
+ <layer name="Regions" width="20" height="19">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,74,74,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="20" height="19">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,11,11,0,11,11,0,42,42,0,42,42,0,44,44,0,44,44,0,0,
+0,11,42,0,42,11,0,42,11,0,11,42,0,44,0,0,0,44,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,11,42,0,42,11,0,42,11,0,11,42,0,44,0,0,0,44,0,0,
+0,11,11,0,11,11,0,42,42,0,42,42,0,44,44,0,44,44,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,10,0,10,10,0,42,42,0,42,42,0,0,0,0,0,0,0,0,
+0,10,42,0,42,10,0,42,10,0,10,42,0,0,44,0,44,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,42,0,42,10,0,42,10,0,10,42,0,0,44,0,44,0,0,0,
+0,10,10,0,10,10,0,42,42,0,42,42,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,19,19,0,19,19,0,42,42,0,42,42,0,0,0,0,0,0,0,0,
+0,19,42,0,42,19,0,42,19,0,19,42,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,19,42,0,42,19,0,42,19,0,19,42,0,0,0,0,0,0,0,0,
+0,19,19,0,19,19,0,42,42,0,42,42,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="20" height="19">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,11,11,0,11,11,0,11,11,0,11,11,0,0,0,0,0,0,0,0,
+0,11,11,0,11,11,0,11,11,0,11,11,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,11,11,0,11,11,0,11,11,0,11,11,0,0,0,0,0,0,0,0,
+0,11,11,0,11,11,0,11,11,0,11,11,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,10,0,10,10,0,10,10,0,10,10,0,0,0,0,0,0,0,0,
+0,10,10,0,10,10,0,10,10,0,10,10,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,10,0,10,10,0,10,10,0,10,10,0,0,0,0,0,0,0,0,
+0,10,10,0,10,10,0,10,10,0,10,10,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,19,19,0,19,19,0,19,19,0,19,19,0,0,0,0,0,0,0,0,
+0,19,19,0,19,19,0,19,19,0,19,19,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,19,19,0,19,19,0,19,19,0,19,19,0,0,0,0,0,0,0,0,
+0,19,19,0,19,19,0,19,19,0,19,19,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground2" width="20" height="19">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,294,0,0,0,295,0,654,0,0,0,655,0,0,
+0,0,280,0,282,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,312,0,314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,310,0,0,0,311,0,670,0,0,0,671,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,294,0,0,0,295,0,0,0,0,0,0,0,0,
+0,0,280,0,282,0,0,0,0,0,0,0,0,0,606,0,608,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,312,0,314,0,0,0,0,0,0,0,0,0,638,0,640,0,0,0,
+0,0,0,0,0,0,0,310,0,0,0,311,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,294,0,0,0,295,0,0,0,0,0,0,0,0,
+0,0,280,0,282,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,312,0,314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,310,0,0,0,311,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/castle_indoor/rule_castle_indoor.txt b/Rules/castle_indoor/rule_castle_indoor.txt
new file mode 100644
index 0000000..4ce7553
--- /dev/null
+++ b/Rules/castle_indoor/rule_castle_indoor.txt
@@ -0,0 +1,23 @@
+// lines starting with // or // are comments
+// all other lines will be parsed and treated as filenames.
+
+// Rules for castles indoors
+
+// basic stuff: each rule-tile gets a default tile
+// here is a map attribute set: "DeleteTiles := true" This means to delete all
+// tiles in all touched tileslayers first.
+./rule_castle_001.tmx
+
+// straight walls:
+./rule_castle_002.tmx
+
+// corners at walls
+./rule_castle_003.tmx
+
+// Carpets are bad in overall, so do not place one near the other
+// straight carpets
+./rule_castle_009.tmx
+
+// corners in carpets
+./rule_castle_010.tmx
+
diff --git a/Rules/cave/rule_cave.txt b/Rules/cave/rule_cave.txt
new file mode 100644
index 0000000..080ae6b
--- /dev/null
+++ b/Rules/cave/rule_cave.txt
@@ -0,0 +1,41 @@
+// lines starting with // or // are comments
+// all other lines will be parsed and treated as filenames.
+
+// Rules for caves
+
+// basic stuff: each rule-tile gets a default tile
+// here is a map attribute set: "DeleteTiles := true" This means to delete all
+// tiles in all touched tileslayers first.
+./rule_cave_001.tmx
+
+// straight walls:
+./rule_cave_002.tmx
+
+// corners at walls
+./rule_cave_003.tmx
+./rule_cave_004.tmx
+./rule_cave_005.tmx
+
+// water in caves:
+./rule_cave_006.tmx
+./rule_cave_007.tmx
+
+// rules for entrances, has bad exception handling,
+// so mind where to put entrances. (So avoid putting them near corners)
+./rule_cave_008.tmx
+
+// straight carpets
+./rule_cave_009.tmx
+
+// corners in carpets
+./rule_cave_010.tmx
+
+// all tiles, which are walkable, but have unwalkable neighbors,
+// should be unwalkable
+// example: a decorative stone in a sea
+
+./rule_cave_050.tmx
+
+// error handling: some situations cannot be handled properly with this ruleset:
+// so indicate these situations with the error-tile
+./rule_cave_100.tmx
diff --git a/Rules/cave/rule_cave_001.tmx b/Rules/cave/rule_cave_001.tmx
new file mode 100644
index 0000000..065ccce
--- /dev/null
+++ b/Rules/cave/rule_cave_001.tmx
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.2" tiledversion="1.3.2" orientation="orthogonal" renderorder="right-down" compressionlevel="0" width="17" height="17" tilewidth="32" tileheight="32" infinite="0" nextlayerid="8" nextobjectid="1">
+ <properties>
+ <property name="AutomappingRadius" value="1"/>
+ <property name="DeleteTiles" value="true"/>
+ </properties>
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" name="cave_x2" tilewidth="32" tileheight="64" tilecount="16" columns="16">
+ <image source="../../graphics/tilesets/cave_x2.png" width="512" height="64"/>
+ </tileset>
+ <layer id="1" name="Regions" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,74,0,74,0,74,0,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,74,0,74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,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="3" name="Output_Ground" width="17" height="17" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,82,0,198,0,188,0,188,0,98,0,75,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,201,0,196,0,188,0,188,0,75,0,75,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,184,0,82,0,0,0,188,0,75,0,75,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,82,0,82,0,0,0,0,0,75,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,105,0,105,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="4" name="Output_Fringe" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,177,0,0,0,0,0,136,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,152,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="6" name="Output_Over" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="7" name="Output_Error" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_002.tmx b/Rules/cave/rule_cave_002.tmx
new file mode 100644
index 0000000..74feece
--- /dev/null
+++ b/Rules/cave/rule_cave_002.tmx
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,74,0,0,0,0,0,0,
+0,74,0,0,0,74,74,0,
+0,74,0,74,0,0,0,0,
+0,74,0,74,0,74,74,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,14,0,
+0,14,0,0,0,0,0,0,
+0,0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,0,0,
+0,0,0,14,0,0,0,0,
+0,14,0,0,0,0,14,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,114,0,0,0,0,0,0,
+0,130,0,0,0,0,97,0,
+0,146,0,0,0,0,0,0,
+0,0,0,0,0,99,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,101,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,2,0,0,0,0,0,0,
+0,2,0,0,0,0,2,0,
+0,2,0,0,0,0,0,0,
+0,0,0,2,0,2,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_003.tmx b/Rules/cave/rule_cave_003.tmx
new file mode 100644
index 0000000..6656ef6
--- /dev/null
+++ b/Rules/cave/rule_cave_003.tmx
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="4" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,0,0,0,14,0,0,0,0,0,0,0,
+0,14,14,0,14,14,0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,14,0,14,0,0,14,14,0,14,14,0,
+0,0,0,0,0,0,0,14,0,0,0,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,86,0,0,0,87,0,0,100,0,102,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_004.tmx b/Rules/cave/rule_cave_004.tmx
new file mode 100644
index 0000000..3238bc7
--- /dev/null
+++ b/Rules/cave/rule_cave_004.tmx
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="7" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="7" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="7" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,
+0,14,14,0,14,14,0,
+0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="7" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,
+0,14,0,0,0,14,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="7" height="7" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,
+0,0,118,0,116,0,0,
+0,0,134,0,132,0,0,
+0,0,150,0,148,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="7" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,
+0,2,2,0,2,2,0,
+0,2,2,0,2,2,0,
+0,2,2,0,2,2,0,
+0,0,2,0,2,0,0,
+0,0,0,0,0,0,0,
+0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_005.tmx b/Rules/cave/rule_cave_005.tmx
new file mode 100644
index 0000000..a325b0a
--- /dev/null
+++ b/Rules/cave/rule_cave_005.tmx
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,74,0,74,0,0,0,0,0,0,0,0,
+0,0,74,0,74,0,0,0,74,0,74,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,14,0,14,0,0,
+0,14,14,0,14,14,0,0,14,0,14,0,0,
+0,0,14,0,14,0,0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,14,0,0,0,14,0,
+0,14,0,0,0,14,0,14,0,0,0,14,0,
+0,14,14,0,14,14,0,14,14,0,14,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,95,0,96,0,0,0,0,0,0,0,0,
+0,0,111,0,112,0,0,0,113,0,115,0,0,
+0,0,127,0,128,0,0,0,129,0,131,0,0,
+0,0,143,0,144,0,0,0,145,0,147,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,2,0,2,0,0,0,0,0,0,0,0,
+0,0,2,0,2,0,0,0,2,0,2,0,0,
+0,0,2,0,2,0,0,0,2,0,2,0,0,
+0,0,2,0,2,0,0,0,2,0,2,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_006.tmx b/Rules/cave/rule_cave_006.tmx
new file mode 100644
index 0000000..622082d
--- /dev/null
+++ b/Rules/cave/rule_cave_006.tmx
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="6" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,74,0,74,74,0,
+0,74,0,0,0,0,
+0,0,0,0,74,0,
+0,74,74,0,74,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,29,0,0,
+0,29,0,0,0,0,
+0,0,0,0,29,0,
+0,0,29,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,21,0,0,
+0,21,0,0,0,0,
+0,0,0,0,21,0,
+0,0,21,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,13,0,0,
+0,13,0,0,0,0,
+0,0,0,0,13,0,
+0,0,13,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,20,0,0,
+0,20,0,0,0,0,
+0,0,0,0,20,0,
+0,0,20,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,12,0,0,
+0,12,0,0,0,0,
+0,0,0,0,12,0,
+0,0,12,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.06">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,29,0,0,29,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,29,0,0,29,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.06">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,21,0,0,21,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,21,0,0,21,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.05">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,13,0,0,13,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,13,0,0,13,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.08">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,20,0,0,20,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,20,0,0,20,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.09">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,12,0,0,12,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,12,0,0,12,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,189,0,0,
+0,172,0,0,0,0,
+0,0,0,0,204,0,
+0,0,187,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_007.tmx b/Rules/cave/rule_cave_007.tmx
new file mode 100644
index 0000000..aeeae3c
--- /dev/null
+++ b/Rules/cave/rule_cave_007.tmx
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,29,29,0,29,29,0,
+0,0,29,0,29,0,0,29,0,0,0,29,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,29,0,29,0,0,29,0,0,0,29,0,
+0,0,0,0,0,0,0,29,29,0,29,29,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,21,21,0,21,21,0,
+0,0,21,0,21,0,0,21,0,0,0,21,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,21,0,21,0,0,21,0,0,0,21,0,
+0,0,0,0,0,0,0,21,21,0,21,21,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,13,13,0,13,13,0,
+0,0,13,0,13,0,0,13,0,0,0,13,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,13,0,13,0,0,13,0,0,0,13,0,
+0,0,0,0,0,0,0,13,13,0,13,13,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,20,20,0,20,20,0,
+0,0,20,0,20,0,0,20,0,0,0,20,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,20,0,20,0,0,20,0,0,0,20,0,
+0,0,0,0,0,0,0,20,20,0,20,20,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,12,12,0,12,12,0,
+0,0,12,0,12,0,0,12,0,0,0,12,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,12,0,12,0,0,12,0,0,0,12,0,
+0,0,0,0,0,0,0,12,12,0,12,12,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,29,29,0,29,29,0,0,0,0,0,0,0,
+0,29,0,0,0,29,0,0,29,0,29,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,29,0,0,0,29,0,0,29,0,29,0,0,
+0,29,29,0,29,29,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,21,21,0,21,21,0,0,0,0,0,0,0,
+0,21,0,0,0,21,0,0,21,0,21,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,21,0,0,0,21,0,0,21,0,21,0,0,
+0,21,21,0,21,21,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,13,13,0,13,13,0,0,0,0,0,0,0,
+0,13,0,0,0,13,0,0,13,0,13,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,13,0,0,0,13,0,0,13,0,13,0,0,
+0,13,13,0,13,13,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,20,20,0,20,20,0,0,0,0,0,0,0,
+0,20,0,0,0,20,0,0,20,0,20,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,20,0,0,0,20,0,0,20,0,20,0,0,
+0,20,20,0,20,20,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,12,12,0,12,12,0,0,0,0,0,0,0,
+0,12,0,0,0,12,0,0,12,0,12,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,12,0,0,0,12,0,0,12,0,12,0,0,
+0,12,12,0,12,12,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,169,0,0,0,170,0,
+0,0,171,0,173,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,203,0,205,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,185,0,0,0,186,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_008.tmx b/Rules/cave/rule_cave_008.tmx
new file mode 100644
index 0000000..00a7a06
--- /dev/null
+++ b/Rules/cave/rule_cave_008.tmx
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.2" tiledversion="1.2.2" orientation="orthogonal" renderorder="right-down" width="13" height="17" tilewidth="32" tileheight="32" infinite="0" nextlayerid="7" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" name="cave_x2" tilewidth="32" tileheight="64" tilecount="16" columns="16">
+ <image source="../../graphics/tilesets/cave_x2.png" width="512" height="64"/>
+ </tileset>
+ <layer id="1" name="Regions" width="13" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,74,74,74,0,0,0,0,0,
+0,0,0,0,0,74,74,74,0,0,0,0,0,
+0,0,0,0,0,74,74,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="2" name="Input_set" width="13" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,14,31,14,0,14,38,14,0,14,30,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,22,14,0,0,0,0,0,
+0,0,0,0,0,14,14,14,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="3" name="Input_set" width="13" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,23,0,0,0,15,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="4" name="InputNot_set" width="13" height="17" opacity="0.36">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,14,14,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="5" name="Output_Ground" width="13" height="17" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,98,98,98,0,98,98,98,0,98,98,98,0,
+0,114,114,114,0,114,114,114,0,114,114,114,0,
+0,164,165,166,0,139,140,141,0,91,92,93,0,
+0,180,181,182,0,155,156,157,0,107,108,109,0,
+0,0,0,0,0,0,0,0,0,123,124,125,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,82,82,82,0,0,0,0,0,
+0,0,0,0,0,82,82,82,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="6" name="Output_Over" width="13" height="17" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,101,101,101,0,0,0,0,0,
+0,0,0,0,0,195,195,195,0,0,0,0,0,
+0,0,0,0,0,210,211,212,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_009.tmx b/Rules/cave/rule_cave_009.tmx
new file mode 100644
index 0000000..bb1e8ec
--- /dev/null
+++ b/Rules/cave/rule_cave_009.tmx
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="6" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,74,0,74,74,0,
+0,74,0,0,0,0,
+0,0,0,0,74,0,
+0,74,74,0,74,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,43,0,0,
+0,43,0,0,0,0,
+0,0,0,0,43,0,
+0,0,43,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,42,0,0,
+0,42,0,0,0,0,
+0,0,0,0,42,0,
+0,0,42,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.36">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,43,0,0,43,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,43,0,0,43,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.33">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,42,0,0,42,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,42,0,0,42,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,106,0,0,
+0,89,0,0,0,0,
+0,0,0,0,121,0,
+0,0,104,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_010.tmx b/Rules/cave/rule_cave_010.tmx
new file mode 100644
index 0000000..3c9256b
--- /dev/null
+++ b/Rules/cave/rule_cave_010.tmx
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,43,43,0,43,43,0,
+0,0,43,0,43,0,0,43,0,0,0,43,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,43,0,43,0,0,43,0,0,0,43,0,
+0,0,0,0,0,0,0,43,43,0,43,43,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,42,42,0,42,42,0,
+0,0,42,0,42,0,0,42,0,0,0,42,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,42,0,42,0,0,42,0,0,0,42,0,
+0,0,0,0,0,0,0,42,42,0,42,42,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.33">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,43,0,43,0,0,0,0,0,0,0,0,
+0,43,0,0,0,43,0,0,43,0,43,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,43,0,0,0,43,0,0,43,0,43,0,0,
+0,0,43,0,43,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.36">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,42,0,42,0,0,0,0,0,0,0,0,
+0,42,0,0,0,42,0,0,42,0,42,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,42,0,0,0,42,0,0,42,0,42,0,0,
+0,0,42,0,42,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,137,0,0,0,138,0,
+0,0,88,0,90,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,120,0,122,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,153,0,0,0,154,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="13" height="7" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_050.tmx b/Rules/cave/rule_cave_050.tmx
new file mode 100644
index 0000000..ff04f7f
--- /dev/null
+++ b/Rules/cave/rule_cave_050.tmx
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="5" height="5" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <layer name="Regions" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,74,0,0,
+0,74,74,74,0,
+0,0,74,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,18,0,0,
+0,18,0,18,0,
+0,0,18,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,26,0,0,
+0,26,0,26,0,
+0,0,26,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,27,0,0,
+0,27,0,27,0,
+0,0,27,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,35,0,0,
+0,35,0,35,0,
+0,0,35,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,43,0,0,
+0,43,0,43,0,
+0,0,43,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,12,0,0,
+0,12,0,12,0,
+0,0,12,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,14,0,0,
+0,14,0,14,0,
+0,0,14,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,30,0,0,
+0,30,0,30,0,
+0,0,30,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,38,0,0,
+0,38,0,38,0,
+0,0,38,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,31,0,0,
+0,31,0,31,0,
+0,0,31,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,39,0,0,
+0,39,0,39,0,
+0,0,39,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,0,0,0,
+0,0,2,0,0,
+0,0,0,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_100.tmx b/Rules/cave/rule_cave_100.tmx
new file mode 100644
index 0000000..b115cf8
--- /dev/null
+++ b/Rules/cave/rule_cave_100.tmx
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="13" height="9" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="67" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="71" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="199" name="cave_x2" tilewidth="32" tileheight="64" tilecount="16" columns="16">
+ <image source="../../graphics/tilesets/cave_x2.png" width="512" height="64"/>
+ </tileset>
+ <layer name="Regions" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA84kyiOLOeMhPGJk2sPIfupbR42d1PTHlIBAHq5GFfUAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB9gxcFmx8HGB4hVR0ugjIM90AAA6DCU7NQBAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB/gxcEeqkAFB3ugAQAsLTFH1AEAAA==
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB9gw8EeBdQFAM2+xmvUAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB/gw8EeBdQFAEag6ZXUAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB8Qw8EeBdQFAJqF6UzUAQAA
+ </data>
+ </layer>
+ <layer name="Output_Error" width="13" height="9" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB9wIZFNrFkDBchxNz0AAJUJJNPUAQAA
+ </data>
+ </layer>
+</map>
diff --git a/Rules/cave/rule_cave_110.tmx b/Rules/cave/rule_cave_110.tmx
new file mode 100644
index 0000000..6656ef6
--- /dev/null
+++ b/Rules/cave/rule_cave_110.tmx
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="4" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_cave.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,0,0,0,14,0,0,0,0,0,0,0,
+0,14,14,0,14,14,0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,14,0,14,0,0,14,14,0,14,14,0,
+0,0,0,0,0,0,0,14,0,0,0,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,86,0,0,0,87,0,0,100,0,102,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/caverules.txt b/Rules/caverules.txt
new file mode 100644
index 0000000..d25355b
--- /dev/null
+++ b/Rules/caverules.txt
@@ -0,0 +1,6 @@
+rule_cave.tmx
+
+// NOTE: Map with Ground only, black - base ground - water. Automap after done.
+// AFTERMAP: Remove grey over tiles, fix narrow transistions (especially wall-water).
+// RANDOMIZE: By adding randomization to rule_cave.tmx AFTER first automap.
+// Add details manually.
diff --git a/Rules/desertcliffs/rule_cave.txt b/Rules/desertcliffs/rule_cave.txt
new file mode 100644
index 0000000..8695922
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave.txt
@@ -0,0 +1,32 @@
+// lines starting with // or // are comments
+// all other lines will be parsed and treated as filenames.
+
+// Rules for desert cliffs
+
+// basic stuff: each rule-tile gets a default tile
+// here is a map attribute set: "DeleteTiles := true" This means to delete all
+// tiles in all touched tileslayers first.
+./rule_cave_001.tmx
+
+// straight walls:
+./rule_cave_002.tmx
+
+// corners at walls
+./rule_cave_003.tmx
+./rule_cave_03.tmx
+//./rule_cave_004.tmx
+//./rule_cave_005.tmx
+
+// rules for entrances, has bad exception handling,
+// so mind where to put entrances. (So avoid putting them near corners)
+//./rule_cave_008.tmx
+
+// all tiles, which are walkable, but have unwalkable neighbors,
+// should be unwalkable
+// example: a decorative stone in a sea
+
+./rule_cave_050.tmx
+
+// error handling: some situations cannot be handled properly with this ruleset:
+// so indicate these situations with the error-tile
+//./rule_cave_100.tmx
diff --git a/Rules/desertcliffs/rule_cave_001.tmx b/Rules/desertcliffs/rule_cave_001.tmx
new file mode 100644
index 0000000..403a7a4
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_001.tmx
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="17" height="17" tilewidth="32" tileheight="32" nextobjectid="1">
+ <properties>
+ <property name="AutomappingRadius" value="1"/>
+ <property name="DeleteTiles" value="true"/>
+ </properties>
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="14" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Regions" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,43,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,78,0,0,0,0,0,0,0,78,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="17" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,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ffs/rule_cave_002.tmx b/Rules/desertcliffs/rule_cave_002.tmx
new file mode 100644
index 0000000..e7c1140
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_002.tmx
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="8" height="6" tilewidth="32" tileheight="32" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Regions" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,74,0,0,0,74,74,0,
+0,74,0,74,0,0,0,0,
+0,0,0,74,0,74,74,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,10,0,
+0,10,0,10,0,0,0,0,
+0,0,0,0,0,10,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="8" height="6" opacity="0.4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,10,0,0,0,10,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,10,0,0,10,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground1" width="8" height="6" opacity="0.8">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,176,0,
+0,161,0,113,0,0,0,0,
+0,0,0,129,0,181,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="8" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_003.tmx b/Rules/desertcliffs/rule_cave_003.tmx
new file mode 100644
index 0000000..27e52d8
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_003.tmx
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="13" height="4" tilewidth="32" tileheight="32" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Regions" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,10,0,10,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,10,0,10,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="4" opacity="0.7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,10,0,0,0,10,0,10,10,0,10,10,0,
+0,10,10,0,10,10,0,10,0,0,0,10,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground1" width="13" height="4">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,112,0,114,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,96,0,98,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_004.tmx b/Rules/desertcliffs/rule_cave_004.tmx
new file mode 100644
index 0000000..f4616ee
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_004.tmx
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="13" height="11" tilewidth="32" tileheight="32" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="512"/>
+ </tileset>
+ <tileset firstgid="334" name="desert2" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert2.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Regions" width="13" height="11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,74,74,74,74,0,0,0,74,74,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,10,10,0,0,0,0,0,10,10,0,0,
+0,0,10,0,0,0,0,0,0,0,10,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,10,0,0,0,0,0,0,0,10,0,0,
+0,0,10,10,0,0,0,0,0,10,10,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="11" opacity="0.7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,10,0,0,0,0,0,10,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,10,0,0,0,0,0,10,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,195,0,0,
+0,0,0,0,0,0,0,0,0,210,211,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="13" height="11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_005.tmx b/Rules/desertcliffs/rule_cave_005.tmx
new file mode 100644
index 0000000..97cf76d
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_005.tmx
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,74,0,74,0,0,0,0,0,0,0,0,
+0,0,74,0,74,0,0,0,74,0,74,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,14,0,14,0,0,
+0,14,14,0,14,14,0,0,14,0,14,0,0,
+0,0,14,0,14,0,0,0,14,0,14,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,14,0,0,0,14,0,
+0,14,0,0,0,14,0,14,0,0,0,14,0,
+0,14,14,0,14,14,0,14,14,0,14,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,95,0,96,0,0,0,0,0,0,0,0,
+0,0,111,0,112,0,0,0,113,0,115,0,0,
+0,0,127,0,128,0,0,0,129,0,131,0,0,
+0,0,143,0,144,0,0,0,145,0,147,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,2,0,2,0,0,0,0,0,0,0,0,
+0,0,2,0,2,0,0,0,2,0,2,0,0,
+0,0,2,0,2,0,0,0,2,0,2,0,0,
+0,0,2,0,2,0,0,0,2,0,2,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_006.tmx b/Rules/desertcliffs/rule_cave_006.tmx
new file mode 100644
index 0000000..9b1cf57
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_006.tmx
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="6" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,74,0,74,74,0,
+0,74,0,0,0,0,
+0,0,0,0,74,0,
+0,74,74,0,74,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,29,0,0,
+0,29,0,0,0,0,
+0,0,0,0,29,0,
+0,0,29,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,21,0,0,
+0,21,0,0,0,0,
+0,0,0,0,21,0,
+0,0,21,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,13,0,0,
+0,13,0,0,0,0,
+0,0,0,0,13,0,
+0,0,13,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,20,0,0,
+0,20,0,0,0,0,
+0,0,0,0,20,0,
+0,0,20,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,12,0,0,
+0,12,0,0,0,0,
+0,0,0,0,12,0,
+0,0,12,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.06">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,29,0,0,29,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,29,0,0,29,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.06">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,21,0,0,21,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,21,0,0,21,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.05">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,13,0,0,13,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,13,0,0,13,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.08">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,20,0,0,20,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,20,0,0,20,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6" opacity="0.09">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,12,0,0,12,0,
+0,0,0,0,0,0,
+0,0,0,0,0,0,
+0,12,0,0,12,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="6" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,
+0,0,0,189,0,0,
+0,172,0,0,0,0,
+0,0,0,0,204,0,
+0,0,187,0,0,0,
+0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_007.tmx b/Rules/desertcliffs/rule_cave_007.tmx
new file mode 100644
index 0000000..9171718
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_007.tmx
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,74,74,0,74,74,0,74,74,0,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,29,29,0,29,29,0,
+0,0,29,0,29,0,0,29,0,0,0,29,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,29,0,29,0,0,29,0,0,0,29,0,
+0,0,0,0,0,0,0,29,29,0,29,29,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,21,21,0,21,21,0,
+0,0,21,0,21,0,0,21,0,0,0,21,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,21,0,21,0,0,21,0,0,0,21,0,
+0,0,0,0,0,0,0,21,21,0,21,21,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,13,13,0,13,13,0,
+0,0,13,0,13,0,0,13,0,0,0,13,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,13,0,13,0,0,13,0,0,0,13,0,
+0,0,0,0,0,0,0,13,13,0,13,13,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,20,20,0,20,20,0,
+0,0,20,0,20,0,0,20,0,0,0,20,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,20,0,20,0,0,20,0,0,0,20,0,
+0,0,0,0,0,0,0,20,20,0,20,20,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,12,12,0,12,12,0,
+0,0,12,0,12,0,0,12,0,0,0,12,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,12,0,12,0,0,12,0,0,0,12,0,
+0,0,0,0,0,0,0,12,12,0,12,12,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,29,29,0,29,29,0,0,0,0,0,0,0,
+0,29,0,0,0,29,0,0,29,0,29,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,29,0,0,0,29,0,0,29,0,29,0,0,
+0,29,29,0,29,29,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,21,21,0,21,21,0,0,0,0,0,0,0,
+0,21,0,0,0,21,0,0,21,0,21,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,21,0,0,0,21,0,0,21,0,21,0,0,
+0,21,21,0,21,21,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,13,13,0,13,13,0,0,0,0,0,0,0,
+0,13,0,0,0,13,0,0,13,0,13,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,13,0,0,0,13,0,0,13,0,13,0,0,
+0,13,13,0,13,13,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,20,20,0,20,20,0,0,0,0,0,0,0,
+0,20,0,0,0,20,0,0,20,0,20,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,20,0,0,0,20,0,0,20,0,20,0,0,
+0,20,20,0,20,20,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7" opacity="0.11">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,12,12,0,12,12,0,0,0,0,0,0,0,
+0,12,0,0,0,12,0,0,12,0,12,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,12,0,0,0,12,0,0,12,0,12,0,0,
+0,12,12,0,12,12,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,169,0,0,0,170,0,
+0,0,171,0,173,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,203,0,205,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,185,0,0,0,186,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_008.tmx b/Rules/desertcliffs/rule_cave_008.tmx
new file mode 100644
index 0000000..14a69e3
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_008.tmx
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="13" height="17" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/cave.png" width="512" height="256"/>
+ </tileset>
+ <tileset firstgid="206" name="cave_x2" tilewidth="32" tileheight="64" tilecount="16" columns="16">
+ <image source="../../graphics/tilesets/cave_x2.png" width="512" height="64"/>
+ </tileset>
+ <layer name="Regions" width="13" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,74,74,74,0,74,74,74,0,74,74,74,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,74,74,74,0,0,0,0,0,
+0,0,0,0,0,74,74,74,0,0,0,0,0,
+0,0,0,0,0,74,74,74,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,14,31,14,0,14,38,14,0,14,30,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,22,14,0,0,0,0,0,
+0,0,0,0,0,14,14,14,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="17">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,23,0,0,0,15,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="17" opacity="0.36">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,14,14,0,14,14,14,0,14,14,14,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,14,14,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="17" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,98,98,98,0,98,98,98,0,98,98,98,0,
+0,114,114,114,0,114,114,114,0,114,114,114,0,
+0,164,165,166,0,139,140,141,0,91,92,93,0,
+0,180,181,182,0,155,156,157,0,107,108,109,0,
+0,0,0,0,0,0,0,0,0,123,124,125,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,82,82,82,0,0,0,0,0,
+0,0,0,0,0,82,82,82,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="13" height="17" visible="0">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,101,101,101,0,0,0,0,0,
+0,0,0,0,0,78,78,78,0,0,0,0,0,
+0,0,0,0,0,210,211,212,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_03.tmx b/Rules/desertcliffs/rule_cave_03.tmx
new file mode 100644
index 0000000..b7ddb3a
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_03.tmx
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="13" height="6" tilewidth="32" tileheight="32" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Regions" width="13" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,74,0,0,74,74,0,74,74,0,0,0,0,
+0,74,0,0,74,74,0,74,74,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="13" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,14,0,0,14,0,0,0,14,0,0,0,0,
+0,14,0,0,14,0,0,0,14,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="6" opacity="0.6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,14,0,14,0,0,0,0,0,
+0,0,0,0,0,14,0,14,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,78,0,0,0,78,0,0,0,0,
+0,0,0,0,78,0,0,0,78,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Ground1" width="13" height="6" opacity="0.8">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,129,0,0,130,0,0,0,128,0,0,0,0,
+0,129,0,0,130,0,0,0,128,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Over" width="13" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="13" height="6">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,2,0,0,2,0,0,0,2,0,0,0,0,
+0,2,0,0,2,0,0,0,2,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_050.tmx b/Rules/desertcliffs/rule_cave_050.tmx
new file mode 100644
index 0000000..aabf7fe
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_050.tmx
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="5" height="5" tilewidth="32" tileheight="32" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <layer name="Regions" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,74,0,0,
+0,74,74,74,0,
+0,0,74,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Input_set" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,14,0,0,
+0,14,0,14,0,
+0,0,14,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+ <layer name="Output_Collision" width="5" height="5">
+ <data encoding="csv">
+0,0,0,0,0,
+0,0,0,0,0,
+0,0,2,0,0,
+0,0,0,0,0,
+0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/desertcliffs/rule_cave_100.tmx b/Rules/desertcliffs/rule_cave_100.tmx
new file mode 100644
index 0000000..bd25bb0
--- /dev/null
+++ b/Rules/desertcliffs/rule_cave_100.tmx
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="1.0.3" orientation="orthogonal" renderorder="right-down" width="13" height="9" tilewidth="32" tileheight="32" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="10" name="set" tilewidth="32" tileheight="32" tilecount="64" columns="8">
+ <image source="../tilesets/set_desertcliff.png" width="256" height="256"/>
+ </tileset>
+ <tileset firstgid="74" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="78" name="desert1" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../../graphics/tilesets/desert1.png" width="512" height="512"/>
+ </tileset>
+ <tileset firstgid="334" name="desert2" tilewidth="32" tileheight="64" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/desert2.png" width="512" height="512"/>
+ </tileset>
+ <layer name="Regions" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC7wokCPFxKmpT3DHQAAJSFKadQBAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGHjAh4NNrJ5RgAoA0841FdQBAAA=
+ </data>
+ </layer>
+ <layer name="Output_Error" width="13" height="9" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGHjgjYNNrJ5RgAoAKzmZutQBAAA=
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave.txt b/Rules/icecave/rule_icecave.txt
new file mode 100644
index 0000000..c4580a9
--- /dev/null
+++ b/Rules/icecave/rule_icecave.txt
@@ -0,0 +1,34 @@
+# lines starting with # or // are comments
+# all other lines will be parsed and treated as filenames.
+
+# ice caves... similar to usual caves
+
+# basic stuff: each rule-tile gets a default tile
+./rule_icecave_001.tmx
+
+# straight walls:
+./rule_icecave_002.tmx
+
+# corners at walls
+./rule_icecave_003.tmx
+./rule_icecave_004.tmx
+./rule_icecave_005.tmx
+
+# frozen water straight waterside
+./rule_icecave_006.tmx
+
+# frozen water: corners at waterside
+./rule_icecave_007.tmx
+
+# carpet straight
+./rule_icecave_009.tmx
+
+# carpet corners
+./rule_icecave_010.tmx
+
+# entrances and exits
+./rule_icecave_020.tmx
+
+# error handling: some situations cannot be handled properly with this ruleset:
+# so indicate these situations with the error-tile
+./rule_icecave_100.tmx
diff --git a/Rules/icecave/rule_icecave_001.tmx b/Rules/icecave/rule_icecave_001.tmx
new file mode 100644
index 0000000..c7c31f9
--- /dev/null
+++ b/Rules/icecave/rule_icecave_001.tmx
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="9" height="9" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <properties>
+ <property name="AutoMappingRadius" value="1"/>
+ <property name="DeleteTiles" value="true"/>
+ </properties>
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4IE6CJBbj0DRZzyPEXALXctVNEAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4wQ2kWKM0KpdmI1A8D7FCaA02ci0RzuKE0D5o4H4nm8ENpASgtCKWFSDADALg2bV1EAQAA
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA5oQ2lpNLqVSP0wYASlJdDEyTVHkkrmwPwjgkYTAwCSHrZpRAEAAA==
+ </data>
+ </layer>
+ <layer name="Output_Collision" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4wEeBTCkg1D5d6cs2hxD8ARG/fIUQBAAA=
+ </data>
+ </layer>
+ <layer name="Output_Fringe" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA8YkKmPWubhUh9AojkBaDQ5AACqeTmWRAEAAA==
+ </data>
+ </layer>
+ <layer name="Output_Error" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGAWUAgAV+RUNRAEAAA==
+ </data>
+ </layer>
+ <layer name="Output_Over" width="9" height="9">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGAWUAgAV+RUNRAEAAA==
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_002.tmx b/Rules/icecave/rule_icecave_002.tmx
new file mode 100644
index 0000000..0df731d
--- /dev/null
+++ b/Rules/icecave/rule_icecave_002.tmx
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="9" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4Ik6FGGAmjq8FnHroabOYQAgAtyHRU2AAAAA==
+ </data>
+ </layer>
+ <layer name="Input_set" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4wk6mGGU2cGHPQ1aKbQQwAAE/ZWtvYAAAA
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB1gprIcPj3oAAAVANpz2AAAAA==
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA5YE6HGG4uYFho/mkj70IEOieoBwW8e8tgAAAA=
+ </data>
+ </layer>
+ <layer name="Output_Over" width="9" height="6" opacity="0.51">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGBigR2PzAWLr5ITYAAAA
+ </data>
+ </layer>
+ <layer name="Output_Collision" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4wkamGCU2cGHPQ1aKbQQwAAFG7H+7YAAAA
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_003.tmx b/Rules/icecave/rule_icecave_003.tmx
new file mode 100644
index 0000000..3dda319
--- /dev/null
+++ b/Rules/icecave/rule_icecave_003.tmx
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="13" height="4" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="4">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA8IQzGxbHL1kAoA+YlsANAAAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="4">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA8wE+Dj0sOMhc2AJk4JAAB87igk0AAAAA==
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="4">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIB8wo9EwNjMWNjHm4OKTAgA8hSQr0AAAAA==
+ </data>
+ </layer>
+ <layer name="Output_Over" width="13" height="4">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA/Io/EVkNi6UFqfTLMpAQCgAAh70AAAAA==
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_004.tmx b/Rules/icecave/rule_icecave_004.tmx
new file mode 100644
index 0000000..d7c406b
--- /dev/null
+++ b/Rules/icecave/rule_icecave_004.tmx
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="7" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="cave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="7" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA+EoRidTSs5XAAAY11lnagAAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="7" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA+YoRidTYkcA5ocMQAANSMN1qgAAAA=
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="7" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoD9gJsDHBgB9Q1zQqAAAAA==
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="7" height="6" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAzsobQtFjl/KO2LRS4eSscSYQchAAB9+9lsqAAAAA==
+ </data>
+ </layer>
+ <layer name="Output_Collision" width="7" height="6" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA+YoBidTYkcA5ocMQAAqilRnqgAAAA=
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_005.tmx b/Rules/icecave/rule_icecave_005.tmx
new file mode 100644
index 0000000..b365906
--- /dev/null
+++ b/Rules/icecave/rule_icecave_005.tmx
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIB8Io9GU6MEnLkwCm556SAUAWbn4FWwBAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIB8wo9GU6MEnzoyFTch+Uu2hBwAAZhB9h2wBAAA=
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGJqAGQ8flxwhPcwksMkBAHO5eppsAQAA
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIB9oQGlNEvRYQGlLNHErKG2DRY8HlPZEE/eC0j5Y9ERA6Ug08SgoHYPHjbQCAKQ1RdVsAQAA
+ </data>
+ </layer>
+ <layer name="Output_Collision" width="13" height="7" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIB8wodGU6MFnFr300BoAAErWG9FsAQAA
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_006.tmx b/Rules/icecave/rule_icecave_006.tmx
new file mode 100644
index 0000000..d796ca3
--- /dev/null
+++ b/Rules/icecave/rule_icecave_006.tmx
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="6" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA2EkWhhLOL4ALp6YSzi2AAALrUFg5AAAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAzYCPCppQcEAItPfPCQAAAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAy4CPCppQcEAOTd4SuQAAAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAz4CPCppQcEAMFTlWKQAAAA
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="6" height="6" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAza0PilROiZisZvIUIPCAAASt1u8JAAAAA=
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_007.tmx b/Rules/icecave/rule_icecave_007.tmx
new file mode 100644
index 0000000..a1670d4
--- /dev/null
+++ b/Rules/icecave/rule_icecave_007.tmx
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA8IQzGxbHL1DCe3AQDj6TXRbAEAAA==
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC5gg2J0NrI8A5o4LjWUuoMa9hDyDykAANyNKXlsAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC7ggmJ0NrI8A5o4LjWUuoMa9hDyDykAAN2upiFsAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC7gg2J0NrI8A5o4LjWUuoMa9hDyDykAACKwIxZsAQAA
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC4oQuMXo/FLoHQZle1FB1Og9DQKzWlC4zdTYBYAacXSPGwBAAA=
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_009.tmx b/Rules/icecave/rule_icecave_009.tmx
new file mode 100644
index 0000000..31c7132
--- /dev/null
+++ b/Rules/icecave/rule_icecave_009.tmx
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="6" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA2EkWhhLOL4ALp6YSzi2AAALrUFg5AAAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAzYCfCppQcEAJIt/ZSQAAAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAy4CfCppQcEAP2/YE+QAAAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAz4CfCppQcEANgxFAaQAAAA
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA3YcbBJBaSYAwA8zLY9kAAAAA==
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA24cbBJBaSYAwCnbhfQkAAAAA==
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgwA34cbBJBaSYAwARDac9kAAAAA==
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="6" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIAyM0fhKROhxQuMbEqEHBABmYFlZkAAAAA==
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_010.tmx b/Rules/icecave/rule_icecave_010.tmx
new file mode 100644
index 0000000..13b9120
--- /dev/null
+++ b/Rules/icecave/rule_icecave_010.tmx
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="13" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA8IQzGxbHL1DCe3AQDj6TXRbAEAAA==
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC5gh2J0NrI8A5o4LjWUuoMa9hDyDykAANMIrO9sAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC7ghmJ0NrI8A5o4LjWUuoMa9hDyDykAANIrI7dsAQAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC7gh2J0NrI8A5o4LjWUuoMa9hDyDykAAC01poBsAQAA
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA+wQzE6m5AeXHx2HGrIAeTYQ45/SAUAzKE5fmwBAAA=
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA9wQzE6m5AeXHxuHGrIAeTYQ45/SAUATchkcWwBAAA=
+ </data>
+ </layer>
+ <layer name="InputNot_set" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA/wQzE6m5AeXHx+HGrIAeTYQ45/SAUADe2AwmwBAAA=
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="13" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC4IQuMHo/EVobQyle1FB45Q2plCc5LQ+MkUmAUA1eCGkGwBAAA=
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_020.tmx b/Rules/icecave/rule_icecave_020.tmx
new file mode 100644
index 0000000..ff74b40
--- /dev/null
+++ b/Rules/icecave/rule_icecave_020.tmx
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="9" height="7" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="9" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4II2F6q8Gmhxg1hAAAKDCfLPwAAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="9" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4wI2F6qBEkoAabHiES9QAA7GlTvPwAAAA=
+ </data>
+ </layer>
+ <layer name="Output_Ground" width="9" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA5oI2FcwBaI7YDYHo+aECAOBeIwPGpSgDgViNOIdBsISCNhYgEAc8NUGPwAAAA=
+ </data>
+ </layer>
+ <layer name="Output_Over" width="9" height="7">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgGPxAH4gTgFgXjxp5INYDYgUSzAUA1uf1CPwAAAA=
+ </data>
+ </layer>
+ <layer name="Output_Collision" width="9" height="7" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoC9gQsL41DAQUEMNPQBW4FMC/AAAAA==
+ </data>
+ </layer>
+</map>
diff --git a/Rules/icecave/rule_icecave_100.tmx b/Rules/icecave/rule_icecave_100.tmx
new file mode 100644
index 0000000..a7c9936
--- /dev/null
+++ b/Rules/icecave/rule_icecave_100.tmx
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.0" tiledversion="" orientation="orthogonal" renderorder="right-down" width="9" height="6" tilewidth="32" tileheight="32" infinite="0" nextobjectid="1">
+ <tileset firstgid="1" name="collision" tilewidth="32" tileheight="32" tilecount="2" columns="2">
+ <image source="../../graphics/tilesets/collision.png" width="64" height="32"/>
+ </tileset>
+ <tileset firstgid="3" name="set_icecave" tilewidth="32" tileheight="32" tilecount="16" columns="4">
+ <image source="../tilesets/set_icecave.png" width="128" height="128"/>
+ </tileset>
+ <tileset firstgid="19" name="set_rules" tilewidth="32" tileheight="32" tilecount="4" columns="2">
+ <image source="../tilesets/set_rules.png" width="64" height="64"/>
+ </tileset>
+ <tileset firstgid="23" name="icecave" tilewidth="32" tileheight="32" tilecount="128" columns="16">
+ <image source="../../graphics/tilesets/icecave.png" width="512" height="256"/>
+ </tileset>
+ <layer name="Regions" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgIA4IEyEujEQLo/FJMQdZDJc5hAAAgNct+9gAAAA=
+ </data>
+ </layer>
+ <layer name="Input_set" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB5gw8FmJkIvLjXE6MUGAC5qS5vYAAAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB7gwsFmJkIvLjXE6MUGAFQuCaTYAAAA
+ </data>
+ </layer>
+ <layer name="Input_set" width="9" height="6">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB7gw8FmJkIvLjXE6MUGAL3v5wfYAAAA
+ </data>
+ </layer>
+ <layer name="Output_Error" width="9" height="6" visible="0">
+ <data encoding="base64" compression="gzip">
+ H4sIAAAAAAAAA2NgoB4QIYJNjF5ixAkBAOvVVsfYAAAA
+ </data>
+ </layer>
+</map>
diff --git a/Rules/rule_cave.tmx b/Rules/rule_cave.tmx
new file mode 100644
index 0000000..e134398
--- /dev/null
+++ b/Rules/rule_cave.tmx
@@ -0,0 +1,375 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<map version="1.2" tiledversion="1.2.2" orientation="orthogonal" renderorder="right-down" width="32" height="32" tilewidth="32" tileheight="32" infinite="0" nextlayerid="243" nextobjectid="1">
+ <tileset firstgid="1" name="hurns-cave" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../graphics/tilesets/evol/cave.png" width="512" height="512"/>
+ </tileset>
+ <tileset firstgid="257" name="artis-indoor" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../graphics/tilesets/artis-indoor.png" width="512" height="512"/>
+ </tileset>
+ <tileset firstgid="513" name="collision" tilewidth="32" tileheight="32" tilecount="9" columns="3">
+ <image source="../graphics/tilesets/collision.png" width="96" height="96"/>
+ </tileset>
+ <tileset firstgid="522" name="cave" tilewidth="32" tileheight="32" tilecount="256" columns="16">
+ <image source="../graphics/tilesets/evol/cave.png" width="512" height="512"/>
+ </tileset>
+ <layer id="15" name="regions_input" width="32" height="32">
+ <data encoding="csv">
+31,31,0,31,31,0,31,31,0,31,31,0,31,31,0,31,31,0,0,31,0,31,0,0,0,0,0,0,0,0,0,0,
+31,31,0,31,31,0,31,31,0,31,31,0,31,31,0,31,31,0,31,31,0,31,70,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,0,31,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,70,0,0,70,70,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+75,0,0,0,0,0,0,0,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,0,0,0,0,0,
+2,146,0,146,2,0,146,146,0,146,146,0,146,146,0,146,146,0,146,2,0,2,146,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,11,0,0,146,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+146,0,0,0,0,0,0,0,146,50,0,146,11,0,0,0,0,0,0,146,146,146,0,0,146,2,0,0,0,0,0,0,
+146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,146,11,11,0,0,11,2,0,0,0,0,0,0,
+2,0,50,2,0,2,50,0,11,0,0,2,146,0,0,0,0,0,0,11,0,0,0,0,11,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,50,146,0,0,11,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,146,146,146,0,0,2,146,0,0,0,0,0,0,
+2,0,114,0,114,2,0,2,114,0,0,0,0,0,0,0,0,0,0,11,11,146,0,0,2,11,0,0,0,0,0,0,
+114,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,11,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+2,113,0,115,2,0,130,114,0,114,130,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+98,114,0,114,98,0,2,113,0,115,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+130,2,0,2,113,0,2,2,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+2,2,0,2,2,0,115,2,0,2,98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,0,0,0,0
+</data>
+ </layer>
+ <layer id="226" name="input_Ground 1" width="32" height="32">
+ <data encoding="csv">
+114,114,0,114,114,0,114,114,0,114,114,0,114,0,0,0,114,0,0,114,0,114,0,0,0,0,0,0,0,0,0,0,
+114,0,0,0,114,0,0,0,0,0,0,0,0,0,0,0,0,0,0,114,0,114,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,114,0,114,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,
+50,0,0,0,0,49,0,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+51,97,0,99,49,0,129,114,0,114,131,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+97,114,0,114,99,0,0,129,0,131,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+ <layer id="242" name="output_Collision" width="32" height="32">
+ <data encoding="csv">
+0,0,0,0,0,0,0,0,0,0,0,0,0,514,0,514,0,0,0,514,0,514,0,0,0,0,0,0,0,0,0,0,
+0,514,0,514,0,0,514,514,0,514,514,0,514,514,0,514,514,0,514,514,0,514,514,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,514,0,514,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,514,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+514,0,0,514,0,514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,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,516,0,0,514,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+</data>
+ </layer>
+</map>
diff --git a/Rules/rules.txt b/Rules/rules.txt
new file mode 100644
index 0000000..4bd5986
--- /dev/null
+++ b/Rules/rules.txt
@@ -0,0 +1,17 @@
+# Comment the rules which are not in use
+
+# Micksha Cave
+#caverules.txt
+
+# Cave Rules
+cave/rule_cave.txt
+
+# Castle Rules (bad tileset)
+#castle_indoor/rule_castle_indoor.txt
+
+# Ice Cave Rules
+#icecave/rule_icecave.txt
+
+# Desert Cliffs Rules
+#desertcliffs/rule_cave.txt
+
diff --git a/Rules/tilesets/set_castle_indoor.png b/Rules/tilesets/set_castle_indoor.png
new file mode 100644
index 0000000..7f02def
--- /dev/null
+++ b/Rules/tilesets/set_castle_indoor.png
Binary files differ
diff --git a/Rules/tilesets/set_cave.png b/Rules/tilesets/set_cave.png
new file mode 100644
index 0000000..aa6e1bf
--- /dev/null
+++ b/Rules/tilesets/set_cave.png
Binary files differ
diff --git a/Rules/tilesets/set_desertcliff.png b/Rules/tilesets/set_desertcliff.png
new file mode 100644
index 0000000..3ead83d
--- /dev/null
+++ b/Rules/tilesets/set_desertcliff.png
Binary files differ
diff --git a/Rules/tilesets/set_hlw.png b/Rules/tilesets/set_hlw.png
new file mode 100644
index 0000000..ec17f1e
--- /dev/null
+++ b/Rules/tilesets/set_hlw.png
Binary files differ
diff --git a/Rules/tilesets/set_icecave.png b/Rules/tilesets/set_icecave.png
new file mode 100644
index 0000000..8a1319b
--- /dev/null
+++ b/Rules/tilesets/set_icecave.png
Binary files differ
diff --git a/Rules/tilesets/set_icemountain.png b/Rules/tilesets/set_icemountain.png
new file mode 100644
index 0000000..7a8613e
--- /dev/null
+++ b/Rules/tilesets/set_icemountain.png
Binary files differ
diff --git a/Rules/tilesets/set_rules.png b/Rules/tilesets/set_rules.png
new file mode 100644
index 0000000..bf7f93c
--- /dev/null
+++ b/Rules/tilesets/set_rules.png
Binary files differ
diff --git a/Rules/tilesets/set_woodland.png b/Rules/tilesets/set_woodland.png
new file mode 100644
index 0000000..9661f07
--- /dev/null
+++ b/Rules/tilesets/set_woodland.png
Binary files differ