1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Change the builder to properly avoid water tiles in the starting ore ring.

Co-authored-by: grilledham <jrdgillham@gmail.com>
This commit is contained in:
Soggs 2021-05-20 20:56:16 +02:00 committed by GitHub
parent f38999d674
commit 2c61140d1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,9 @@ return function(config)
local ores = b.any(shapes)
local starting_ores = b.change_collision_tile(start_ore_shape, 'water-tile', 'grass-1') -- For some reason that does not always overwrite water tiles?
local starting_ores = b.change_map_gen_collision_tile(start_ore_shape, 'water-tile', 'grass-1')
starting_ores = b.apply_entity(starting_ores, b.segment_pattern(starting_ores_list))
return b.any {spawn_shape, starting_ores ,water_shape, ores}
end
end
end