mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-03 14:53:01 +02:00
Merge pull request #46 from grilledham/develop-manhattan
Develop manhattan
This commit is contained in:
commit
9d2dfe81ea
2985
locale/gen_combined/grilledham_map_gen/data/manhattan.lua
Normal file
2985
locale/gen_combined/grilledham_map_gen/data/manhattan.lua
Normal file
File diff suppressed because one or more lines are too long
13
locale/gen_combined/grilledham_map_gen/presets/manhattan.lua
Normal file
13
locale/gen_combined/grilledham_map_gen/presets/manhattan.lua
Normal file
@ -0,0 +1,13 @@
|
||||
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.manhattan"
|
||||
|
||||
local shape = picture_builder(pic.data, pic.width, pic.height)
|
||||
shape = translate(shape, 10, -96)
|
||||
shape = scale(shape,2,2)
|
||||
shape = rotate(shape, degrees(-22.5))
|
||||
|
||||
shape = change_tile(shape, false, "deepwater")
|
||||
|
||||
return shape
|
@ -13,6 +13,7 @@ in this file and your run_*type*_module(event) function will be called.
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.mobius_strip"
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.antfarm"
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.creation_of_adam"
|
||||
--MAP_GEN = require "locale.gen_combined.grilledham_map_gen.presets.manhattan"
|
||||
|
||||
--shapes--
|
||||
--require "locale.gen_shape.right"
|
||||
|
Loading…
x
Reference in New Issue
Block a user