mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
MT5 translation for fake_fire
- remove homedecor_common from depends since not required anymore - remove screwdriver line - luacheck warnings fixes ``` init.lua:27:8: variable id was previously defined on line 7 init.lua:47:8: variable id was previously defined on line 27 init.lua:201:9: unused variable meta ```
This commit is contained in:
parent
55e1714cac
commit
2b7905e12d
@ -1,2 +0,0 @@
|
||||
default
|
||||
homedecor_common
|
@ -1,11 +1,8 @@
|
||||
|
||||
local S = homedecor.gettext
|
||||
|
||||
screwdriver = screwdriver or {}
|
||||
local S = minetest.get_translator("fake_fire")
|
||||
|
||||
local function fire_particles_on(pos) -- 3 layers of fire
|
||||
local meta = minetest.get_meta(pos)
|
||||
local id = minetest.add_particlespawner({ -- 1 layer big particles fire
|
||||
local id1 = minetest.add_particlespawner({ -- 1 layer big particles fire
|
||||
amount = 9,
|
||||
time = 0,
|
||||
minpos = {x = pos.x - 0.2, y = pos.y - 0.4, z = pos.z - 0.2},
|
||||
@ -23,9 +20,9 @@ local function fire_particles_on(pos) -- 3 layers of fire
|
||||
texture = "fake_fire_particle_anim_fire.png",
|
||||
animation = {type="vertical_frames", aspect_w=16, aspect_h=16, length = 0.8,},
|
||||
})
|
||||
meta:set_int("layer_1", id)
|
||||
meta:set_int("layer_1", id1)
|
||||
|
||||
local id = minetest.add_particlespawner({ -- 2 layer smol particles fire
|
||||
local id2 = minetest.add_particlespawner({ -- 2 layer smol particles fire
|
||||
amount = 1,
|
||||
time = 0,
|
||||
minpos = {x = pos.x - 0.1, y = pos.y, z = pos.z - 0.1},
|
||||
@ -43,9 +40,9 @@ local function fire_particles_on(pos) -- 3 layers of fire
|
||||
texture = "fake_fire_particle_anim_fire.png",
|
||||
animation = {type="vertical_frames", aspect_w=16, aspect_h=16, length = 0.7,},
|
||||
})
|
||||
meta:set_int("layer_2", id)
|
||||
meta:set_int("layer_2", id2)
|
||||
|
||||
local id = minetest.add_particlespawner({ --3 layer smoke
|
||||
local id3 = minetest.add_particlespawner({ --3 layer smoke
|
||||
amount = 1,
|
||||
time = 0,
|
||||
minpos = {x = pos.x - 0.1, y = pos.y - 0.2, z = pos.z - 0.1},
|
||||
@ -63,7 +60,7 @@ local function fire_particles_on(pos) -- 3 layers of fire
|
||||
texture = "fake_fire_particle_anim_smoke.png",
|
||||
animation = {type="vertical_frames", aspect_w=16, aspect_h=16, length = 0.9,},
|
||||
})
|
||||
meta:set_int("layer_3", id)
|
||||
meta:set_int("layer_3", id3)
|
||||
end
|
||||
|
||||
local function fire_particles_off(pos)
|
||||
@ -199,7 +196,6 @@ minetest.register_node("fake_fire:fancy_fire", {
|
||||
return itemstack
|
||||
end,
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
fire_particles_on(pos)
|
||||
end,
|
||||
on_destruct = function(pos, oldnode, oldmetadata, digger)
|
||||
|
10
fake_fire/locale/fake_fire.de.tr
Normal file
10
fake_fire/locale/fake_fire.de.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Schönes Feuer
|
||||
Glowing Embers=Glühende Asche
|
||||
Ice fire=Eisfeuer
|
||||
Sandstone chimney top=Sandsteinschornsteinaufsatz
|
||||
Stone chimney top=Steinschornsteinaufsatz
|
10
fake_fire/locale/fake_fire.es.tr
Normal file
10
fake_fire/locale/fake_fire.es.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Fuego fantasía
|
||||
Glowing Embers=Brasas ardientes
|
||||
Ice fire=Fuego de hielo
|
||||
Sandstone chimney top=Chimenea de arenisca
|
||||
Stone chimney top=Chimenea de piedra
|
10
fake_fire/locale/fake_fire.fr.tr
Normal file
10
fake_fire/locale/fake_fire.fr.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Feu décoratif
|
||||
Glowing Embers=Braises incandescentes
|
||||
Ice fire=Feu glacé
|
||||
Sandstone chimney top=Haut de cheminée en grès
|
||||
Stone chimney top=Haut de cheminée en pierre
|
10
fake_fire/locale/fake_fire.ms.tr
Normal file
10
fake_fire/locale/fake_fire.ms.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Api Hiasan
|
||||
Glowing Embers=Bara Api
|
||||
Ice fire=Api Ais
|
||||
Sandstone chimney top=Kepala Serombong Batu Pasir
|
||||
Stone chimney top=Kepala Serombong Batu
|
10
fake_fire/locale/fake_fire.pt.tr
Normal file
10
fake_fire/locale/fake_fire.pt.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Fogo Chique
|
||||
Glowing Embers=Brasas Brilhantes
|
||||
Ice fire=Fogo de gelo
|
||||
Sandstone chimney top=Topo de chaminé de arenito
|
||||
Stone chimney top=Topo de chaminé de pedra
|
10
fake_fire/locale/fake_fire.pt_BR.tr
Normal file
10
fake_fire/locale/fake_fire.pt_BR.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Fogo Chique
|
||||
Glowing Embers=Brasas Brilhantes
|
||||
Ice fire=Fogo de gelo
|
||||
Sandstone chimney top=Topo de chaminé de arenito
|
||||
Stone chimney top=Topo de chaminé de pedra
|
10
fake_fire/locale/fake_fire.ru.tr
Normal file
10
fake_fire/locale/fake_fire.ru.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=Необычный огонь
|
||||
Glowing Embers=Светящиеся угли
|
||||
Ice fire=Ледяной огонь
|
||||
Sandstone chimney top=Дымоход из песчаника на крышу
|
||||
Stone chimney top=Каменный дымоход на крышу
|
10
fake_fire/locale/fake_fire.zh_CN.tr
Normal file
10
fake_fire/locale/fake_fire.zh_CN.tr
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=花式火
|
||||
Glowing Embers=发光的余烬
|
||||
Ice fire=冰火
|
||||
Sandstone chimney top=砂石烟囱顶部
|
||||
Stone chimney top=鹅卵石烟囱顶部
|
10
fake_fire/locale/template.txt
Normal file
10
fake_fire/locale/template.txt
Normal file
@ -0,0 +1,10 @@
|
||||
# textdomain: fake_fire
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Fancy Fire=
|
||||
Glowing Embers=
|
||||
Ice fire=
|
||||
Sandstone chimney top=
|
||||
Stone chimney top=
|
2
fake_fire/mod.conf
Normal file
2
fake_fire/mod.conf
Normal file
@ -0,0 +1,2 @@
|
||||
name = fake_fire
|
||||
depends = default
|
Loading…
Reference in New Issue
Block a user