No. i leave everything on default. This is the code i use for the new resource:
Code: Select all
{
type = "resource",
name = "resin",
icon = "__TrueBuildings__/graphics/icons/resin.png",
flags = {"placeable-neutral"},
order="a-b-e",
minable =
{
hardness = 0.4,
mining_particle = "sticky-particle",
mining_time = 2,
result = "resin"
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace =
{
control = "resin",
sharpness = 1,
richness_multiplier = 11000,
richness_base = 250,
size_control_multiplier = 0.06,
peaks = {
{
influence = 0.20,
starting_area_weight_optimal = 0,
starting_area_weight_range = 0,
starting_area_weight_max_range = 2,
},
{
influence = 0.25,
starting_area_weight_optimal = 1,
starting_area_weight_range = 0,
starting_area_weight_max_range = 2,
},
{
influence = 0.6,
noise_layer = "resin",
noise_octaves_difference = -4,
noise_persistence = 0.45,
starting_area_weight_optimal = 1,
starting_area_weight_range = 0,
starting_area_weight_max_range = 2,
},
{
influence = -0.2,
max_influence = 0,
noise_layer = "copper-ore",
noise_octaves_difference = -2.3,
noise_persistence = 0.45,
},
{
influence = -0.2,
max_influence = 0,
noise_layer = "iron-ore",
noise_octaves_difference = -2.3,
noise_persistence = 0.45,
},
{
influence = -0.2,
max_influence = 0,
noise_layer = "coal",
noise_octaves_difference = -2.3,
noise_persistence = 0.45,
}
},
},
stage_counts = {1000, 600, 400, 200, 100, 50, 20, 1},
stages =
{
filename = "__TrueBuildings__/graphics/entity/sticky/sticky.png",
priority = "extra-high",
frame_width = 38,
frame_height = 38,
frame_count = 4,
direction_count = 8
},
map_color = {r=0.80, g=0.60, b=0.20}
},
I copied the code from Stone and changed the picture paths. thats all
EDIT: The most weird thing is the fact that if coal spawn in a larger amount there is no resin. same for resin.