forked from mtcontrib/unifieddyes
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:
parent
02313f504d
commit
398b39068b
12
init.lua
12
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user