minetest.get dig params

Description
These are the parameters: A table with following fields is returned:
 * groups: the groups of some item
 * tool_capabilities: a table, obtain it with itemstack:get_tool_capabilities
 * time_from_last_punch: you can ignore this, it's used for anticheat
 * diggable: tells if the node can be dug with the passed tool capabilities
 * time: the time the node takes to be dug; note that this value can be smaller than 0.15, whereas when real players dig a node the time is set to 0.15 if it's smaller (tested 10.04.2017, see [https://github.com/minetest/minetest/blob/master/src/game.cpp#L3888 game.cpp:3888)
 * wear: the value which would be taken from the tool's toolwear after digging