Prototype/MiningTool
basics
A tool to mine ore out of the ground, breaks rocks, and damage enemies.
properites
type
type: Types/string Must be "mining-tool"
action
Tells the mining tool what to do when the player uses it.
example
{ type="direct", action_delivery = { type = "instant", target_effects = { type = "damage", damage = { amount = 8, type = "physical" } } } },