From 0bc8034b04e852c69ffcf6e99563398e956a9672 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Sun, 14 Nov 2010 19:56:11 +0100 Subject: rules improved --- maps/rules.txt | 21 +-------------------- rules/cave/rule_cave.txt | 2 ++ rules/cave/rule_cave_001.tmx | 13 +++++++++++++ rules/example_cave.tmx | 12 ------------ rules/icemountain/rule_icemountain.txt | 2 +- 5 files changed, 17 insertions(+), 33 deletions(-) diff --git a/maps/rules.txt b/maps/rules.txt index 58c1762c..5749e384 100644 --- a/maps/rules.txt +++ b/maps/rules.txt @@ -1,23 +1,4 @@ # lines starting with # or // are comments # all other lines will be parsed and treated as filenames. -../rules/rule_cave_001.tmx -../rules/rule_cave_002.tmx -../rules/rule_cave_003.tmx -../rules/rule_cave_004.tmx -../rules/rule_cave_005.tmx -../rules/rule_cave_006.tmx -../rules/rule_cave_007.tmx - -../rules/rule_icecave_001.tmx -../rules/rule_icecave_002.tmx -../rules/rule_icecave_003.tmx -../rules/rule_icecave_004.tmx -../rules/rule_icecave_005.tmx -../rules/rule_icecave_006.tmx -../rules/rule_icecave_007.tmx - -../rules/rule_icemountain_001.tmx -../rules/rule_icemountain_002.tmx -../rules/rule_icemountain_003.tmx -../rules/rule_icemountain_004.tmx +../rules/rules.txt diff --git a/rules/cave/rule_cave.txt b/rules/cave/rule_cave.txt index fc567ece..8308c683 100644 --- a/rules/cave/rule_cave.txt +++ b/rules/cave/rule_cave.txt @@ -4,6 +4,8 @@ # 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: diff --git a/rules/cave/rule_cave_001.tmx b/rules/cave/rule_cave_001.tmx index c520e25a..e1788147 100644 --- a/rules/cave/rule_cave_001.tmx +++ b/rules/cave/rule_cave_001.tmx @@ -1,5 +1,8 @@ + + + @@ -40,4 +43,14 @@ H4sIAAAAAAAAA2NgoA1gIsCnFaCXPYQAExpNqjy93UEvMFjiZxQMHgAAgZ1QGoQEAAA= + + + H4sIAAAAAAAAA2NgGAWjYBSMgoEDAJPZHwSEBAAA + + + + + H4sIAAAAAAAAA2NgGAWjYBSMgoEDAJPZHwSEBAAA + + diff --git a/rules/example_cave.tmx b/rules/example_cave.tmx index 876670f4..5e06bbcc 100644 --- a/rules/example_cave.tmx +++ b/rules/example_cave.tmx @@ -3,18 +3,6 @@ - - - - - - - - - - - - H4sIAAAAAAAAA+2X2wrCMAxA52WC8wKOKSj4MP//I2WgUEqSpkl6QftwGNtakpO0u/Rd1/WNRgPlyhizM4x3rsB5RUCNG4ixklhUvFL+EGvmOEkMjv8zo7/r6vc7Rc005Oo/hFubMYNraX/IMdTjR4U1sIwds8bvRn41+dfSP2v3zQfq3sLBO4fmhJ6htfj7Hpify4Rch/bIBbhmuX41czG/Y8Afq4/1+ufGkPhz/fxaUPOh/nPrcAt45/TfEvfGQF6zg+Q7isrL0l+z/6mcXP/lfG/kr9lLsT2Q9GImKO2f4/3v+r4U/hJS+nOfY1b9T+Ee6z94R2qc/z+k8Zbka+0v+X/9zhkQf04OkrytvqG0/tweST1y+qdyx3KIdbCglHttaB1OFThY8ms+jUaj8W+8Afgjpy8AIAAA diff --git a/rules/icemountain/rule_icemountain.txt b/rules/icemountain/rule_icemountain.txt index 3cce7ee5..c01afdb9 100644 --- a/rules/icemountain/rule_icemountain.txt +++ b/rules/icemountain/rule_icemountain.txt @@ -8,7 +8,7 @@ # dark red: below # the transitions "black<->dark red" and "black<->light red" can be mapped with # this ruleset. -# When you wan tto have more than 3 different heights, you should use the +# When you wan to have more than 3 different heights, you should use the # transition "light red<->dark red". So there is no wall at this transition and # you can start over from the red to black, having a wall to another height. -- cgit v1.2.3-60-g2f50