first commit
This commit is contained in:
commit
42a12e1463
51
init.lua
Normal file
51
init.lua
Normal file
@ -0,0 +1,51 @@
|
||||
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"},
|
||||
}
|
||||
})
|
3
mod.conf
Normal file
3
mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = krompac
|
||||
description = Prida rychly krompac
|
||||
depends = default, moreores
|
BIN
textures/krompac.png
Normal file
BIN
textures/krompac.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 460 B |
BIN
textures/superblok.png
Normal file
BIN
textures/superblok.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 492 B |
Loading…
Reference in New Issue
Block a user