2018-01-21 17:31:20 +02:00
|
|
|
map_gen_decoratives = false -- Generate our own decoratives
|
|
|
|
map_gen_rows_per_tick = 8 -- Inclusive integer between 1 and 32. Used for map_gen_threaded, higher numbers will generate map quicker but cause more lag.
|
|
|
|
|
|
|
|
-- Recommend to use generate, but generate_not_threaded may be useful for testing / debugging.
|
|
|
|
--require "map_gen.shared.generate_not_threaded"
|
2018-01-19 23:33:54 +02:00
|
|
|
require "map_gen.shared.generate"
|
2017-11-23 01:33:03 +02:00
|
|
|
|
2018-01-20 00:10:20 +02:00
|
|
|
local pic = require "map_gen.data.presets.turkey"
|
2017-11-23 01:33:03 +02:00
|
|
|
local pic = decompress(pic)
|
|
|
|
|
|
|
|
local shape = picture_builder(pic)
|
|
|
|
local shape = scale(shape, 4, 4)
|
|
|
|
local shape = translate(shape, -300, 500)
|
|
|
|
|
|
|
|
return shape
|