diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-07-12 21:54:43 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2012-07-12 21:54:43 -0400 |
commit | 398b39068bc4f10ce7cdc9c74dcb8003517e8e8e (patch) | |
tree | 41c20caa760ff13b14003c28c8f308686c890fa5 | |
parent | 02313f504dff503ab57e0f16ea312ad99133e540 (diff) | |
download | unifieddyes-398b39068bc4f10ce7cdc9c74dcb8003517e8e8e.tar unifieddyes-398b39068bc4f10ce7cdc9c74dcb8003517e8e8e.tar.gz unifieddyes-398b39068bc4f10ce7cdc9c74dcb8003517e8e8e.tar.bz2 unifieddyes-398b39068bc4f10ce7cdc9c74dcb8003517e8e8e.tar.xz unifieddyes-398b39068bc4f10ce7cdc9c74dcb8003517e8e8e.zip |
Added groups = {dyes=1}, to all register_craftitem calls, to make it
easier for worlflow's palette/easel mod to categorize the dyes.
-rw-r--r-- | init.lua | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |