I took the BobOres mod as a basis, and got such a problem. Some ores are generated in the same place overlapping each other. The picture clearly shows that the center point of generation coincides with several ores or liquids.
My file with "autoplace-control":
Code: Select all
--Garnierite
{
type = "autoplace-control",
name = "garnierite",
richness = true,
order = "b-g",
category = "resource",
},
--Granitic Ore
{
type = "autoplace-control",
name = "granitic-ore",
richness = true,
order = "b-h",
category = "resource",
},
Code: Select all
{
type = "resource",
name = "garnierite",
icon = "__xander-mod-v1__/graphics/item/material/resource/garnierite.png",
icon_size = 32,
flags = {"placeable-neutral"},
category = "hard-solid",
order = "a-b-b",
minable =
{
mining_time = 3,
result = "garnierite"--,
--fluid_amount = 10,
--required_fluid = "blasting-fluid"
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace = resource_autoplace.resource_autoplace_settings {
name = "garnierite",
order = "b",
base_density = 7,
has_starting_area_placement = false,
resource_index = resource_autoplace.get_next_resource_index(),
regular_rq_factor_multiplier = 1.1;
},
stage_counts = {10000, 5000, 2000, 1000, 500, 200, 100, 10},
stages =
{
sheet =
{
filename = "__xander-mod-v1__/graphics/entity/resource/garnierite.png",
priority = "extra-high",
width = 64,
height = 64,
frame_count = 8,
variation_count = 8,
hr_version =
{
filename = "__xander-mod-v1__/graphics/entity/resource/garnierite-hr.png",
priority = "extra-high",
width = 128,
height = 128,
frame_count = 8,
variation_count = 8,
scale = 0.5
}
}
},
map_color = {r = 0.28, g = 0.7, b = 0.37}
},
Code: Select all
{
type = "resource",
name = "granitic",
icon = "__xander-mod-v1__/graphics/item/material/resource/granitic.png",
icon_size = 32,
flags = {"placeable-neutral"},
category = "basic-solid",
order = "a-b-b",
minable =
{
mining_particle = "granitic-particle",
mining_time = 1,
result = "granitic-ore"
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace = resource_autoplace.resource_autoplace_settings {
name = "granitic-ore",
order = "b",
base_density = 7,
has_starting_area_placement = true,
resource_index = resource_autoplace.get_next_resource_index(),
regular_rq_factor_multiplier = 1.1,
starting_rq_factor_multiplier = 1.2;
},
stage_counts = {10000, 5000, 2000, 1000, 500, 200, 100, 10},
stages =
{
sheet =
{
filename = "__xander-mod-v1__/graphics/entity/resource/granitic.png",
priority = "extra-high",
width = 64,
height = 64,
frame_count = 8,
variation_count = 8,
hr_version =
{
filename = "__xander-mod-v1__/graphics/entity/resource/granitic-hr.png",
priority = "extra-high",
width = 128,
height = 128,
frame_count = 8,
variation_count = 8,
scale = 0.5
}
}
},
map_color = {r = 0.9, g = 0.9, b = 0.5}
},