mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2025-07-13 13:50:35 +02:00
Compare commits
8 Commits
stable-201
...
da24c09f62
Author | SHA1 | Date | |
---|---|---|---|
da24c09f62 | |||
cd130cf8de | |||
f6581b6ba3 | |||
48cd40a5c2 | |||
0d654eafec | |||
5dc464a4b2 | |||
3c8b698e8e | |||
e947a073ef |
6
init.lua
6
init.lua
@ -179,7 +179,7 @@ function unifieddyes.recolor_on_place(pos, placer, itemstack, pointed_thing)
|
||||
end
|
||||
|
||||
local paletteidx, hue = unifieddyes.getpaletteidx(lastdye, palette_type)
|
||||
if palette_type == true then newname = string.gsub(newname, "_grey", "_"..unifieddyes.HUES[hue]) end
|
||||
if palette_type == true and hue ~= 0 then newname = string.gsub(newname, "_grey", "_"..unifieddyes.HUES[hue]) end
|
||||
|
||||
minetest.set_node(pos, { name = newname, param2 = oldfdir + paletteidx })
|
||||
|
||||
@ -564,7 +564,7 @@ function unifieddyes.on_use(itemstack, player, pointed_thing)
|
||||
local stackname = itemstack:get_name()
|
||||
local playername = player:get_player_name()
|
||||
|
||||
if pointed_thing and pointed_thing.type == "node" then
|
||||
if pointed_thing and pointed_thing.type == "node" and unifieddyes.select_node(pointed_thing) then
|
||||
if minetest.is_protected(unifieddyes.select_node(pointed_thing), playername)
|
||||
and not minetest.check_player_privs(playername, "protection_bypass") then
|
||||
minetest.chat_send_player(playername, "Sorry, someone else owns that spot.")
|
||||
@ -1044,6 +1044,7 @@ minetest.register_alias("dye:medium_orange", "dye:brown")
|
||||
|
||||
minetest.register_alias("unifieddyes:black", "dye:black")
|
||||
minetest.register_alias("unifieddyes:dark_grey", "dye:dark_grey")
|
||||
minetest.register_alias("unifieddyes:grey", "dye:grey")
|
||||
minetest.register_alias("unifieddyes:light_grey", "dye:light_grey")
|
||||
minetest.register_alias("unifieddyes:white", "dye:white")
|
||||
|
||||
@ -1067,6 +1068,7 @@ minetest.register_alias("unifieddyes:carbon_black", "dye:black")
|
||||
minetest.register_alias("unifieddyes:aqua", "unifieddyes:spring")
|
||||
minetest.register_alias("unifieddyes:skyblue", "unifieddyes:azure")
|
||||
minetest.register_alias("unifieddyes:redviolet", "unifieddyes:rose")
|
||||
minetest.register_alias("unifieddyes:brown", "dye:brown")
|
||||
|
||||
print(S("[UnifiedDyes] Loaded!"))
|
||||
|
||||
|
87
locale/es.txt
Normal file
87
locale/es.txt
Normal file
@ -0,0 +1,87 @@
|
||||
# Traducido por Carlos Barraza
|
||||
|
||||
Lime Dye = Colorante Lima
|
||||
Aqua Dye = Colorante Agua
|
||||
Sky-blue Dye = Colorante Azul Cielo
|
||||
Red-violet Dye = Colorante Rojo Violeta
|
||||
Light Grey Dye = Colorante Gris Claro
|
||||
|
||||
Dark Red Dye (low saturation) = Colorante Rojo Oscuro (baja saturación)
|
||||
Dark Orange Dye (low saturation) = Colorante Naranja Oscuro (baja saturación)
|
||||
Dark Yellow Dye (low saturation) = Colorante Amarillo Oscuro (baja saturación)
|
||||
Dark Lime Dye (low saturation) = Colorante Lima Oscuro (baja saturación)
|
||||
Dark Green Dye (low saturation) = Colorante Verde Oscuro (baja saturación)
|
||||
Dark Aqua Dye (low saturation) = Colorante Agua Oscuro (baja saturación)
|
||||
Dark Cyan Dye (low saturation) = Colorante Cian Oscuro (baja saturación)
|
||||
Dark Sky-blue Dye (low saturation) = Colorante Azul Cielo Oscuro (baja saturación)
|
||||
Dark Blue Dye (low saturation) = Colorante Azul Oscuro (baja saturación)
|
||||
Dark Violet Dye (low saturation) = Colorante Violeta Oscuro (baja saturación)
|
||||
Dark Magenta Dye (low saturation) = Colorante Magenta Oscuro (baja saturación)
|
||||
Dark Red-violet Dye (low saturation) = Colorante Rojo Violeta Oscuro (baja saturación)
|
||||
|
||||
Dark Red Dye = Colorante Rojo Oscuro
|
||||
Dark Orange Dye = Colorante Naranja Oscuro
|
||||
Dark Yellow Dye = Colorante Amarillo Oscuro
|
||||
Dark Lime Dye = Colorante Lima Oscuro
|
||||
Dark Green Dye = Colorante Verde Oscuro
|
||||
Dark Aqua Dye = Colorante Agua Oscuro
|
||||
Dark Cyan Dye = Colorante Cian Oscuro
|
||||
Dark Sky-blue Dye = Colorante Azul Cielo Oscuro
|
||||
Dark Blue Dye = Colorante Azul Oscuro
|
||||
Dark Violet Dye = Colorante Violeta Oscuro
|
||||
Dark Magenta Dye = Colorante Magenta Oscuro
|
||||
Dark Red-violet Dye = Colorante Rojo Violeta Oscuro
|
||||
|
||||
Medium Red Dye (low saturation) = Colorante Rojo Claro (baja saturación)
|
||||
Medium Orange Dye (low saturation) = Colorante Naranja Claro (baja saturación)
|
||||
Medium Yellow Dye (low saturation) = Colorante Amarillo Claro (baja saturación)
|
||||
Medium Lime Dye (low saturation) = Colorante Lima Claro (baja saturación)
|
||||
Medium Green Dye (low saturation) = Colorante Verde Claro (baja saturación)
|
||||
Medium Aqua Dye (low saturation) = Colorante Agua Claro (baja saturación)
|
||||
Medium Cyan Dye (low saturation) = Colorante Cian Claro (baja saturación)
|
||||
Medium Sky-blue Dye (low saturation) = Colorante Azul Cielo Claro (baja saturación)
|
||||
Medium Blue Dye (low saturation) = Colorante Azul Claro (baja saturación)
|
||||
Medium Violet Dye (low saturation) = Colorante Violeta Claro (baja saturación)
|
||||
Medium Magenta Dye (low saturation) = Colorante Magenta Claro (baja saturación)
|
||||
Medium Red-violet Dye (low saturation) = Colorante Rojo Violeta Claro (baja saturación)
|
||||
|
||||
Medium Red Dye = Colorante Rojo Claro
|
||||
Medium Orange Dye = Colorante Naranja Claro
|
||||
Medium Yellow Dye = Colorante Amarillo Claro
|
||||
Medium Lime Dye = Colorante Lima Claro
|
||||
Medium Green Dye = Colorante Verde Claro
|
||||
Medium Aqua Dye = Colorante Agua Claro
|
||||
Medium Cyan Dye = Colorante Cian Claro
|
||||
Medium Sky-blue = Colorante Azul Cielo Claro
|
||||
Medium Blue Dye = Colorante Azul Claro
|
||||
Medium Violet Dye = Colorante Violeta Claro
|
||||
Medium Magenta Dye = Colorante Magenta Claro
|
||||
Medium Red-violet Dye = Colorante Rojo Violeta Claro
|
||||
|
||||
Red Dye (low saturation) = Colorante Rojo (baja saturación)
|
||||
Orange Dye (low saturation) = Colorante Naranja (baja saturación)
|
||||
Yellow Dye (low saturation) = Colorante Amarillo (baja saturación)
|
||||
Lime Dye (low saturation) = Colorante Lima (baja saturación)
|
||||
Green Dye (low saturation) = Colorante Verde (baja saturación)
|
||||
Aqua Dye (low saturation) = Colorante Agua (baja saturación)
|
||||
Cyan Dye (low saturation) = Colorante Cian (baja saturación)
|
||||
Sky-blue Dye (low saturation) = Colorante Azul Cielo (baja saturación)
|
||||
Blue Dye (low saturation) = Colorante Azul (baja saturación)
|
||||
Violet Dye (low saturation) = Colorante Violeta (baja saturación)
|
||||
Magenta Dye (low saturation) = Colorante Magenta (baja saturación)
|
||||
Red-violet Dye (low saturation) = Colorante Rojo Violeta (baja saturación)
|
||||
|
||||
Red Dye = Colorante Rojo
|
||||
Orange Dye = Colorante Naranja
|
||||
Yellow Dye = Colorante Amarillo
|
||||
Lime Dye = Colorante Lima
|
||||
Green Dye = Colorante Verde
|
||||
Aqua Dye = Colorante Agua
|
||||
Cyan Dye = Colorante Cian
|
||||
Sky-blue Dye = Colorante Azul Cielo
|
||||
Blue Dye = Colorante Azul
|
||||
Violet Dye = Colorante Violeta
|
||||
Magenta Dye = Colorante Magenta
|
||||
Red-violet Dye = Colorante Rojo Violeta
|
||||
|
||||
[UnifiedDyes] Loaded! = [ColorantesUnificados] Cargado.
|
87
locale/ms.txt
Normal file
87
locale/ms.txt
Normal file
@ -0,0 +1,87 @@
|
||||
# Malay translation by MuhdNurHidayat
|
||||
|
||||
Lime Dye = Pewarna Hijau Pucuk Pisang
|
||||
Aqua Dye = Pewarna Akuamarin
|
||||
Sky-blue Dye = Pewarna Biru Langit
|
||||
Red-violet Dye = Pewarna Merah Lembayung
|
||||
Light Grey Dye = Pewarna Kelabu Muda
|
||||
|
||||
Dark Red Dye (low saturation) = Pewarna Merah Tua (penepuan rendah)
|
||||
Dark Orange Dye (low saturation) = Pewarna Jingga Tua (penepuan rendah)
|
||||
Dark Yellow Dye (low saturation) = Pewarna Kuning Tua (penepuan rendah)
|
||||
Dark Lime Dye (low saturation) = Pewarna Hijau Pucuk Pisang Tua (penepuan rendah)
|
||||
Dark Green Dye (low saturation) = Pewarna Hijau Tua (penepuan rendah)
|
||||
Dark Aqua Dye (low saturation) = Pewarna Akuamarin Tua (penepuan rendah)
|
||||
Dark Cyan Dye (low saturation) = Pewarna Sian Tua (penepuan rendah)
|
||||
Dark Sky-blue Dye (low saturation) = Pewarna Biru Langit Tua (penepuan rendah)
|
||||
Dark Blue Dye (low saturation) = Pewarna Biru Tua (penepuan rendah)
|
||||
Dark Violet Dye (low saturation) = Pewarna Lembayung Tua (penepuan rendah)
|
||||
Dark Magenta Dye (low saturation) = Pewarna Magenta Tua (penepuan rendah)
|
||||
Dark Red-violet Dye (low saturation) = Pewarna Merah Lembayung Tua (penepuan rendah)
|
||||
|
||||
Dark Red Dye = Pewarna Merah Tua
|
||||
Dark Orange Dye = Pewarna Jingga Tua
|
||||
Dark Yellow Dye = Pewarna Kuning Tua
|
||||
Dark Lime Dye = Pewarna Hijau Pucuk Pisang Tua
|
||||
Dark Green Dye = Pewarna Hijau Tua
|
||||
Dark Aqua Dye = Pewarna Akuamarin Tua
|
||||
Dark Cyan Dye = Pewarna Sian Tua
|
||||
Dark Sky-blue Dye = Pewarna Biru Langit Tua
|
||||
Dark Blue Dye = Pewarna Biru Tua
|
||||
Dark Violet Dye = Pewarna Lembayung Tua
|
||||
Dark Magenta Dye = Pewarna Magenta Tua
|
||||
Dark Red-violet Dye = Pewarna Merah Lembayung Tua
|
||||
|
||||
Medium Red Dye (low saturation) = Pewarna Merah Sederhana (penepuan rendah)
|
||||
Medium Orange Dye (low saturation) = Pewarna Jingga Sederhana (penepuan rendah)
|
||||
Medium Yellow Dye (low saturation) = Pewarna Kuning Sederhana (penepuan rendah)
|
||||
Medium Lime Dye (low saturation) = Pewarna Hijau Pucuk Pisang Sederhana (penepuan rendah)
|
||||
Medium Green Dye (low saturation) = Pewarna Hijau Sederhana (penepuan rendah)
|
||||
Medium Aqua Dye (low saturation) = Pewarna Akuamarin Sederhana (penepuan rendah)
|
||||
Medium Cyan Dye (low saturation) = Pewarna Sian Sederhana (penepuan rendah)
|
||||
Medium Sky-blue Dye (low saturation) = Pewarna Biru Langit Sederhana (penepuan rendah)
|
||||
Medium Blue Dye (low saturation) = Pewarna Biru Sederhana (penepuan rendah)
|
||||
Medium Violet Dye (low saturation) = Pewarna Lembayung Sederhana (penepuan rendah)
|
||||
Medium Magenta Dye (low saturation) = Pewarna Magenta Sederhana (penepuan rendah)
|
||||
Medium Red-violet Dye (low saturation) = Pewarna Merah Lembayung Sederhana (penepuan rendah)
|
||||
|
||||
Medium Red Dye = Pewarna Merah Sederhana
|
||||
Medium Orange Dye = Pewarna Jingga Sederhana
|
||||
Medium Yellow Dye = Pewarna Kuning Sederhana
|
||||
Medium Lime Dye = Pewarna Hijau Pucuk Pisang Sederhana
|
||||
Medium Green Dye = Pewarna Hijau Sederhana
|
||||
Medium Aqua Dye = Pewarna Akuamarin Sederhana
|
||||
Medium Cyan Dye = Pewarna Sian Sederhana
|
||||
Medium Sky-blue = Pewarna Biru Langit Sederhana
|
||||
Medium Blue Dye = Pewarna Biru Sederhana
|
||||
Medium Violet Dye = Pewarna Lembayung Sederhana
|
||||
Medium Magenta Dye = Pewarna Magenta Sederhana
|
||||
Medium Red-violet Dye = Pewarna Merah Lembayung Sederhana
|
||||
|
||||
Red Dye (low saturation) = Pewarna Merah (penepuan rendah)
|
||||
Orange Dye (low saturation) = Pewarna Jingga (penepuan rendah)
|
||||
Yellow Dye (low saturation) = Pewarna Kuning (penepuan rendah)
|
||||
Lime Dye (low saturation) = Pewarna Hijau Pucuk Pisang (penepuan rendah)
|
||||
Green Dye (low saturation) = Pewarna Hijau (penepuan rendah)
|
||||
Aqua Dye (low saturation) = Pewarna Akuamarin (penepuan rendah)
|
||||
Cyan Dye (low saturation) = Pewarna Sian (penepuan rendah)
|
||||
Sky-blue Dye (low saturation) = Pewarna Biru Langit (penepuan rendah)
|
||||
Blue Dye (low saturation) = Pewarna Biru (penepuan rendah)
|
||||
Violet Dye (low saturation) = Pewarna Lembayung (penepuan rendah)
|
||||
Magenta Dye (low saturation) = Pewarna Magenta (penepuan rendah)
|
||||
Red-violet Dye (low saturation) = Pewarna Merah Lembayung(penepuan rendah)
|
||||
|
||||
Red Dye = Pewarna Merah
|
||||
Orange Dye = Pewarna Jingga
|
||||
Yellow Dye = Pewarna Kuning
|
||||
Lime Dye = Pewarna Hijau Pucuk Pisang
|
||||
Green Dye = Pewarna Hijau
|
||||
Aqua Dye = Pewarna Akuamarin
|
||||
Cyan Dye = Pewarna Sian
|
||||
Sky-blue Dye = Pewarna Biru Langit
|
||||
Blue Dye = Pewarna Biru
|
||||
Violet Dye = Pewarna Lembayung
|
||||
Magenta Dye = Pewarna Magenta
|
||||
Red-violet Dye = Pewarna Merah Lembayung
|
||||
|
||||
[UnifiedDyes] Loaded! = [UnifiedDyes] Telah Dimuatkan!
|
Reference in New Issue
Block a user