
Video: http://www.youtube.com/watch?v=qwSybmvqINo&feature=youtu.be
Q:How can i import this mod?
1.On builtin.lua,Search "minetest.node_dig" (without "",LOL)
2.Where:
- Code: Select all
-- Add dropped items
local _, dropped_item
for _, dropped_item in ipairs(drops) do
digger:get_inventory():add_item("main", dropped_item)
end
3.Take:
- Code: Select all
digger:get_inventory():add_item("main", dropped_item)
4.Then Sostitute that with:
- Code: Select all
minetest.env:add_item(pos,dropped_item);
5.This could be the result
- Code: Select all
-- Add dropped items
local _, dropped_item
for _, dropped_item in ipairs(drops) do
--digger:get_inventory():add_item("main", dropped_item)
--Original Code's Backup
minetest.env:add_item(pos,dropped_item);
end
Q:Is there a stay-alone version?
Yes,get it there: http://www.mediafire.com/?hlsoc988x7f5qf4
Not so performable And it's bugged with nodes like stone and dirt with glass because they didn't give the same block,so he doesn't remove.I have no time for fix that,but if somebody wants to fix it's welcome.