Error
What is wrong? Here are the contents of files:
Code: Select all
Path __TestItems_0.0.1__/graphics/icons/test64x64.png does not match any mod.
item.lua
Code: Select all
data:extend({
{
type = "item",
name = "test64x64item",
icon = "__TestItems_0.0.1__/graphics/icons/test64x64.png",
flags = { "goes-to-quickbar" },
subgroup = "storage",
place_result="test64x64",
stack_size= 50,
},
{
type= "item",
name= "test128x128item",
icon = "__TestItems_0.0.1__/graphics/icons/test128x128item.png",
flags= { "goes-to-quickbar" },
subgroup = "production-machine",
place_result="test128x128",
stack_size= 50,
}
})
recipe.lua
Code: Select all
data:extend({
{
type = "recipe",
name = "test64x64item",
enabled = "true",
ingredients =
{
{"wood",1}
},
result = "test64x64item"
},
{
type = "recipe",
name = "test128x128item",
enabled = "true",
ingredients =
{
{"wood",1}
},
result = "test128x128item"
}
})
entity.lua
Any suggestions? Thanks for help!Code: Select all
data:extend({
{
type = "container",
name = "test64x64",
icon = "__TestItems_0.0.1__/graphics/icons/test64x64.png",
flags = { "placeable-neutral", "player-creation"},
minable = {mining_time = 1, result = "test64x64item"},
max_health = 10,
corpse = "medium-remnants",
collision_box = {{0, 0}, {0, 0}},
selection_box = {{-1, -1}, {1, 1}},
fast_replaceable_group = "container",
inventory_size = 32,
picture = {
filename = "__TestItems_0.0.1__/graphics/test64x64.png",
priority = "extra-high",
width = 64,
height = 64,
shift = {0,0}
}
},
{
type = "container",
name = "test128x128",
icon = "__TestItems_0.0.1__/graphics/icons/test128x128.png",
flags = { "placeable-neutral", "player-creation"},
minable = {mining_time = 1, result = "test64x64item"},
max_health = 10,
corpse = "medium-remnants",
collision_box = {{0, 0}, {0, 0}},
selection_box = {{-1, -1}, {1, 1}},
fast_replaceable_group = "container",
inventory_size = 64,
picture = {
filename = "__TestItems_0.0.1__/graphics/test128x128.png",
priority = "high",
width = 128,
height = 128,
shift = {0,0}
}
}
})