Update README to current changes

This commit is contained in:
PilzAdam 2012-09-02 16:02:36 +02:00
parent 2b0847eae6
commit 155b646053

View File

@ -16,6 +16,20 @@ 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)