Code: Select all
data:extend(
{
{
type = "mining-tool",
name = "power-axe",
icon = "__base__/graphics/icons/power-axe.png",
flags = {"goes-to-main-inventory"},
action =
{
type="direct",
action_delivery =
{
type = "instant",
target_effects =
{
type = "damage",
damage = { amount = 20 , type = "physical"}
}
}
},
durability = 20000,
subgroup = "tool",
order = "a[mining]-a[power-axe]",
speed = 8,
stack_size = 50
}
}
)