A highly configurable mod providing item magnet and in-world node drops
Go to file
2012-09-02 16:12:39 +02:00
sounds First commit 2012-09-01 00:52:41 +02:00
init.lua Bugfix when droping many items 2012-09-02 16:12:39 +02:00
README.txt Update README to current changes 2012-09-02 16:02:36 +02:00

===ITEM_DROP MOD for MINETEST-C55===
by PilzAdam

Introduction:
This mod adds Minecraft like drop/pick up of items to Minetest.

How to install:
Unzip the archive an place it in minetest-base-directory/mods/minetest/
if you have a windows client or a linux run-in-place client. If you have
a linux system-wide instalation place it in ~/.minetest/mods/minetest/.
If you want to install this mod only in one world create the folder
worldmods/ in your worlddirectory.
For further information or help see:
http://wiki.minetest.com/wiki/Installing_Mods

How to use the mod:
Just install it an everything works.

For developers:
This mod changes the minetest.get_node_drops() function to always
return {}. Use minetest.get_drops() to get the right drop.
Example:
Before:
local drop = minetest.get_node_drops("default:dirt", "default:pick_mese")
After:
local drop
if minetest.get_modpath("item_drop") == nil then
	drop = minetest.get_node_drops("default:dirt", "default:pick_mese")
else
	drop = minetest.get_drops("default:dirt", "default:pick_mese")
end

License:
Sourcecode: WTFPL (see below)
Sound: WTFPL (see below)

See also:
http://minetest.net/

         DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.