Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
minetest_game
Commits
32ee20eb
Commit
32ee20eb
authored
Jul 26, 2012
by
Perttu Ahola
Browse files
Use working shapeless multigroup recipes for dyeing wool
parent
937ec64e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mods/wool/init.lua
View file @
32ee20eb
...
...
@@ -39,18 +39,10 @@ for _, row in ipairs(wool.dyes) do
if
craft_color_group
then
-- Crafting from dye and white wool
minetest
.
register_craft
({
output
=
'wool:'
..
name
..
' 16'
,
recipe
=
{
{
'group:'
..
craft_color_group
},
{
'wool:white'
},
}
})
-- Shapeless group recipes don't currently work
--[[minetest.register_craft({
type
=
"shapeless"
,
output
=
'wool:'
..
name
..
' 16'
,
recipe = {'group:'..craft_color_group, 'wool:white'},
})
--]]
recipe
=
{
'group:
dye,
'
..
craft_color_group
,
'wool:white'
},
})
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment