minetest.handle node drops

Description

 * — position
 * — list of itemstrings
 * — ObjectRef

Handles drops from nodes after digging: Default action is to put them into digger's inventory

Can be overridden to get different functionality (eg. dropping items on ground)

Example
Taken from PilzAdam's  mod.