mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
add recipes for the colored books
This commit is contained in:
parent
cf2cef8a79
commit
d8bbbc9840
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user