Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dye stuff, fixes #23
  • Loading branch information
BlockMen committed Sep 16, 2014
1 parent 9670c27 commit ff33718
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions mods/default/craftitems.lua
Expand Up @@ -19,6 +19,7 @@ minetest.register_craftitem("default:book", {
minetest.register_craftitem("default:coal_lump", {
description = "Coal Lump",
inventory_image = "default_coal_lump.png",
groups = {coal = 1}
})

minetest.register_craftitem("default:iron_lump", {
Expand Down
8 changes: 7 additions & 1 deletion mods/dye/init.lua
Expand Up @@ -73,7 +73,7 @@ dyelocal.dyes = {
{"dark_green", "Dark green dye",{dye=1, basecolor_green=1, excolor_green=1, unicolor_dark_green=1}},
{"green", "Green dye", {dye=1, basecolor_green=1, excolor_green=1, unicolor_green=1}},
{"yellow", "Yellow dye", {dye=1, basecolor_yellow=1, excolor_yellow=1, unicolor_yellow=1}},
{"brown", "Brown dye", {dye=1, basecolor_yellow=1, excolor_orange=1, unicolor_dark_orange=1}},
{"brown", "Brown dye", {dye=1, basecolor_brown=1, excolor_orange=1, unicolor_dark_orange=1}},
{"orange", "Orange dye", {dye=1, basecolor_orange=1, excolor_orange=1, unicolor_orange=1}},
{"red", "Red dye", {dye=1, basecolor_red=1, excolor_red=1, unicolor_red=1}},
{"magenta", "Magenta dye", {dye=1, basecolor_magenta=1, excolor_red_violet=1,unicolor_red_violet=1}},
Expand All @@ -98,6 +98,12 @@ for _, row in ipairs(dyelocal.dyes) do
recipe = {"group:flower,color_"..name},
})
end
-- manually add coal->black dye
minetest.register_craft({
type = "shapeless",
output = "dye:black 4",
recipe = {"group:coal"},
})

-- Mix recipes
-- Just mix everything to everything somehow sanely
Expand Down

0 comments on commit ff33718

Please sign in to comment.