item_drop/README.txt

53 lines
1.6 KiB
Plaintext
Raw Normal View History

2012-09-01 00:52:41 +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.
2012-09-02 16:02:36 +02:00
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
2012-09-01 00:52:41 +02:00
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.