mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
6aed6d6317
Add map loader
120 lines
4.5 KiB
Lua
120 lines
4.5 KiB
Lua
local ob = require 'map_gen.maps.crash_site.outpost_builder'
|
|
|
|
return ob.make_walls {
|
|
ob.make_4_way {
|
|
[1] = {entity = {name = 'stone-wall'}},
|
|
[2] = {entity = {name = 'stone-wall'}},
|
|
[3] = {entity = {name = 'stone-wall'}},
|
|
[4] = {entity = {name = 'stone-wall'}},
|
|
[5] = {entity = {name = 'stone-wall'}},
|
|
[6] = {entity = {name = 'stone-wall'}},
|
|
[7] = {entity = {name = 'stone-wall'}},
|
|
[8] = {entity = {name = 'stone-wall'}},
|
|
[9] = {entity = {name = 'stone-wall'}},
|
|
[10] = {entity = {name = 'stone-wall'}},
|
|
[11] = {entity = {name = 'stone-wall'}},
|
|
[12] = {entity = {name = 'stone-wall'}},
|
|
[13] = {tile = 'stone-path'},
|
|
[14] = {tile = 'stone-path'},
|
|
[15] = {tile = 'stone-path'},
|
|
[16] = {tile = 'stone-path'},
|
|
[17] = {tile = 'stone-path'},
|
|
[18] = {tile = 'stone-path'},
|
|
[19] = {tile = 'concrete'},
|
|
[20] = {tile = 'concrete'},
|
|
[21] = {tile = 'concrete'},
|
|
[22] = {tile = 'concrete'},
|
|
[23] = {tile = 'concrete'},
|
|
[24] = {tile = 'concrete'},
|
|
[25] = {tile = 'concrete'},
|
|
[26] = {tile = 'concrete'},
|
|
[27] = {tile = 'concrete'},
|
|
[28] = {tile = 'concrete'},
|
|
[29] = {tile = 'concrete'},
|
|
[30] = {tile = 'concrete'},
|
|
[31] = {tile = 'stone-path'},
|
|
[32] = {tile = 'stone-path'},
|
|
[33] = {tile = 'stone-path'},
|
|
[34] = {tile = 'stone-path'},
|
|
[35] = {tile = 'stone-path'},
|
|
[36] = {tile = 'stone-path'}
|
|
},
|
|
ob.make_4_way {
|
|
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] = {entity = {name = 'stone-wall'}},
|
|
[6] = {entity = {name = 'stone-wall'}},
|
|
[7] = {entity = {name = 'stone-wall'}},
|
|
[8] = {entity = {name = 'stone-wall'}},
|
|
[9] = {entity = {name = 'stone-wall'}},
|
|
[10] = {entity = {name = 'stone-wall'}},
|
|
[11] = {entity = {name = 'stone-wall'}},
|
|
[12] = {entity = {name = 'stone-wall'}},
|
|
[13] = {entity = {name = 'stone-wall'}},
|
|
[14] = {entity = {name = 'stone-wall'}},
|
|
[15] = {tile = 'stone-path'},
|
|
[16] = {tile = 'stone-path'},
|
|
[17] = {tile = 'stone-path'},
|
|
[18] = {tile = 'stone-path'},
|
|
[19] = {entity = {name = 'stone-wall'}},
|
|
[20] = {entity = {name = 'stone-wall'}},
|
|
[21] = {tile = 'stone-path'},
|
|
[22] = {tile = 'concrete'},
|
|
[23] = {tile = 'concrete'},
|
|
[24] = {tile = 'concrete'},
|
|
[25] = {entity = {name = 'stone-wall'}},
|
|
[26] = {entity = {name = 'stone-wall'}},
|
|
[27] = {tile = 'stone-path'},
|
|
[28] = {tile = 'concrete'},
|
|
[29] = {tile = 'concrete'},
|
|
[30] = {tile = 'concrete'},
|
|
[31] = {entity = {name = 'stone-wall'}},
|
|
[32] = {entity = {name = 'stone-wall'}},
|
|
[33] = {tile = 'stone-path'},
|
|
[34] = {tile = 'concrete'},
|
|
[35] = {tile = 'concrete'},
|
|
[36] = {tile = 'stone-path'}
|
|
},
|
|
ob.make_4_way {
|
|
[1] = {entity = {name = 'stone-wall'}},
|
|
[2] = {entity = {name = 'stone-wall'}},
|
|
[3] = {tile = 'stone-path'},
|
|
[4] = {tile = 'concrete'},
|
|
[5] = {tile = 'concrete'},
|
|
[6] = {tile = 'stone-path'},
|
|
[7] = {entity = {name = 'stone-wall'}},
|
|
[8] = {entity = {name = 'stone-wall'}},
|
|
[9] = {tile = 'stone-path'},
|
|
[10] = {tile = 'concrete'},
|
|
[11] = {tile = 'concrete'},
|
|
[12] = {tile = 'stone-path'},
|
|
[13] = {tile = 'stone-path'},
|
|
[14] = {tile = 'stone-path'},
|
|
[15] = {tile = 'stone-path'},
|
|
[16] = {tile = 'concrete'},
|
|
[17] = {tile = 'concrete'},
|
|
[18] = {tile = 'stone-path'},
|
|
[19] = {tile = 'concrete'},
|
|
[20] = {tile = 'concrete'},
|
|
[21] = {tile = 'concrete'},
|
|
[22] = {tile = 'concrete'},
|
|
[23] = {tile = 'concrete'},
|
|
[24] = {tile = 'stone-path'},
|
|
[25] = {tile = 'concrete'},
|
|
[26] = {tile = 'concrete'},
|
|
[27] = {tile = 'concrete'},
|
|
[28] = {tile = 'concrete'},
|
|
[29] = {tile = 'concrete'},
|
|
[30] = {tile = 'stone-path'},
|
|
[31] = {tile = 'stone-path'},
|
|
[32] = {tile = 'stone-path'},
|
|
[33] = {tile = 'stone-path'},
|
|
[34] = {tile = 'stone-path'},
|
|
[35] = {tile = 'stone-path'},
|
|
[36] = {tile = 'stone-path'}
|
|
}
|
|
}
|