Hmm. Well, I guess I'd have to test to find out if I was doing that right then.
I've got a tiny bit more done, still no images (even placeholders). Not much change to the resource code blocks, just some commas added (Thanks Putnam!), but a code block for the items they give you and a couple recipes. I still don't have anything useful to do with the crystals, but hopefully they don't throw up errors by being in an inventory (besides the image-not-found errors).
data:extend(
{
{
type = "resource",
name = "adamite-ore",
icon = --NOTE: FIX THIS LINE BEFORE DOING ANYTHING ELSE!!!!!
flags = {"placeable-neutral"},
order = "a-b-f",
infinite = true,
minimum = 500,
normal = 5000,
minable =
{
hardness = 1.5,
mining_particle = --FIGURE THIS OUT TOO
mining_time = 2,
result = "adamite-ore"
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace =
{
control = "adamite-ore",
sharpness = 1,
richness_multiplier = 10000,
richness_base = 500,
size_control_multiplier = 0.06,
peaks =
{ --I HAVE NO CLUE WHAT'S GOING ON HERE
{
influence = 0.2,
starting_area_weight_optimal = 0,
starting_area_weight_range = 0,
starting_area_weight_max_range = 2,
},
{
influence = -0.3,
richness_influence = -0.2,
noise_layer = "stone",
noise_octaves_difference = -3,
noise_persistence = 0.2,
},
{
influence = -0.3,
richness_influence = -0.2,
noise_layer = "coal",
noise_octaves_difference = -3,
noise_persistence = 0.2,
},
{
influence = 0.5
richness_influence = -0.5
noise_layer = "iron-ore",
noise_octaves_difference = -2.3,
noise_persistence = 0.2,
}
}
}, --This ends Autoplace, right?
stage_counts = {0},
stages =
{
sheet =
{
filename = --AAAAAAAH
priority = "extra-high",
width = 38,
height = 38,
frame_count = 4,
variation_count = 1
}
},
map_color = {r=0.2, g=0.1, b=0.56}
},
{
type = "resource",
name = "crystal",
icon = --AAAAAAAADD THIS TOO!!!
flags = {"placeable-neutral"},
order = "a-b-g",
minable =
{
hardness = 0.7,
mining_particle = --FIGURE THIS OUT SOON BOI
mining_time = 2,
result =
{
{type = "item", name = "crystal-shard", amount = 1, probability = 0.7},
{type = "item", name = "crystal-shard", amount = 4, probability = 0.1},
{type = "item", name = "crystal-whole", amount = 1, probability = 0.2}
}
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace =
{
control = "crystal",
sharpness = 1,
max_probability = 0.02,
richness_multiplier = 18000,
richness_base = 6000,
size_control_multiplier = 0.08,
peaks =
{
{influence = 0.1},
{
influence = 0.2,
starting_area_weight_optimal = 1,
starting_area_weight_range = 1,
starting_area_weight_max_range = 3,
}
}
},
stage_counts = {0}
stages =
{
sheet =
{
filename = --AAAAAAAH
priority = "extra-high",
width = 38,
height = 38,
frame_count = 4,
variation_count = 1
}
}
map_color = {r=0.9, g=0.45, b=0.45},
}
})
data:extend({
{
type = "item",
name = "adamite-ore",
icon = --ADD ICON SOON
flags = { "goes-to-main-inventory" },
subgroup = "raw-resource",
order = "e[adamite-ore]",
stack_size = 50
},
{
type = "item"
name = "crystal-shard",
icon = --ADD ICON SOON
flags = { "goes-to-main-inventory" },
subgroup = "raw-material",
order = "e[crystal]-a[shard]",
stack_size = 100
},
{
type = "item"
name = "crystal-whole",
icon = --ADD ICON SOON
flags = { "goes-to-main-inventory" },
subgroup = "raw-material",
order = "e[crystal]-b[whole]",
stack_size = 50
}
})
data:extend({
{
type = "recipe",
name = "adamite-smelt",
category = "smelting",
energy_required = 3.5,
ingredients = {{ "adamite-ore", 1}},
result =
{
{type = "item", name = "iron-ore", amount = 1, probability = 0.3},
{type = "item", name = "copper-ore", amount = 1, probability = 0.3},
{type = "item", name = "stone", amount = 1, probability = 0.2},
{type = "item", name = "crystal-shard", amount = 1, probability = 0.2}
}
},
{
type = "recipe",
name = "crystal-whole",
ingredients = {{"crystal-shard", 8}},
result = "crystal-whole"
},
{
type = "recipe",
name = "crystal-shard",
ingredients = {{"crystal-whole", 1}},
result = "crystal-shard",
result_count = 6
}
})