Rename empty bookshelf to empty shelf

This to account for the fact that vessel shelves can now be used here. Additionally, really loop back to cobblestone in relationship to the stone tile and its variants.
This commit is contained in:
Richard Qian 2016-12-05 16:15:34 -06:00 committed by sofar
parent da652c16cd
commit 4f9b05be4e
4 changed files with 13 additions and 11 deletions

View File

@ -60,6 +60,7 @@ minetest.register_alias("moreblocks:wood_tile_flipped","moreblocks:wood_tile")
minetest.register_alias("moreblocks:wood_tile_down","moreblocks:wood_tile_up")
minetest.register_alias("moreblocks:wood_tile_left","moreblocks:wood_up")
minetest.register_alias("moreblocks:wood_tile_right","moreblocks:wood_up")
minetest.register_alias("moreblocks:empty_bookshelf","moreblocks:empty_shelf")
-- ABM for horizontal trees (fix facedir):
local horizontal_tree_convert_facedir = {7, 12, 9, 18}

View File

@ -153,9 +153,9 @@ minetest.register_craft({
}
})
-- When approaching the below craft, loop back to the stone tile
-- When approaching the below craft, loop back to cobblestone, which can then be used to craft stone tiles again
minetest.register_craft({
output = "moreblocks:stone_tile",
output = "default:cobble",
recipe = {
{"moreblocks:split_stone_tile_alt"},
}
@ -174,34 +174,35 @@ minetest.register_craft({
})
minetest.register_craft({
output = "moreblocks:empty_bookshelf",
output = "moreblocks:empty_shelf",
type = "shapeless",
recipe = {"moreblocks:sweeper", "default:bookshelf"},
replacements = {{"default:bookshelf", "default:book 3"}},
-- When obtaining an empty bookshelf, return the books used in it as well
-- When obtaining an empty shelf, return the books used in it as well
})
minetest.register_craft({
output = "moreblocks:empty_bookshelf",
output = "moreblocks:empty_shelf",
type = "shapeless",
recipe = {"moreblocks:sweeper", "vessels:shelf"},
replacements = {{"vessels:shelf", "vessels:glass_fragments 4"}},
-- When obtaining an empty shelf, return four glass_fragment pieces
})
minetest.register_craft({
type = "shapeless",
output = "default:bookshelf",
recipe = {"moreblocks:empty_bookshelf", "default:book", "default:book", "default:book"},
recipe = {"moreblocks:empty_shelf", "default:book", "default:book", "default:book"},
})
minetest.register_craft({
type = "shapeless",
output = "vessels:shelf",
recipe = {"moreblocks:empty_bookshelf", "group:vessel", "group:vessel", "group:vessel"},
recipe = {"moreblocks:empty_shelf", "group:vessel", "group:vessel", "group:vessel"},
})
minetest.register_craft({
output = "moreblocks:empty_bookshelf",
output = "moreblocks:empty_shelf",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"", "", ""},

View File

@ -186,11 +186,11 @@ local nodes = {
"default_stone.png^moreblocks_cactus_checker.png^[transformR90"},
sounds = sound_stone,
},
["empty_bookshelf"] = {
description = S("Empty Bookshelf"),
["empty_shelf"] = {
description = S("Empty Shelf"),
paramtype2 = "facedir",
tiles = {"default_wood.png", "default_wood.png", "default_wood.png",
"default_wood.png", "moreblocks_empty_bookshelf.png", "moreblocks_empty_bookshelf.png"},
"default_wood.png", "moreblocks_empty_shelf.png", "moreblocks_empty_shelf.png"},
groups = {choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
sounds = sound_wood,

View File

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 219 B