1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Merge pull request #171 from Rickeyhb/develop

Added plus map
This commit is contained in:
Valansch 2018-04-16 14:28:42 +02:00 committed by GitHub
commit 313b4d0cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 209 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -0,0 +1,191 @@
return {
height = 185,
width = 337,
data = {
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,10,1,30,2,84,1,30,2,80,1,29,2,74,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{1,108,2,16,1,30,2,80,1,29,2,16,1,58,},
{2,10,1,30,2,84,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,195,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,79,1,31,2,73,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,11,1,167,2,5,},
{2,11,1,28,2,85,1,30,2,79,1,31,2,73,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,124,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,17,1,166,2,12,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,80,1,29,2,74,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
{2,11,1,28,2,85,1,30,2,183,},
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

16
map_gen/presets/plus.lua Normal file
View File

@ -0,0 +1,16 @@
-- Recommend to use generate, but generate_not_threaded may be useful for testing / debugging.
require "map_gen.shared.generate_not_threaded"
--require "map_gen.shared.generate"
local pic = require "map_gen.data.presets.plus" --or whatever you called it in data->presets
local pic = decompress(pic)
local map = picture_builder(pic)
map = single_pattern_builder(map, pic.width-1, pic.height-1)
map = translate(map, 86, 0)
-- uncomment the line below to change the size of the map scale(x, y)
map = scale(map, 1.5, 1.5)
return map

View File

@ -54,6 +54,8 @@ local Event = require "utils.event"
--MAP_GEN = require "map_gen.presets.fish_islands"
--MAP_GEN = require "map_gen.presets.ContraSpiral"
--MAP_GEN = require "map_gen.presets.cookies"
--MAP_GEN = require "map_gen.presets.plus"
--shapes--
--require "map_gen.shape.left"