Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2020-08-08 10:04:04 +02:00
506 changed files with 7721 additions and 17815 deletions

19
fake_fire/.luacheckrc Normal file
View File

@ -0,0 +1,19 @@
unused_args = false
allow_defined_top = true
max_comment_line_length = 999
read_globals = {
"DIR_DELIM",
"minetest", "core",
"unpack",
"dump",
table = { fields = { "copy", "getn" } },
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"default",
}
globals = {
}

View File

@ -1,2 +0,0 @@
default
homedecor_common

View File

@ -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)

View 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

View 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

View 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

View 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

View 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

View 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

View File

@ -0,0 +1,10 @@
# textdomain: fake_fire
### init.lua ###
Fancy Fire=Необычный огонь
Glowing Embers=Светящиеся угли
Ice fire=Ледяной огонь
Sandstone chimney top=Дымоход из песчаника на крышу
Stone chimney top=Каменный дымоход на крышу

View File

@ -0,0 +1,10 @@
# textdomain: fake_fire
### init.lua ###
Fancy Fire=花式火
Glowing Embers=发光的余烬
Ice fire=冰火
Sandstone chimney top=砂石烟囱顶部
Stone chimney top=鹅卵石烟囱顶部

View 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
View File

@ -0,0 +1,2 @@
name = fake_fire
depends = default