minetest.register tool

Syntax

 * name The name of the tool, for example: tutorial:decowood_pick.
 * tool_definition A table of values defining the tool.

Description
Registers a tool, examples are picks, axes, swords, and shovels.