Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ff33718

Browse files
committedSep 16, 2014
Fix dye stuff, fixes #23
1 parent 9670c27 commit ff33718

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
 

Diff for: ‎mods/default/craftitems.lua

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ minetest.register_craftitem("default:book", {
1919
minetest.register_craftitem("default:coal_lump", {
2020
description = "Coal Lump",
2121
inventory_image = "default_coal_lump.png",
22+
groups = {coal = 1}
2223
})
2324

2425
minetest.register_craftitem("default:iron_lump", {

Diff for: ‎mods/dye/init.lua

+7-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dyelocal.dyes = {
7373
{"dark_green", "Dark green dye",{dye=1, basecolor_green=1, excolor_green=1, unicolor_dark_green=1}},
7474
{"green", "Green dye", {dye=1, basecolor_green=1, excolor_green=1, unicolor_green=1}},
7575
{"yellow", "Yellow dye", {dye=1, basecolor_yellow=1, excolor_yellow=1, unicolor_yellow=1}},
76-
{"brown", "Brown dye", {dye=1, basecolor_yellow=1, excolor_orange=1, unicolor_dark_orange=1}},
76+
{"brown", "Brown dye", {dye=1, basecolor_brown=1, excolor_orange=1, unicolor_dark_orange=1}},
7777
{"orange", "Orange dye", {dye=1, basecolor_orange=1, excolor_orange=1, unicolor_orange=1}},
7878
{"red", "Red dye", {dye=1, basecolor_red=1, excolor_red=1, unicolor_red=1}},
7979
{"magenta", "Magenta dye", {dye=1, basecolor_magenta=1, excolor_red_violet=1,unicolor_red_violet=1}},
@@ -98,6 +98,12 @@ for _, row in ipairs(dyelocal.dyes) do
9898
recipe = {"group:flower,color_"..name},
9999
})
100100
end
101+
-- manually add coal->black dye
102+
minetest.register_craft({
103+
type = "shapeless",
104+
output = "dye:black 4",
105+
recipe = {"group:coal"},
106+
})
101107

102108
-- Mix recipes
103109
-- Just mix everything to everything somehow sanely

0 commit comments

Comments
 (0)
Please sign in to comment.