1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 08:10:38 +01:00
server-nalc/mods/lavatemple/items.lua
crabman77 55d75b175b Added new default:ladder_obsidian and changed lavatemple:ladder
Added new default:ladder_obsidian
Changed lavatemple:ladder  walkable=true, drawtype=nodebox, added new texture inv and changed texture
2015-04-07 00:40:35 +02:00

32 lines
832 B
Lua
Executable File

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,
})
-- MODIFICATION MADE FOR MFF
minetest.register_craft({
output = "lavatemple:ladder 4",
recipe = {
{"default:obsidianbrick", "dye:red", "default:obsidianbrick"},
{"default:obsidianbrick", "default:obsidianbrick", "default:obsidianbrick"},
{"default:obsidianbrick", "", "default:obsidianbrick"}
}
})