1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
RedMew/map_gen/presets/test.lua

16 lines
351 B
Lua
Raw Normal View History

2018-05-08 22:23:07 +02:00
local b = require "map_gen.shared.builders"
2018-05-08 22:23:07 +02:00
local land = b.rectangle(32,16)
2018-05-08 22:23:07 +02:00
local circle = b.circle(4)
local patch = b.resource(b.circle(8), "iron-ore")
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})
return shape