1
0
Fork 0

Added in Fuel Recipes for bamboo slabs / stairs; including mosaics.

Finished Bamboo Mosaic nodes.
This commit is contained in:
Michieal 2022-12-23 17:27:01 -05:00
parent b0978d275d
commit 42f8fbf9b8
2 changed files with 34 additions and 27 deletions

View File

@ -24,15 +24,16 @@ local function bambootoo_create_nodes()
bamboo_mosaic.description = S("Bamboo Mosaic Plank") bamboo_mosaic.description = S("Bamboo Mosaic Plank")
bamboo_mosaic._doc_items_longdesc = S("Bamboo Mosaic Plank") bamboo_mosaic._doc_items_longdesc = S("Bamboo Mosaic Plank")
minetest.register_node("mcl_bamboo:bamboo_mosaic",bamboo_mosaic) minetest.register_node("mcl_bamboo:bamboo_mosaic",bamboo_mosaic)
-- crafted by "mcl_stair:slab_bamboo_plank", "mcl_stair:slab_bamboo_block", "mcl_stair:slab_bamboo_stripped" -- crafted by "mcl_stair:slab_bamboo_plank", "mcl_stair:slab_bamboo_block", "mcl_stair:slab_bamboo_stripped"
if minetest.get_modpath("mcl_stairs") then if minetest.get_modpath("mcl_stairs") then
if mcl_stairs ~= nil then if mcl_stairs ~= nil then
mcl_stairs.register_stair_and_slab_simple( mcl_stairs.register_stair_and_slab_simple(
"bamboo_mosaic", "bamboo_mosaic",
"mcl_bamboo:bamboo_mosaic", "mcl_bamboo:bamboo_mosaic",
S("Bamboo Stair"), S("Bamboo Mosaic Stair"),
S("Bamboo Slab"), S("Bamboo Mosaic Slab"),
S("Double Bamboo Slab") S("Double Bamboo Mosaic Slab")
) )
end end
end end
@ -91,22 +92,6 @@ local function bambootoo_register_craftings()
} }
}) })
minetest.register_craft({
output = bamboo .. "_mosaic",
recipe = {
{"mcl_stair:slab_bamboo_block"},
{"mcl_stair:slab_bamboo_block"},
}
})
minetest.register_craft({
output = bamboo .. "_mosaic",
recipe = {
{"mcl_stair:slab_bamboo_stripped"},
{"mcl_stair:slab_bamboo_stripped"},
}
})
-- Fuels... -- Fuels...
minetest.register_craft({ minetest.register_craft({
@ -114,6 +99,16 @@ local function bambootoo_register_craftings()
recipe = bamboo .. "_mosaic", recipe = bamboo .. "_mosaic",
burntime = 7.5, burntime = 7.5,
}) })
minetest.register_craft({
type = "fuel",
recipe = "mcl_stairs:slab_bamboo_mosaic",
burntime = 7.5,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_stairs:stair_bamboo_mosaic",
burntime = 15,
})
end end

View File

@ -770,6 +770,22 @@ local function register_craftings()
burntime = 7.5, burntime = 7.5,
}) })
minetest.register_craft({
type = "fuel",
recipe = "mcl_stairs:stair_bamboo_plank",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_stairs:stair_bamboo_block",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_stairs:stair_bamboo_stripped",
burntime = 15,
})
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "mesecons_button:button_bamboo_off", recipe = "mesecons_button:button_bamboo_off",
@ -858,15 +874,11 @@ todo -- mash all of that together so that it drops as one item, and chooses what
todo -- Raft todo -- Raft
todo -- Raft with Chest. todo -- Raft with Chest.
todo -- Add in Extras. todo -- Add in Extras.
todo: Added a new "Mosaic" plank variant that is unique to Bamboo called Bamboo Mosaic todo -- [X] Added a new "Mosaic" plank variant that is unique to Bamboo called Bamboo Mosaic
It can be crafted with 1x2 Bamboo Slabs in a vertical strip It can be crafted with 1x2 Bamboo (plank) Slabs in a vertical strip
You can craft Stair and Slab variants of Bamboo Mosaic You can craft Stair and Slab variants of Bamboo Mosaic
Bamboo Mosaic blocks cannot be used as a crafting ingredient where other wooden blocks are used, but they can be Bamboo Mosaic blocks cannot be used as a crafting ingredient where other wooden blocks are used, but they can be
used as fuel. used as fuel. [Done]
todo -- add in fuel recipes for:
[-] bamboo slab + stripped bamboo slab
[-] bamboo stair + stripped bamboo stair + bamboo plank stair
todo -- fix scaffolding placing, instead of using on_rightclick first. todo -- fix scaffolding placing, instead of using on_rightclick first.
--]] --]]