mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
removed test.lua and picture_test.lua
This commit is contained in:
parent
ca2e042b76
commit
033ed6ea11
@ -1,12 +0,0 @@
|
||||
require "locale.gen_combined.grilledham_map_gen.map_gen"
|
||||
require "locale.gen_combined.grilledham_map_gen.builders"
|
||||
|
||||
local pic = require "locale.gen_combined.grilledham_map_gen.data.color_mona_lisa"
|
||||
|
||||
local scale_factor = 1
|
||||
local shape = picture_builder(pic.data, pic.width, pic.height)
|
||||
shape = scale(shape, scale_factor, scale_factor)
|
||||
|
||||
local map = single_pattern_builder(shape, pic.width * scale_factor, pic.height * scale_factor)
|
||||
|
||||
return map
|
@ -1,29 +0,0 @@
|
||||
require "locale.gen_combined.grilledham_map_gen.map_gen"
|
||||
require "locale.gen_combined.grilledham_map_gen.builders"
|
||||
|
||||
local square = rectangle_builder(32,32)
|
||||
local circle = circle_builder(16)
|
||||
local path = path_builder(8)
|
||||
path = change_tile(path, true, "water")
|
||||
|
||||
square = compound_or({square, path})
|
||||
circle = compound_or({circle, path})
|
||||
|
||||
local pattern =
|
||||
{
|
||||
{square, circle},
|
||||
{circle, square}
|
||||
}
|
||||
|
||||
local map = grid_pattern_builder(pattern, 2, 2, 64, 64)
|
||||
map = rotate(map, degrees(45))
|
||||
|
||||
local start = rectangle_builder(48,48)
|
||||
|
||||
map = choose(start, start, map)
|
||||
|
||||
map = scale(map, 4, 4)
|
||||
|
||||
map = change_map_gen_collision_tile(map, "water-tile", "grass")
|
||||
|
||||
return map
|
@ -10,8 +10,6 @@ in this file and your run_*type*_module(event) function will be called.
|
||||
--require "locale.gen_combined.island_resort"
|
||||
|
||||
--grilledham's maps
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.test"
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.picture_test"
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.creation_of_adam"
|
||||
|
||||
--shapes--
|
||||
|
Loading…
Reference in New Issue
Block a user