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

View File

@ -2783,3 +2783,21 @@ minetest.register_craft({
{ "farming:string","moreblocks:panel_wood_1","farming:string" } { "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