local ob = require 'map_gen.presets.crash_site.outpost_builder'

local level2 =
    ob.make_1_way {
    force = 'neutral',
    [1] = {tile = 'stone-path'},
    [2] = {tile = 'stone-path'},
    [3] = {tile = 'stone-path'},
    [4] = {tile = 'stone-path'},
    [5] = {tile = 'stone-path'},
    [6] = {tile = 'stone-path'},
    [7] = {tile = 'stone-path'},
    [8] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [9] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [10] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [11] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [12] = {tile = 'stone-path'},
    [13] = {tile = 'stone-path'},
    [14] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [15] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [16] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [17] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [18] = {tile = 'stone-path'},
    [19] = {tile = 'stone-path'},
    [20] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [21] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [22] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [23] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [24] = {tile = 'stone-path'},
    [25] = {tile = 'stone-path'},
    [26] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [27] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [28] = {entity = {name = 'iron-chest', callback = 'loot'}, tile = 'concrete'},
    [29] = {entity = {name = 'iron-chest', callback = 'loot'}, 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'}
}

local level3 =
    ob.make_1_way {
    force = 'neutral',
    max_count = 4,
    [1] = {tile = 'stone-path'},
    [2] = {tile = 'stone-path'},
    [3] = {tile = 'stone-path'},
    [4] = {tile = 'stone-path'},
    [5] = {tile = 'stone-path'},
    [6] = {tile = 'stone-path'},
    [7] = {tile = 'stone-path'},
    [8] = {tile = 'concrete'},
    [9] = {tile = 'concrete'},
    [10] = {tile = 'concrete'},
    [11] = {tile = 'concrete'},
    [12] = {tile = 'stone-path'},
    [13] = {tile = 'stone-path'},
    [14] = {tile = 'concrete'},
    [15] = {entity = {name = 'assembling-machine-2', callback = 'factory'}, tile = 'concrete'},
    [16] = {tile = 'concrete'},
    [17] = {tile = 'concrete'},
    [18] = {tile = 'stone-path'},
    [19] = {tile = 'stone-path'},
    [20] = {tile = 'concrete'},
    [21] = {tile = 'concrete'},
    [22] = {tile = 'concrete'},
    [23] = {tile = 'concrete'},
    [24] = {tile = 'stone-path'},
    [25] = {tile = 'stone-path'},
    [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'}
}

local level4 =
    ob.make_1_way {
    force = 'neutral',
    max_count = 1,
    [1] = {tile = 'stone-path'},
    [2] = {tile = 'stone-path'},
    [3] = {tile = 'stone-path'},
    [4] = {tile = 'stone-path'},
    [5] = {tile = 'stone-path'},
    [6] = {tile = 'stone-path'},
    [7] = {tile = 'stone-path'},
    [8] = {tile = 'concrete'},
    [9] = {tile = 'concrete'},
    [10] = {tile = 'concrete'},
    [11] = {tile = 'concrete'},
    [12] = {tile = 'stone-path'},
    [13] = {tile = 'stone-path'},
    [14] = {tile = 'concrete'},
    [15] = {entity = {name = 'market', callback = 'market'}},
    [16] = {tile = 'concrete'},
    [17] = {tile = 'concrete'},
    [18] = {tile = 'stone-path'},
    [19] = {tile = 'stone-path'},
    [20] = {tile = 'concrete'},
    [21] = {tile = 'concrete'},
    [22] = {tile = 'concrete'},
    [23] = {tile = 'concrete'},
    [24] = {tile = 'stone-path'},
    [25] = {tile = 'stone-path'},
    [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'}
}

return {
    level2,
    level3,
    level4
}
