1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 18:20:36 +01:00
server-nalc/mods/lavatemple/items.lua

32 lines
832 B
Lua
Raw Normal View History

2014-10-28 18:01:32 +01:00
minetest.register_tool("lavatemple:darkpick", {
description = "Dark Pickaxe",
inventory_image = "lavatemple_tool_darkpick.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=0,
groupcaps={
dark = {times={[1]=0.25}, uses=0, maxlevel=1},
},
damage_groups = {},
},
})
minetest.register_craftitem("lavatemple:teleport_orb", {
description = "Teleport'orb (does nothing yet)",
inventory_image = "lavatemple_teleport_orb.png",
on_place = function(itemstack, placer, pointed_thing)
end,
})
2015-04-06 20:44:27 +02:00
-- MODIFICATION MADE FOR MFF
minetest.register_craft({
output = "lavatemple:ladder 4",
recipe = {
{"default:obsidianbrick", "dye:red", "default:obsidianbrick"},
2015-04-06 20:44:27 +02:00
{"default:obsidianbrick", "default:obsidianbrick", "default:obsidianbrick"},
{"default:obsidianbrick", "", "default:obsidianbrick"}
}
})