From 398b39068bc4f10ce7cdc9c74dcb8003517e8e8e Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 12 Jul 2012 21:54:43 -0400 Subject: Added groups = {dyes=1}, to all register_craftitem calls, to make it easier for worlflow's palette/easel mod to categorize the dyes. --- init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/init.lua b/init.lua index f51f6fe..91417ee 100644 --- a/init.lua +++ b/init.lua @@ -182,6 +182,7 @@ minetest.register_craft( { minetest.register_craftitem("unifieddyes:titanium_dioxide", { description = "Titanium Dioxide Powder", inventory_image = "unifieddyes_titanium_dioxide.png", + groups = {dye=1}, }) minetest.register_craft({ @@ -203,6 +204,7 @@ minetest.register_craft( { minetest.register_craftitem("unifieddyes:white_paint", { description = "White Paint", inventory_image = "unifieddyes_white_paint.png", + groups = {dye=1}, }) @@ -221,6 +223,7 @@ minetest.register_craft( { minetest.register_craftitem("unifieddyes:lightgrey_paint", { description = "Light grey paint", inventory_image = "unifieddyes_lightgrey_paint.png", + groups = {dye=1}, }) @@ -238,6 +241,7 @@ minetest.register_craft( { minetest.register_craftitem("unifieddyes:grey_paint", { description = "Medium grey paint", inventory_image = "unifieddyes_grey_paint.png", + groups = {dye=1}, }) @@ -256,6 +260,7 @@ minetest.register_craft( { minetest.register_craftitem("unifieddyes:darkgrey_paint", { description = "Dark grey paint", inventory_image = "unifieddyes_darkgrey_paint.png", + groups = {dye=1}, }) @@ -270,6 +275,7 @@ minetest.register_craft({ minetest.register_craftitem("unifieddyes:black", { description = "Black Dye", inventory_image = "unifieddyes_black.png", + groups = {dye=1}, }) @@ -383,31 +389,37 @@ for i = 1, 12 do minetest.register_craftitem("unifieddyes:dark_" .. hue .. "_s50", { description = "Dark " .. hue .. " (low saturation)", inventory_image = "unifieddyes_dark_" .. hue .. "_s50.png" + groups = {dye=1}, }) minetest.register_craftitem("unifieddyes:dark_" .. hue, { description = "Dark " .. hue, inventory_image = "unifieddyes_dark_" .. hue .. ".png" + groups = {dye=1}, }) minetest.register_craftitem("unifieddyes:medium_" .. hue .. "_s50", { description = "Medium " .. hue .. " (low saturation)", inventory_image = "unifieddyes_medium_" .. hue .. "_s50.png", + groups = {dye=1}, }) minetest.register_craftitem("unifieddyes:medium_" .. hue, { description = "Medium " .. hue, inventory_image = "unifieddyes_medium_" .. hue .. ".png" + groups = {dye=1}, }) minetest.register_craftitem("unifieddyes:" .. hue .. "_s50", { description = "Bright " .. hue .. " (low saturation)", inventory_image = "unifieddyes_" .. hue .. "_s50.png" + groups = {dye=1}, }) minetest.register_craftitem("unifieddyes:" .. hue, { description = "Bright " .. hue, inventory_image = "unifieddyes_" .. hue .. ".png" + groups = {dye=1}, }) end -- cgit v1.2.3