commit
2f945350e0
|
@ -1 +1,2 @@
|
|||
default
|
||||
default
|
||||
moreblocks?
|
||||
|
|
29
init.lua
29
init.lua
|
@ -3,6 +3,7 @@
|
|||
-- Bamboo max high: 10
|
||||
|
||||
local ENABLE_GENERATION = true -- enables generation of bamboo
|
||||
local ENABLE_STAIRSPLUS = true
|
||||
|
||||
minetest.register_node("bamboo:bamboo",{
|
||||
description = "Bamboo",
|
||||
|
@ -114,17 +115,18 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'bamboo:slab_h 4',
|
||||
output = 'bamboo:slab_h 6',
|
||||
recipe = {
|
||||
{'bamboo:block', 'bamboo:block'},
|
||||
{'bamboo:block', 'bamboo:block', 'bamboo:block'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'bamboo:slab_v 4',
|
||||
output = 'bamboo:slab_v 6',
|
||||
recipe = {
|
||||
{'bamboo:block'},
|
||||
{'bamboo:block'},
|
||||
{'bamboo:block'}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -177,6 +179,27 @@ minetest.register_craft({
|
|||
burntime = 50,
|
||||
})
|
||||
|
||||
if minetest.get_modpath("moreblocks") and ENABLE_STAIRSPLUS then
|
||||
register_stair_slab_panel_micro(
|
||||
"bamboo",
|
||||
"block",
|
||||
"bamboo:block",
|
||||
{choppy=2, oddly_breakable_by_hand=2, flammable=2},
|
||||
{
|
||||
"bamboo_block.png",
|
||||
"bamboo_block.png",
|
||||
"bamboo_bottom.png",
|
||||
"bamboo_bottom.png",
|
||||
"bamboo_block.png",
|
||||
"bamboo_block.png"
|
||||
},
|
||||
"Bamboo",
|
||||
"block",
|
||||
0
|
||||
)
|
||||
table.insert(circular_saw.known_stairs, "bamboo:block")
|
||||
end
|
||||
|
||||
--ABMs
|
||||
|
||||
minetest.register_abm({
|
||||
|
|
Loading…
Reference in New Issue