diff options
| author | Treeki <treeki@gmail.com> | 2011-08-14 13:28:07 +0200 | 
|---|---|---|
| committer | Treeki <treeki@gmail.com> | 2011-08-14 13:28:07 +0200 | 
| commit | ebdd733a35511127a4f6b79eb3868b557c3033ce (patch) | |
| tree | c7fd6558315a70df61b272f9b606160c19087473 | |
| parent | 15a45c3a765692d164df913d83dbaaedf760edb0 (diff) | |
| download | kamek-ebdd733a35511127a4f6b79eb3868b557c3033ce.tar.gz kamek-ebdd733a35511127a4f6b79eb3868b557c3033ce.zip  | |
fixed newnohara/mtmush/darkmtmush
Diffstat (limited to '')
| -rw-r--r-- | randtilegen.rb | 48 | 
1 files changed, 47 insertions, 1 deletions
diff --git a/randtilegen.rb b/randtilegen.rb index 21a9f58..b807c2f 100644 --- a/randtilegen.rb +++ b/randtilegen.rb @@ -163,7 +163,7 @@ g.section(*regular_ts1, *regular_ts2, *newer) do  	g.regular_terrain  end -nohara_clones = %w(nohara newnohara cracks springwater mtmush darkmtmush space) +nohara_clones = %w(nohara cracks springwater space)  g.section(*nohara_clones.map{ |x| "Pa1_#{x}"}) do  	g.regular_terrain  	g.sub_terrain @@ -321,6 +321,52 @@ g.section('Pa2_forestobake') do  	g.random([0x41, 0x51, 0x61, 0x71], :vert)  end +g.section('Pa1_newnohara') do +	g.sub_terrain + +	g.random(2..7, :horz) +	g.random(0x22..0x27, :horz) +	g.random([0x10, 0x20, 0x30, 0x40], :vert) +	g.random([0x11, 0x21, 0x31, 0x41], :vert) +	random_set = (0xAA..0xAF).to_a + (0xBA..0xBF).to_a + (0xCA..0xCF).to_a +	random_set += (0xDA..0xDF).to_a + (0xEA..0xEF).to_a + (0xFA..0xFF).to_a +	g.random(0x12..0x17, :both, random_set) +	g.random(0xAA..0xAF, :both, random_set) +	g.random(0xBA..0xBF, :both, random_set) +	g.random(0xCA..0xCF, :both, random_set) +	g.random(0xDA..0xDF, :both, random_set) +	g.random(0xEA..0xEF, :both, random_set) +	g.random(0xFA..0xFF, :both, random_set) +end + +g.section('Pa1_mtmush') do +	g.sub_terrain + +	g.random(2..7, :horz) +	g.random(0x22..0x27, :horz) +	g.random([0x10, 0x20, 0x30, 0x40], :vert) +	g.random([0x11, 0x21, 0x31, 0x41], :vert) +	random_set = (0xDA..0xDF).to_a + (0xEA..0xEF).to_a + (0xFA..0xFF).to_a +	g.random(0x12..0x17, :both, random_set) +	g.random(0xDA..0xDF, :both, random_set) +	g.random(0xEA..0xEF, :both, random_set) +	g.random(0xFA..0xFF, :both, random_set) +end + +g.section('Pa1_darkmtmush') do +	g.sub_terrain + +	g.random(2..7, :horz) +	g.random(0x22..0x27, :horz) +	g.random([0x10, 0x20, 0x30, 0x40], :vert) +	g.random([0x11, 0x21, 0x31, 0x41], :vert) +	random_set = (0xCC..0xCF).to_a + (0xDC..0xDF).to_a + (0xEC..0xEF).to_a + (0xFC..0xFF).to_a +	g.random(0x12..0x17, :both, random_set) +	g.random(0xCC..0xCF, :both, random_set) +	g.random(0xDC..0xDF, :both, random_set) +	g.random(0xEC..0xEF, :both, random_set) +	g.random(0xFC..0xFF, :both, random_set) +end  | 
