Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
d21cbc129d | |||
8d49d58331 | |||
4d58fda283 | |||
127caef5b3 |
0
.gitignore
vendored
Executable file → Normal file
BIN
bottle_overlay.png
Executable file → Normal file
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 292 B |
0
changelog.txt
Executable file → Normal file
0
colors.txt
Executable file → Normal file
0
depends.txt
Executable file → Normal file
1
description.txt
Normal file
@ -0,0 +1 @@
|
||||
Unified Dyes expands the standard dye set from 15 to 90 colors.
|
0
gentextures-jpg.sh
Executable file → Normal file
0
gentextures.sh
Executable file → Normal file
86
init.lua
Executable file → Normal file
@ -45,12 +45,16 @@ end
|
||||
minetest.register_craftitem(":dye:lime", {
|
||||
description = S("Lime Dye"),
|
||||
inventory_image = "unifieddyes_lime.png",
|
||||
groups = { dye=1, excolor_lime=1, unicolor_lime=1 }
|
||||
groups = { dye=1, excolor_lime=1, unicolor_lime=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:lime 2",
|
||||
recipe = {{"dye:yellow", "dye:green"}}
|
||||
recipe = {
|
||||
"dye:yellow",
|
||||
"dye:green",
|
||||
},
|
||||
})
|
||||
|
||||
-- Aqua
|
||||
@ -58,12 +62,16 @@ minetest.register_craft( {
|
||||
minetest.register_craftitem(":dye:aqua", {
|
||||
description = S("Aqua Dye"),
|
||||
inventory_image = "unifieddyes_aqua.png",
|
||||
groups = { dye=1, excolor_aqua=1, unicolor_aqua=1 }
|
||||
groups = { dye=1, excolor_aqua=1, unicolor_aqua=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:aqua 2",
|
||||
recipe = {{"dye:green", "dye:cyan"}},
|
||||
recipe = {
|
||||
"dye:cyan",
|
||||
"dye:green",
|
||||
},
|
||||
})
|
||||
|
||||
-- Sky blue
|
||||
@ -71,12 +79,16 @@ minetest.register_craft( {
|
||||
minetest.register_craftitem(":dye:skyblue", {
|
||||
description = S("Sky-blue Dye"),
|
||||
inventory_image = "unifieddyes_skyblue.png",
|
||||
groups = { dye=1, excolor_sky_blue=1, unicolor_sky_blue=1 }
|
||||
groups = { dye=1, excolor_sky_blue=1, unicolor_sky_blue=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:skyblue 2",
|
||||
recipe = {{"dye:cyan", "dye:blue"}},
|
||||
recipe = {
|
||||
"dye:cyan",
|
||||
"dye:blue",
|
||||
},
|
||||
})
|
||||
|
||||
-- Red-violet
|
||||
@ -84,12 +96,16 @@ minetest.register_craft( {
|
||||
minetest.register_craftitem(":dye:redviolet", {
|
||||
description = S("Red-violet Dye"),
|
||||
inventory_image = "unifieddyes_redviolet.png",
|
||||
groups = { dye=1, excolor_red_violet=1, unicolor_red_violet=1 }
|
||||
groups = { dye=1, excolor_red_violet=1, unicolor_red_violet=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:redviolet 2",
|
||||
recipe = {{"dye:magenta", "dye:red"}},
|
||||
recipe = {
|
||||
"dye:red",
|
||||
"dye:magenta",
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@ -98,15 +114,19 @@ minetest.register_craft( {
|
||||
minetest.register_craftitem(":dye:light_grey", {
|
||||
description = S("Light Grey Dye"),
|
||||
inventory_image = "unifieddyes_lightgrey.png",
|
||||
groups = { dye=1, excolor_lightgrey=1, unicolor_light_grey=1 }
|
||||
groups = { dye=1, excolor_lightgrey=1, unicolor_light_grey=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:light_grey 2",
|
||||
recipe = {{"dye:grey", "dye:white"}},
|
||||
recipe = {
|
||||
"dye:grey",
|
||||
"dye:white",
|
||||
},
|
||||
})
|
||||
|
||||
--[[ Extra craft for black dye
|
||||
-- Extra craft for black dye
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
@ -114,7 +134,7 @@ minetest.register_craft( {
|
||||
recipe = {
|
||||
"default:coal_lump",
|
||||
},
|
||||
})]]
|
||||
})
|
||||
|
||||
-- Extra craft for dark grey dye
|
||||
|
||||
@ -196,8 +216,12 @@ for i = 1, 12 do
|
||||
local hue2 = HUES2[i]
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifieddyes:dark_" .. hue .. "_s50 2",
|
||||
recipe = {{"dye:" .. hue, "dye:dark_grey"}},
|
||||
recipe = {
|
||||
"dye:" .. hue,
|
||||
"dye:dark_grey",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
@ -235,8 +259,12 @@ for i = 1, 12 do
|
||||
end
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifieddyes:medium_" .. hue .. "_s50 2",
|
||||
recipe = {{"dye:" .. hue, "dye:grey"}},
|
||||
recipe = {
|
||||
"dye:" .. hue,
|
||||
"dye:grey",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
@ -250,10 +278,12 @@ for i = 1, 12 do
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "unifieddyes:medium_" .. hue .. " 2",
|
||||
recipe = {
|
||||
{"dye:" .. hue, "dye:black"},
|
||||
}
|
||||
type = "shapeless",
|
||||
output = "unifieddyes:medium_" .. hue .. " 2",
|
||||
recipe = {
|
||||
"dye:" .. hue,
|
||||
"dye:black",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
@ -279,48 +309,52 @@ for i = 1, 12 do
|
||||
|
||||
if hue ~= "red" then
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifieddyes:light_" .. hue .. " 2",
|
||||
recipe = {{"dye:" .. hue, "dye:white"}},
|
||||
recipe = {
|
||||
"dye:" .. hue,
|
||||
"dye:white",
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("unifieddyes:dark_" .. hue .. "_s50", {
|
||||
description = S("Dark " .. hue2 .. " Dye (low saturation)"),
|
||||
inventory_image = "unifieddyes_dark_" .. hue .. "_s50.png",
|
||||
groups = { dye=1, ["unicolor_dark_"..hue.."_s50"]=1 }
|
||||
groups = { dye=1, ["unicolor_dark_"..hue.."_s50"]=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
if hue ~= "green" then
|
||||
minetest.register_craftitem("unifieddyes:dark_" .. hue, {
|
||||
description = S("Dark " .. hue2 .. " Dye"),
|
||||
inventory_image = "unifieddyes_dark_" .. hue .. ".png",
|
||||
groups = { dye=1, ["unicolor_dark_"..hue]=1 }
|
||||
groups = { dye=1, ["unicolor_dark_"..hue]=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("unifieddyes:medium_" .. hue .. "_s50", {
|
||||
description = S("Medium " .. hue2 .. " Dye (low saturation)"),
|
||||
inventory_image = "unifieddyes_medium_" .. hue .. "_s50.png",
|
||||
groups = { dye=1, ["unicolor_medium_"..hue.."_s50"]=1 }
|
||||
groups = { dye=1, ["unicolor_medium_"..hue.."_s50"]=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craftitem("unifieddyes:medium_" .. hue, {
|
||||
description = S("Medium " .. hue2 .. " Dye"),
|
||||
inventory_image = "unifieddyes_medium_" .. hue .. ".png",
|
||||
groups = { dye=1, ["unicolor_medium_"..hue]=1 }
|
||||
groups = { dye=1, ["unicolor_medium_"..hue]=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
minetest.register_craftitem("unifieddyes:" .. hue .. "_s50", {
|
||||
description = S(hue2 .. " Dye (low saturation)"),
|
||||
inventory_image = "unifieddyes_" .. hue .. "_s50.png",
|
||||
groups = { dye=1, ["unicolor_"..hue.."_s50"]=1 }
|
||||
groups = { dye=1, ["unicolor_"..hue.."_s50"]=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
|
||||
if hue ~= "red" then
|
||||
minetest.register_craftitem("unifieddyes:light_" .. hue, {
|
||||
description = S("Light " .. hue2 .. " Dye"),
|
||||
inventory_image = "unifieddyes_light_" .. hue .. ".png",
|
||||
groups = { dye=1, ["unicolor_light_"..hue]=1 }
|
||||
groups = { dye=1, ["unicolor_light_"..hue]=1, not_in_creative_inventory=1 }
|
||||
})
|
||||
end
|
||||
minetest.register_alias("unifieddyes:"..hue, "dye:"..hue)
|
||||
@ -337,5 +371,5 @@ minetest.register_alias("unifieddyes:grey_paint", "dye:grey")
|
||||
minetest.register_alias("unifieddyes:darkgrey_paint", "dye:dark_grey")
|
||||
minetest.register_alias("unifieddyes:carbon_black", "dye:black")
|
||||
|
||||
minetest.log("action", S("[UnifiedDyes] Loaded!"))
|
||||
print(S("[UnifiedDyes] Loaded!"))
|
||||
|
||||
|
0
listcolors.sh
Executable file → Normal file
0
locale/de.txt
Executable file → Normal file
0
locale/template.txt
Executable file → Normal file
0
locale/tr.txt
Executable file → Normal file
BIN
textures/unifieddyes_aqua.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_aqua_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_blue_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_cyan_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_aqua.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_aqua_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_blue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_blue_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_cyan.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_cyan_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_green.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_green_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_lime.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_lime_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_magenta.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_magenta_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_orange.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_orange_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_red.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_red_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_redviolet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_redviolet_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_skyblue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_skyblue_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_violet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_violet_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_yellow.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_dark_yellow_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_darkgrey.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_green_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_aqua.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_blue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_cyan.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_green.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_lime.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_magenta.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_orange.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_red.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_redviolet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_skyblue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_violet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_light_yellow.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_lightgrey.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_lime.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_lime_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_magenta_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_aqua.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_aqua_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_blue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_blue_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_cyan.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_cyan_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_green.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_green_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_lime.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_lime_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_magenta.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_magenta_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_orange.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_orange_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_red.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_red_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_redviolet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_redviolet_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_skyblue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_skyblue_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_violet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_violet_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_yellow.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_medium_yellow_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_orange_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_red_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_redviolet.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_redviolet_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_skyblue.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_skyblue_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_violet_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
textures/unifieddyes_yellow_s50.png
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 161 B |
BIN
unifieddyes_base.png
Executable file → Normal file
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 89 B |