52 lines
1.5 KiB
Lua
52 lines
1.5 KiB
Lua
minetest.register_tool("krompac:rychly", {
|
|
description = "Rychly krompac",
|
|
inventory_image = "krompac.png",
|
|
tool_capabilities = {
|
|
full_punch_interval = 0.1,
|
|
max_drop_level = 1,
|
|
groupcaps = {
|
|
crumbly = {
|
|
maxlevel = 3,
|
|
uses = 2000,
|
|
times = {[0] = 0.8, [1]=0.4, [2]=0.2, [3]=0.1 }
|
|
},
|
|
cracky = {
|
|
maxlevel = 3,
|
|
uses = 2000,
|
|
times = {[0] = 0.8, [1]=0.4, [2]=0.2, [3]=0.1 }
|
|
},
|
|
choppy = {
|
|
maxlevel = 3,
|
|
uses = 2000,
|
|
times = {[0] = 0.8, [1]=0.4, [2]=0.2, [3]=0.1 }
|
|
},
|
|
},
|
|
},
|
|
})
|
|
|
|
minetest.register_node("krompac:superblok", {
|
|
description = "SuperBlok",
|
|
tiles = {"superblok.png"},
|
|
is_ground_content = true,
|
|
groups = {cracky=1}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shaped",
|
|
output = "krompac:superblok",
|
|
recipe = {
|
|
{"default:mese", "default:diamondblock", "default:mese"},
|
|
{"default:diamondblock", "moreores:mithril_block", "default:diamondblock"},
|
|
{"default:mese", "default:diamondblock", "default:mese"}
|
|
}
|
|
})
|
|
minetest.register_craft({
|
|
type = "shaped",
|
|
output = "krompac:rychly",
|
|
recipe = {
|
|
{"krompac:superblok", "krompac:superblok", "krompac:superblok"},
|
|
{"krompac:superblok", "krompac:superblok", "krompac:superblok"},
|
|
{"krompac:superblok", "krompac:superblok", "krompac:superblok"},
|
|
}
|
|
})
|