Added groups = {dyes=1}, to all register_craftitem calls, to make it

easier for worlflow's palette/easel mod to categorize the dyes.
This commit is contained in:
Vanessa Ezekowitz 2012-07-12 21:54:43 -04:00
parent 02313f504d
commit 398b39068b

View File

@ -182,6 +182,7 @@ minetest.register_craft( {
minetest.register_craftitem("unifieddyes:titanium_dioxide", { minetest.register_craftitem("unifieddyes:titanium_dioxide", {
description = "Titanium Dioxide Powder", description = "Titanium Dioxide Powder",
inventory_image = "unifieddyes_titanium_dioxide.png", inventory_image = "unifieddyes_titanium_dioxide.png",
groups = {dye=1},
}) })
minetest.register_craft({ minetest.register_craft({
@ -203,6 +204,7 @@ minetest.register_craft( {
minetest.register_craftitem("unifieddyes:white_paint", { minetest.register_craftitem("unifieddyes:white_paint", {
description = "White Paint", description = "White Paint",
inventory_image = "unifieddyes_white_paint.png", inventory_image = "unifieddyes_white_paint.png",
groups = {dye=1},
}) })
@ -221,6 +223,7 @@ minetest.register_craft( {
minetest.register_craftitem("unifieddyes:lightgrey_paint", { minetest.register_craftitem("unifieddyes:lightgrey_paint", {
description = "Light grey paint", description = "Light grey paint",
inventory_image = "unifieddyes_lightgrey_paint.png", inventory_image = "unifieddyes_lightgrey_paint.png",
groups = {dye=1},
}) })
@ -238,6 +241,7 @@ minetest.register_craft( {
minetest.register_craftitem("unifieddyes:grey_paint", { minetest.register_craftitem("unifieddyes:grey_paint", {
description = "Medium grey paint", description = "Medium grey paint",
inventory_image = "unifieddyes_grey_paint.png", inventory_image = "unifieddyes_grey_paint.png",
groups = {dye=1},
}) })
@ -256,6 +260,7 @@ minetest.register_craft( {
minetest.register_craftitem("unifieddyes:darkgrey_paint", { minetest.register_craftitem("unifieddyes:darkgrey_paint", {
description = "Dark grey paint", description = "Dark grey paint",
inventory_image = "unifieddyes_darkgrey_paint.png", inventory_image = "unifieddyes_darkgrey_paint.png",
groups = {dye=1},
}) })
@ -270,6 +275,7 @@ minetest.register_craft({
minetest.register_craftitem("unifieddyes:black", { minetest.register_craftitem("unifieddyes:black", {
description = "Black Dye", description = "Black Dye",
inventory_image = "unifieddyes_black.png", inventory_image = "unifieddyes_black.png",
groups = {dye=1},
}) })
@ -383,31 +389,37 @@ for i = 1, 12 do
minetest.register_craftitem("unifieddyes:dark_" .. hue .. "_s50", { minetest.register_craftitem("unifieddyes:dark_" .. hue .. "_s50", {
description = "Dark " .. hue .. " (low saturation)", description = "Dark " .. hue .. " (low saturation)",
inventory_image = "unifieddyes_dark_" .. hue .. "_s50.png" inventory_image = "unifieddyes_dark_" .. hue .. "_s50.png"
groups = {dye=1},
}) })
minetest.register_craftitem("unifieddyes:dark_" .. hue, { minetest.register_craftitem("unifieddyes:dark_" .. hue, {
description = "Dark " .. hue, description = "Dark " .. hue,
inventory_image = "unifieddyes_dark_" .. hue .. ".png" inventory_image = "unifieddyes_dark_" .. hue .. ".png"
groups = {dye=1},
}) })
minetest.register_craftitem("unifieddyes:medium_" .. hue .. "_s50", { minetest.register_craftitem("unifieddyes:medium_" .. hue .. "_s50", {
description = "Medium " .. hue .. " (low saturation)", description = "Medium " .. hue .. " (low saturation)",
inventory_image = "unifieddyes_medium_" .. hue .. "_s50.png", inventory_image = "unifieddyes_medium_" .. hue .. "_s50.png",
groups = {dye=1},
}) })
minetest.register_craftitem("unifieddyes:medium_" .. hue, { minetest.register_craftitem("unifieddyes:medium_" .. hue, {
description = "Medium " .. hue, description = "Medium " .. hue,
inventory_image = "unifieddyes_medium_" .. hue .. ".png" inventory_image = "unifieddyes_medium_" .. hue .. ".png"
groups = {dye=1},
}) })
minetest.register_craftitem("unifieddyes:" .. hue .. "_s50", { minetest.register_craftitem("unifieddyes:" .. hue .. "_s50", {
description = "Bright " .. hue .. " (low saturation)", description = "Bright " .. hue .. " (low saturation)",
inventory_image = "unifieddyes_" .. hue .. "_s50.png" inventory_image = "unifieddyes_" .. hue .. "_s50.png"
groups = {dye=1},
}) })
minetest.register_craftitem("unifieddyes:" .. hue, { minetest.register_craftitem("unifieddyes:" .. hue, {
description = "Bright " .. hue, description = "Bright " .. hue,
inventory_image = "unifieddyes_" .. hue .. ".png" inventory_image = "unifieddyes_" .. hue .. ".png"
groups = {dye=1},
}) })
end end