diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -286,8 +286,8 @@ minetest.register_craftitem("unifieddyes:black", { -- brightness from the above 12 base colors. -- "s50" in a file/item name means "saturation: 50%". --- Brightness levels in the textures are 100%, 66% --- ("medium"), and 33% ("dark"). +-- Brightness levels in the textures are 33% ("dark"), 66% ("medium"), +-- 100% ("full" but not so-named), and 150% ("light"). HUES = { "red", @@ -386,6 +386,15 @@ for i = 1, 12 do }, }) + minetest.register_craft( { + type = "shapeless", + output = "unifieddyes:light_" .. hue .. " 2", + recipe = { + "unifieddyes:" .. hue, + "unifieddyes:white_paint", + }, + }) + minetest.register_craftitem("unifieddyes:dark_" .. hue .. "_s50", { description = "Dark " .. hue .. " (low saturation)", inventory_image = "unifieddyes_dark_" .. hue .. "_s50.png", @@ -411,17 +420,23 @@ for i = 1, 12 do }) minetest.register_craftitem("unifieddyes:" .. hue .. "_s50", { - description = "Bright " .. hue .. " (low saturation)", + description = "Full " .. hue .. " (low saturation)", inventory_image = "unifieddyes_" .. hue .. "_s50.png", groups = {dye=1}, }) minetest.register_craftitem("unifieddyes:" .. hue, { - description = "Bright " .. hue, + description = "Full " .. hue, inventory_image = "unifieddyes_" .. hue .. ".png", groups = {dye=1}, }) + minetest.register_craftitem("unifieddyes:light_" .. hue, { + description = "Light " .. hue, + inventory_image = "unifieddyes_light_" .. hue .. ".png", + groups = {dye=1}, + }) + end |