recipe for plain wool and method of dyeing it white

This commit is contained in:
Sdzen Boco 2012-12-28 18:58:45 -05:00
parent 0eb46a01ff
commit b29c9ab956
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1 @@
default

View file

@ -9,6 +9,7 @@ local wool = {}
-- colors, and then some recipes using more specific colors for a few non-base
-- colors available. When crafting, the last recipes will be checked first.
wool.dyes = {
{"plain", "Plain", nil},
{"white", "White", nil},
{"grey", "Grey", "basecolor_grey"},
{"black", "Black", "basecolor_black"},
@ -46,3 +47,16 @@ for _, row in ipairs(wool.dyes) do
end
end
minetest.register_craft({
type = "shapeless",
output = "wool:white",
recipe = {'dye:white', 'wool:plain'},
})
minetest.register_craft({ --Suggested by jojoa1997
output = 'wool:plain 16',
recipe = {
{'default:leaves', 'default:papyrus', 'default:leaves'},
{'default:papyrus', 'default:stick', 'default:papyrus'},
{'default:leaves', 'default:papyrus', 'default:leaves'},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB