Merge pull request 'Make Lecterns use wooden slabs for crafting' (#3605) from lectern_slab_issues into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3605 Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>callable-tool-rightclick-functions
commit
2a3fbdead0
|
@ -130,9 +130,9 @@ end
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_lectern:lectern",
|
output = "mcl_lectern:lectern",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"group:slab", "group:slab", "group:slab"},
|
{"group:wood_slab", "group:wood_slab", "group:wood_slab"},
|
||||||
{"", "mcl_books:bookshelf", ""},
|
{"", "mcl_books:bookshelf", ""},
|
||||||
{"", "group:slab", ""},
|
{"", "group:wood_slab", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -71,8 +71,6 @@ end
|
||||||
-- Node will be called mcl_stairs:stair_<subname>
|
-- Node will be called mcl_stairs:stair_<subname>
|
||||||
|
|
||||||
function mcl_stairs.register_stair(subname, recipeitem, groups, images, description, sounds, blast_resistance, hardness, corner_stair_texture_override)
|
function mcl_stairs.register_stair(subname, recipeitem, groups, images, description, sounds, blast_resistance, hardness, corner_stair_texture_override)
|
||||||
groups.stair = 1
|
|
||||||
groups.building_block = 1
|
|
||||||
|
|
||||||
if recipeitem then
|
if recipeitem then
|
||||||
if not images then
|
if not images then
|
||||||
|
@ -92,6 +90,9 @@ function mcl_stairs.register_stair(subname, recipeitem, groups, images, descript
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
groups.stair = 1
|
||||||
|
groups.building_block = 1
|
||||||
|
|
||||||
minetest.register_node(":mcl_stairs:stair_" .. subname, {
|
minetest.register_node(":mcl_stairs:stair_" .. subname, {
|
||||||
description = description,
|
description = description,
|
||||||
_doc_items_longdesc = S("Stairs are useful to reach higher places by walking over them; jumping is not required. Placing stairs in a corner pattern will create corner stairs. Stairs placed on the ceiling or at the upper half of the side of a block will be placed upside down."),
|
_doc_items_longdesc = S("Stairs are useful to reach higher places by walking over them; jumping is not required. Placing stairs in a corner pattern will create corner stairs. Stairs placed on the ceiling or at the upper half of the side of a block will be placed upside down."),
|
||||||
|
|
Loading…
Reference in New Issue