aboutsummaryrefslogtreecommitdiff
path: root/crafting.lua
diff options
context:
space:
mode:
authorRichard Qian <richWiki101@gmail.com>2016-12-03 11:53:07 -0600
committerHugo Locurcio <hugo.l@openmailbox.org>2016-12-03 18:53:07 +0100
commitde620e4ff8c0ec04001ad4df5cfd7ed0c6927c77 (patch)
tree959e0b03a74ab215aae93375fcd084ccaec33980 /crafting.lua
parent7f06db2200909e7e501b5092ae7b330bcef05d2a (diff)
downloadmoreblocks-de620e4ff8c0ec04001ad4df5cfd7ed0c6927c77.tar.gz
moreblocks-de620e4ff8c0ec04001ad4df5cfd7ed0c6927c77.tar.bz2
moreblocks-de620e4ff8c0ec04001ad4df5cfd7ed0c6927c77.zip
Some fixes for keeping in line with the default game (#59)
* Tweak some nodes - Add function for recently-added metal sounds, and make copper patina use this sound - Add all the wood tiles to the wood group - Make empty bookshelf usable as fuel for half the time of book and vessel shelves (for 15 seconds) * Return the books when crafting enpty bookshelves
Diffstat (limited to 'crafting.lua')
-rw-r--r--crafting.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/crafting.lua b/crafting.lua
index 501c9f4..3cdce2a 100644
--- a/crafting.lua
+++ b/crafting.lua
@@ -207,6 +207,8 @@ minetest.register_craft({
output = "moreblocks:empty_bookshelf",
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
})
minetest.register_craft({