1
0
mirror of https://github.com/mt-mods/unifieddyes.git synced 2024-12-25 02:00:27 +01:00

dyes -> not in creative inv

This commit is contained in:
Vanessa Ezekowitz 2017-02-24 20:42:04 -05:00
parent d2819353c2
commit fe455a7e44

View File

@ -718,7 +718,7 @@ for _, h in ipairs(HUES_EXTENDED) do
minetest.register_craftitem(":dye:"..val..hue, { minetest.register_craftitem(":dye:"..val..hue, {
description = S(desc), description = S(desc),
inventory_image = "unifieddyes_dye.png^[colorize:#"..color..":200", inventory_image = "unifieddyes_dye.png^[colorize:#"..color..":200",
-- groups = { dye=1, not_in_creative_inventory=1 }, groups = { dye=1, not_in_creative_inventory=1 },
on_use = unifieddyes.on_use on_use = unifieddyes.on_use
}) })
minetest.register_alias("unifieddyes:"..val..hue, "dye:"..val..hue) minetest.register_alias("unifieddyes:"..val..hue, "dye:"..val..hue)
@ -740,7 +740,7 @@ for _, h in ipairs(HUES_EXTENDED) do
minetest.register_craftitem(":dye:"..val..hue.."_s50", { minetest.register_craftitem(":dye:"..val..hue.."_s50", {
description = S(desc.." (low saturation)"), description = S(desc.." (low saturation)"),
inventory_image = "unifieddyes_dye.png^[colorize:#"..color..":200", inventory_image = "unifieddyes_dye.png^[colorize:#"..color..":200",
-- groups = { dye=1, not_in_creative_inventory=1 }, groups = { dye=1, not_in_creative_inventory=1 },
on_use = unifieddyes.on_use on_use = unifieddyes.on_use
}) })
minetest.register_alias("unifieddyes:"..val..hue.."_s50", "dye:"..val..hue.."_s50") minetest.register_alias("unifieddyes:"..val..hue.."_s50", "dye:"..val..hue.."_s50")
@ -761,7 +761,7 @@ for y = 1, 14 do -- colors 0 and 15 are black and white, default dyes
minetest.register_craftitem(":dye:"..name, { minetest.register_craftitem(":dye:"..name, {
description = S(desc), description = S(desc),
inventory_image = "unifieddyes_dye.png^[colorize:#"..rgb..":200", inventory_image = "unifieddyes_dye.png^[colorize:#"..rgb..":200",
-- groups = { dye=1, not_in_creative_inventory=1 }, groups = { dye=1, not_in_creative_inventory=1 },
on_use = unifieddyes.on_use on_use = unifieddyes.on_use
}) })
minetest.register_alias("unifieddyes:"..name, "dye:"..name) minetest.register_alias("unifieddyes:"..name, "dye:"..name)