Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
ModError: Failed to load and run C:\Users\Jonathan\Documents\My Games\Minetest 0.4.5\bin\..\mods\minetest\super_pickaxe\init.lua
And here is the code from the init.lua file:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_tool("super:pick", {
description = "Super Pickaxe",
inventory_image = "tool_superpick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=3,
groupcaps={
cracky={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=500, maxlevel=3},
crumbly={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=500, maxlevel=3},
snappy={times={[1]=2.0, [2]=1.0, [3]=0.5}, uses=500, maxlevel=3}
}
},
})
minetest.register_craft({
output = 'super:pick',
recipe = {
{'default:mese', 'default:pick_mese', 'default:mese'},
{'', 'default:stick', ''},
{'', 'default:stick', ''}
}
})
if minetest.setting_get("log_mods") then
minetest.log("action", "super_pickaxe loaded")
end
Any help would be greatly appreciated, thanks!