mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-16 10:19:27 +02:00
6aed6d6317
Add map loader
42 lines
1.3 KiB
Lua
42 lines
1.3 KiB
Lua
local ob = require 'map_gen.maps.crash_site.outpost_builder'
|
|
|
|
return ob.make_walls {
|
|
ob.make_4_way {
|
|
part_size = 3,
|
|
[1] = {entity = {name = 'stone-wall'}},
|
|
[2] = {entity = {name = 'stone-wall'}},
|
|
[3] = {entity = {name = 'stone-wall'}},
|
|
[4] = {tile = 'concrete'},
|
|
[5] = {tile = 'concrete'},
|
|
[6] = {tile = 'concrete'},
|
|
[7] = {tile = 'stone-path'},
|
|
[8] = {tile = 'stone-path'},
|
|
[9] = {tile = 'stone-path'}
|
|
},
|
|
ob.make_4_way {
|
|
part_size = 3,
|
|
wall = {callback = ob.wall_callback},
|
|
[1] = {entity = {name = 'stone-wall', callback = 'wall'}},
|
|
[2] = {entity = {name = 'stone-wall'}},
|
|
[3] = {entity = {name = 'stone-wall'}},
|
|
[4] = {entity = {name = 'stone-wall'}},
|
|
[5] = {tile = 'concrete'},
|
|
[6] = {tile = 'concrete'},
|
|
[7] = {entity = {name = 'stone-wall'}},
|
|
[8] = {tile = 'concrete'},
|
|
[9] = {tile = 'stone-path'}
|
|
},
|
|
ob.make_4_way {
|
|
part_size = 3,
|
|
[1] = {entity = {name = 'stone-wall'}},
|
|
[2] = {tile = 'concrete'},
|
|
[3] = {tile = 'stone-path'},
|
|
[4] = {tile = 'concrete'},
|
|
[5] = {tile = 'concrete'},
|
|
[6] = {tile = 'stone-path'},
|
|
[7] = {tile = 'stone-path'},
|
|
[8] = {tile = 'stone-path'},
|
|
[9] = {tile = 'stone-path'}
|
|
}
|
|
}
|