Here's your dump correctly indented:
Code: Select all
{
inventory_image = "default_tool_steelpick.png",
stack_max = 1,
name = "default:pick_steel",
mod_origin = "default",
sound = {
breaks = "default_tool_breaks"
},
type = "tool",
tool_capabilities = {
full_punch_interval = 1,
groupscaps = {
cracky = {
times = {
4,
1.6,
0.8
},
uses = 20,
maxlevel = 2
}
},
groups = {
toollvl = 20,
tool = 1
},
max_drop_level = 1,
damage_groups = {
fleshy = 4
}
},
description = "Steel Pickaxe"
}
You've defined groups in the wrong place. It needs to be a top level key, not part of the tool_capabilities, like so:
Code: Select all
{
inventory_image = "default_tool_steelpick.png",
stack_max = 1,
name = "default:pick_steel",
mod_origin = "default",
sound = {
breaks = "default_tool_breaks"
},
type = "tool",
groups = {
toollvl = 20,
tool = 1
},
tool_capabilities = {
full_punch_interval = 1,
groupscaps = {
cracky = {
times = {
4,
1.6,
0.8
},
uses = 20,
maxlevel = 2
}
},
max_drop_level = 1,
damage_groups = {
fleshy = 4
}
},
description = "Steel Pickaxe"
}
(DON'T just copy this, but instead move the groups bit to the top level of the definition, like next to description. Also make sure you use correct indentation)