2018-05-08 22:23:07 +02:00
|
|
|
local b = require "map_gen.shared.builders"
|
2018-05-07 13:18:18 +02:00
|
|
|
|
2018-05-08 22:23:07 +02:00
|
|
|
local land = b.rectangle(32,16)
|
2018-05-07 13:18:18 +02:00
|
|
|
|
|
|
|
|
2018-05-08 22:23:07 +02:00
|
|
|
local circle = b.circle(4)
|
|
|
|
local patch = b.resource(b.circle(8), "iron-ore")
|
2018-05-07 13:18:18 +02:00
|
|
|
|
2018-05-08 22:23:07 +02:00
|
|
|
local tree = b.entity(circle, "tree-01")
|
|
|
|
|
|
|
|
--[[ local shape = b.apply_entity(land, patch)
|
|
|
|
shape = b.apply_entity(shape, tree) ]]
|
|
|
|
|
2018-05-09 15:47:48 +02:00
|
|
|
local shape = b.apply_entities(land, {patch, tree})
|
2018-05-07 13:18:18 +02:00
|
|
|
|
|
|
|
return shape
|