Version MFF.
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 330 B |
|
@ -1,2 +1,4 @@
|
|||
default
|
||||
dye
|
||||
intllib?
|
||||
|
||||
|
|
|
@ -31,14 +31,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
S = function(s) return s end
|
||||
end
|
||||
|
||||
|
||||
-- Items/recipes needed to generate the few base colors that are not
|
||||
-- provided by the standard dyes mod.
|
||||
|
||||
|
@ -47,16 +45,12 @@ end
|
|||
minetest.register_craftitem(":dye:lime", {
|
||||
description = S("Lime Dye"),
|
||||
inventory_image = "unifieddyes_lime.png",
|
||||
groups = { dye=1, excolor_lime=1, unicolor_lime=1, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, excolor_lime=1, unicolor_lime=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:lime 2",
|
||||
recipe = {
|
||||
"dye:yellow",
|
||||
"dye:green",
|
||||
},
|
||||
recipe = {{"dye:yellow", "dye:green"}}
|
||||
})
|
||||
|
||||
-- Aqua
|
||||
|
@ -64,16 +58,12 @@ 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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, excolor_aqua=1, unicolor_aqua=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:aqua 2",
|
||||
recipe = {
|
||||
"dye:cyan",
|
||||
"dye:green",
|
||||
},
|
||||
recipe = {{"dye:green", "dye:cyan"}},
|
||||
})
|
||||
|
||||
-- Sky blue
|
||||
|
@ -81,16 +71,12 @@ 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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, excolor_sky_blue=1, unicolor_sky_blue=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:skyblue 2",
|
||||
recipe = {
|
||||
"dye:cyan",
|
||||
"dye:blue",
|
||||
},
|
||||
recipe = {{"dye:cyan", "dye:blue"}},
|
||||
})
|
||||
|
||||
-- Red-violet
|
||||
|
@ -98,16 +84,12 @@ 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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, excolor_red_violet=1, unicolor_red_violet=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "dye:redviolet 2",
|
||||
recipe = {
|
||||
"dye:red",
|
||||
"dye:magenta",
|
||||
},
|
||||
recipe = {{"dye:magenta", "dye:red"}},
|
||||
})
|
||||
|
||||
|
||||
|
@ -116,19 +98,15 @@ 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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, excolor_lightgrey=1, unicolor_light_grey=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",
|
||||
|
@ -136,7 +114,7 @@ minetest.register_craft( {
|
|||
recipe = {
|
||||
"default:coal_lump",
|
||||
},
|
||||
})
|
||||
})]]
|
||||
|
||||
-- Extra craft for dark grey dye
|
||||
|
||||
|
@ -218,12 +196,8 @@ 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( {
|
||||
|
@ -261,12 +235,8 @@ 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( {
|
||||
|
@ -280,12 +250,10 @@ for i = 1, 12 do
|
|||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifieddyes:medium_" .. hue .. " 2",
|
||||
recipe = {
|
||||
"dye:" .. hue,
|
||||
"dye:black",
|
||||
},
|
||||
{"dye:" .. hue, "dye:black"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
|
@ -311,52 +279,48 @@ 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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, ["unicolor_dark_"..hue.."_s50"]=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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, ["unicolor_dark_"..hue]=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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, ["unicolor_medium_"..hue.."_s50"]=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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, ["unicolor_medium_"..hue]=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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, ["unicolor_"..hue.."_s50"]=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, not_in_creative_inventory=1 }
|
||||
groups = { dye=1, ["unicolor_light_"..hue]=1 }
|
||||
})
|
||||
end
|
||||
minetest.register_alias("unifieddyes:"..hue, "dye:"..hue)
|
||||
|
@ -373,5 +337,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")
|
||||
|
||||
print(S("[UnifiedDyes] Loaded!"))
|
||||
minetest.log("action", S("[UnifiedDyes] Loaded!"))
|
||||
|
||||
|
|
|
@ -0,0 +1,88 @@
|
|||
# TUrkish translation
|
||||
# Mahmutelmas06@hotmail.com
|
||||
|
||||
Lime Dye = Limon Yeşili Boya
|
||||
Aqua Dye = Deniz mavisi Boya
|
||||
Sky-blue Dye = Gök-Mavi Boya
|
||||
Red-violet Dye = Kırmızılı Boya
|
||||
Light Grey Dye = Açık Grey Boya
|
||||
|
||||
Dark Red Dye (low saturation) = Koyu Kırmızı Boya (düşük doygunluk)
|
||||
Dark Orange Dye (low saturation) = Koyu Turuncu Boya (düşük doygunluk)
|
||||
Dark Yellow Dye (low saturation) = Koyu Sarı Boya (düşük doygunluk)
|
||||
Dark Lime Dye (low saturation) = Koyu Limon Yeşili Boya (düşük doygunluk)
|
||||
Dark Green Dye (low saturation) = Koyu Yeşil Boya (düşük doygunluk)
|
||||
Dark Aqua Dye (low saturation) = Koyu Deniz mavisi boya (düşük doygunluk)
|
||||
Dark Cyan Dye (low saturation) = Koyu Cam göbeği Boya (düşük doygunluk)
|
||||
Dark Sky-blue Dye (low saturation) = Koyu Gök-Mavi Boya (düşük doygunluk)
|
||||
Dark Blue Dye (low saturation) = Koyu Mavi Boya (düşük doygunluk)
|
||||
Dark Violet Dye (low saturation) = Koyu mor Boya (düşük doygunluk)
|
||||
Dark Magenta Dye (low saturation) = Koyu Kızılımsı Mor Boya (düşük doygunluk)
|
||||
Dark Red-violet Dye (low saturation) = Koyu Kırmızılı Boya (düşük doygunluk)
|
||||
|
||||
Dark Red Dye = Koyu Kırmızı Boya
|
||||
Dark Orange Dye = Koyu Turuncu Boya
|
||||
Dark Yellow Dye = Koyu Sarı Boya
|
||||
Dark Lime Dye = Koyu Limon Yeşili Boya
|
||||
Dark Green Dye = Koyu Yeşil Boya
|
||||
Dark Aqua Dye = Koyu Deniz mavisi Boya
|
||||
Dark Cyan Dye = Koyu Cam göbeği Boya
|
||||
Dark Sky-blue Dye = Koyu Gök-Mavi Boya
|
||||
Dark Blue Dye = Koyu Mavi Boya
|
||||
Dark Violet Dye = Koyu mor Boya
|
||||
Dark Magenta Dye = Koyu Kızılımsı Mor Boya
|
||||
Dark Red-violet Dye = Koyu Kırmızılı Boya
|
||||
|
||||
Medium Red Dye (low saturation) = Kırmızı Boya (düşük doygunluk)
|
||||
Medium Orange Dye (low saturation) = Turuncu Boya (düşük doygunluk)
|
||||
Medium Yellow Dye (low saturation) = Sarı Boya (düşük doygunluk)
|
||||
Medium Lime Dye (low saturation) = Limon Yeşili Boya (düşük doygunluk)
|
||||
Medium Green Dye (low saturation) = Yeşil Boya (düşük doygunluk)
|
||||
Medium Aqua Dye (low saturation) = Deniz mavisi Boya (düşük doygunluk)
|
||||
Medium Cyan Dye (low saturation) = Cam göbeği Boya (düşük doygunluk)
|
||||
Medium Sky-blue Dye (low saturation) = Gök-Mavi Boya (düşük doygunluk)
|
||||
Medium Blue Dye (low saturation) = Mavi Boya (düşük doygunluk)
|
||||
Medium Violet Dye (low saturation) = Koyu mor Boya (düşük doygunluk)
|
||||
Medium Magenta Dye (low saturation) = Kızılımsı Mor Boya (düşük doygunluk)
|
||||
Medium Red-violet Dye (low saturation) = Kırmızılı Boya (düşük doygunluk)
|
||||
|
||||
Medium Red Dye = Kırmızı Boya
|
||||
Medium Orange Dye = Turuncu Boya
|
||||
Medium Yellow Dye = Sarı Boya
|
||||
Medium Lime Dye = Limon Yeşili Boya
|
||||
Medium Green Dye = Yeşil Boya
|
||||
Medium Aqua Dye = Deniz mavisi Boya
|
||||
Medium Cyan Dye = Cam göbeği Boya
|
||||
Medium Sky-blue = Gök-Mavi
|
||||
Medium Blue Dye = Mavi Boya
|
||||
Medium Violet Dye = Koyu mor Boya
|
||||
Medium Magenta Dye = Kızılımsı Mor Boya
|
||||
Medium Red-violet Dye = Kırmızılı Boya
|
||||
|
||||
Red Dye (low saturation) = Kırmızı Boya (düşük doygunluk)
|
||||
Orange Dye (low saturation) = Turuncu Boya (düşük doygunluk)
|
||||
Yellow Dye (low saturation) = Sarı Boya (düşük doygunluk)
|
||||
Lime Dye (low saturation) = Limon Yeşili Boya (düşük doygunluk)
|
||||
Green Dye (low saturation) = Yeşil Boya (düşük doygunluk)
|
||||
Aqua Dye (low saturation) = Deniz mavisi Boya (düşük doygunluk)
|
||||
Cyan Dye (low saturation) = Cam göbeği Boya (düşük doygunluk)
|
||||
Sky-blue Dye (low saturation) = Gök-Mavi Boya (düşük doygunluk)
|
||||
Blue Dye (low saturation) = Mavi Boya (düşük doygunluk)
|
||||
Violet Dye (low saturation) = Koyu mor Boya (düşük doygunluk)
|
||||
Magenta Dye (low saturation) = Kızılımsı Mor Boya (düşük doygunluk)
|
||||
Red-violet Dye (low saturation) = Kırmızılı Boya (düşük doygunluk)
|
||||
|
||||
Red Dye = Kırmızı Boya
|
||||
Orange Dye = Turuncu Boya
|
||||
Yellow Dye = Sarı Boya
|
||||
Lime Dye = Limon Yeşili Boya
|
||||
Green Dye = Yeşil Boya
|
||||
Aqua Dye = Deniz mavisi Boya
|
||||
Cyan Dye = Cam göbeği Boya
|
||||
Sky-blue Dye = Gök-Mavi Boya
|
||||
Blue Dye = Mavi Boya
|
||||
Violet Dye = Koyu mor Boya
|
||||
Magenta Dye = Kızılımsı Mor Boya
|
||||
Red-violet Dye = Kırmızılı Boya
|
||||
|
||||
[UnifiedDyes] Loaded! = [UnifiedBoyas] yüklendi!
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 110 B |