add recipes for the colored books

This commit is contained in:
Vanessa Ezekowitz 2014-09-30 11:13:31 -04:00
parent cf2cef8a79
commit d8bbbc9840
1 changed files with 18 additions and 0 deletions

View File

@ -2783,3 +2783,21 @@ minetest.register_craft({
{ "farming:string","moreblocks:panel_wood_1","farming:string" }
},
})
local bookcolors = {
"red",
"green",
"blue"
}
for _, color in ipairs(bookcolors) do
minetest.register_craft({
type = "shapeless",
output = "homedecor:book_"..color,
recipe = {
"dye:"..color,
"default:book"
},
})
end