first folder is "grundoxores"
next folder is "graphics" with the folders "entity" with "ores" and "icons" with .png datas each
next folder is "prototypes" with "hämatit.lua":
Code: Select all
data:extend(
{
{
type = "autoplace-control",
name = "hämatit",
richness = true,
order = "b-e"
},
{
type = "noise-layer",
name = "hämatit"
},
{
type = "resource",
name = "hämatit",
icon = "__grundoxores__/graphics/icons/hämatit.png",
flags = {"placeable-neutral"},
order="a-b-a",
map_color = {r=0.26, g=0.30, b=0.39},
minable =
{
hardness = 1,
mining_particle = "hämatit-particle",
mining_time = 1.5,
result = "hämatit"
},
collision_box = {{ -0.1, -0.1}, {0.1, 0.1}},
selection_box = {{ -0.5, -0.5}, {0.5, 0.5}},
autoplace =
{
control = "hämatit",
sharpness = 1,
richness_multiplier = 13000,
richness_base = 350,
size_control_multiplier = 0.06,
peaks = {
{
influence = 0.3,
starting_area_weight_optimal = 0,
starting_area_weight_range = 0,
starting_area_weight_max_range = 2,
},
{
influence = 0.55,
noise_layer = "hämatit",
noise_octaves_difference = -2.3,
noise_persistence = 0.4,
starting_area_weight_optimal = 0,
starting_area_weight_range = 0,
starting_area_weight_max_range = 2,
},
},
},
stage_counts = {1000, 600, 400, 200, 100, 50, 20, 1},
stages =
{
sheet =
{
filename = "__grundoxores__/graphics/entity/ores/hämatit-ore.png",
priority = "extra-high",
width = 38,
height = 38,
frame_count = 4,
variation_count = 8
}
},
},
{
type = "item",
name = "hämatit",
icon = "__grundoxores__/graphics/icons/hämatit.png",
flags = {"goes-to-main-inventory"},
subgroup = "hämatit",
order = "a[hämatit]",
stack_size = 200
},
}
)
Code: Select all
require("prototypes.entity")
Code: Select all
{
"name": "grundoxores",
"version": "0.14.0",
"factorio_version": "0.14",
"title": "Grundox' Ores Mod",
"author": "Grundox",
"contact": "matthias.puck8@gmail.com",
"homepage": "",
"description": "This mod allows you to change the settings of Bob's mods.",
"dependencies": ["base >= 0.14.0"]
}