mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Merge branch 'locale' into 'master'
MT5 translation See merge request VanessaE/homedecor_modpack!12
This commit is contained in:
commit
c2122a634a
21
building_blocks/.luacheckrc
Normal file
21
building_blocks/.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
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",
|
||||
"stairsplus",
|
||||
"default",
|
||||
"stairs",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("building_blocks")
|
||||
|
||||
if minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs") then
|
||||
minetest.register_alias("building_blocks:slab_tar", "stairs:slab_Tar")
|
||||
|
@ -1,5 +0,0 @@
|
||||
default
|
||||
homedecor_common
|
||||
moreblocks?
|
||||
gloopblocks?
|
||||
stairs?
|
@ -1,4 +1,3 @@
|
||||
local S = homedecor.gettext
|
||||
local modpath = minetest.get_modpath("building_blocks")
|
||||
|
||||
dofile(modpath.."/alias.lua")
|
||||
|
48
building_blocks/locale/building_blocks.de.tr
Normal file
48
building_blocks/locale/building_blocks.de.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granit
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Adobe
|
||||
Adobe Slab=Adobestufe
|
||||
Adobe Stair=Adobetreppe
|
||||
Brobble Spread=Ziesterboden
|
||||
Chess board tiling=Schachbrettkacheln
|
||||
Fake Grass=Falsches Gras
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Kamin
|
||||
Grate=Rost
|
||||
Grate Slab=Roststufe
|
||||
Grate Stair=Rosttreppe
|
||||
Gravel Spread=Kiesboden
|
||||
Hardwood=Hartholz
|
||||
Hardwood Slab=Hartholzstufe
|
||||
Hardwood Stair=Hartholztreppe
|
||||
Marble=Marmor
|
||||
Marble Slab=Marmorstufe
|
||||
Marble Stair=Marmortreppe
|
||||
Roof block=Dachblock
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Schlierenfreies Glas
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Teer
|
||||
Tar Slab=Teerstufe
|
||||
Tar Stair=Teertreppe
|
||||
Tarmac Spread=Asphaltboden
|
||||
Terrycloth towel=Frottiertuch
|
||||
Wood Framed Glass=Holzrahmenglas
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Kleines Bündel Stöcke
|
||||
Tar Knife=Teermesser
|
||||
Tar base=Teerbase
|
48
building_blocks/locale/building_blocks.es.tr
Normal file
48
building_blocks/locale/building_blocks.es.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granito
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Adobe
|
||||
Adobe Slab=Losa de adobe
|
||||
Adobe Stair=Escaleras de adobe
|
||||
Brobble Spread=Mezcla de Ladroquines
|
||||
Chess board tiling=Azulejos de ajedrez
|
||||
Fake Grass=Hierba falsa
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Chimenea
|
||||
Grate=Reja
|
||||
Grate Slab=Losa de rejas
|
||||
Grate Stair=Escaleras de rejas
|
||||
Gravel Spread=Mezcla de gravilla
|
||||
Hardwood=Madera dura
|
||||
Hardwood Slab=Losa de madera dura
|
||||
Hardwood Stair=Escaleras de madera dura
|
||||
Marble=Mármol
|
||||
Marble Slab=Losa de mármol
|
||||
Marble Stair=Escaleras de mármol
|
||||
Roof block=Bloque de techo
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Vídrio sin rayas
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Alquitrán
|
||||
Tar Slab=Losa de alquitrán
|
||||
Tar Stair=Escaleras de alquitrán
|
||||
Tarmac Spread=Mezcla de asfalto
|
||||
Terrycloth towel=Toalla
|
||||
Wood Framed Glass=Vídrio enmarcado en madera
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Manojo de palitos
|
||||
Tar Knife=Cuchillo de alquitrán
|
||||
Tar base=Base de alquitrán
|
48
building_blocks/locale/building_blocks.fr.tr
Normal file
48
building_blocks/locale/building_blocks.fr.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granit
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Pisé
|
||||
Adobe Slab=Dalle en pisé
|
||||
Adobe Stair=Escalier en pisé
|
||||
Brobble Spread=Tapis rouge
|
||||
Chess board tiling=Pavage en échiquier
|
||||
Fake Grass=Herbe synthétique
|
||||
Fake Grass Slab=Dalle en herbe synthétique
|
||||
Fake Grass Stair=Escalier en herbe synthétique
|
||||
Fireplace=Cheminée
|
||||
Grate=Grille
|
||||
Grate Slab=Dalle en métal déployé
|
||||
Grate Stair=Escalier en métal déployé
|
||||
Gravel Spread=Tapis de gravier
|
||||
Hardwood=Bois dur (feuillu)
|
||||
Hardwood Slab=Dalle en bois dur (feuillu)
|
||||
Hardwood Stair=Escalier en bois dur (feuillu)
|
||||
Marble=Marbre
|
||||
Marble Slab=Dalle en marbre
|
||||
Marble Stair=Marche en marbre
|
||||
Roof block=Bloc de toit
|
||||
Roof block Slab=Dalle en bloc de toit
|
||||
Roof block Stair=Escalier en bloc de toit
|
||||
Streak Free Glass=Verre anti-rayures
|
||||
Streak Free Glass Slab=Dalle en verre anti-rayures
|
||||
Streak Free Glass Stair=Escalier en verre anti-rayures
|
||||
Tar=Goudron
|
||||
Tar Slab=Dalle en goudron
|
||||
Tar Stair=Marche en goudron
|
||||
Tarmac Spread=Tapis de goudron
|
||||
Terrycloth towel=Serviette éponge
|
||||
Wood Framed Glass=Verre encadré de bois
|
||||
Wood Framed Glass Slab=Dalle en verre encadré de bois
|
||||
Wood Framed Glass Stair=Escalier en verre encadré de bois
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Petit fagot de brindilles
|
||||
Tar Knife=Couteau à goudron
|
||||
Tar base=Pâte de goudron
|
48
building_blocks/locale/building_blocks.ms.tr
Normal file
48
building_blocks/locale/building_blocks.ms.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granit
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Adob
|
||||
Adobe Slab=Bidur Adob
|
||||
Adobe Stair=Tangga Adob
|
||||
Brobble Spread=Sebaran Batu Merah
|
||||
Chess board tiling=Jubin Papan Catur
|
||||
Fake Grass=Rumput Tiruan
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Pendiangan
|
||||
Grate=Jeriji
|
||||
Grate Slab=Bidur Jeriji
|
||||
Grate Stair=Tangga Jeriji
|
||||
Gravel Spread=Sebaran Kelikir
|
||||
Hardwood=Kayu Keras
|
||||
Hardwood Slab=Bidur Kayu Keras
|
||||
Hardwood Stair=Tangga Kayu Keras
|
||||
Marble=Marmar
|
||||
Marble Slab=Bidur Marmar
|
||||
Marble Stair=Tangga Marmar
|
||||
Roof block=Blok Bumbung
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Kaca Bebas Calar
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Tar
|
||||
Tar Slab=Bidur Tar
|
||||
Tar Stair=Tangga Tar
|
||||
Tarmac Spread=Sebaran Tar
|
||||
Terrycloth towel=Kain Tuala
|
||||
Wood Framed Glass=Kaca Berbingkai Kayu
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Seberkas Kecil Serpihan Kayu
|
||||
Tar Knife=Pisau Tar
|
||||
Tar base=Campuran Tar
|
48
building_blocks/locale/building_blocks.pt.tr
Normal file
48
building_blocks/locale/building_blocks.pt.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granito
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Argila
|
||||
Adobe Slab=Placa de argila
|
||||
Adobe Stair=Escada de Argila
|
||||
Brobble Spread=Calçado
|
||||
Chess board tiling=Revestimento de xadrez
|
||||
Fake Grass=Grama Falsa
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Lareira
|
||||
Grate=Grelha
|
||||
Grate Slab=Placa de Grelha
|
||||
Grate Stair=Escade de Grelha
|
||||
Gravel Spread=Espalhamento de Cascalho
|
||||
Hardwood=Madeira
|
||||
Hardwood Slab=Placa de madeira
|
||||
Hardwood Stair=Escada de madeira
|
||||
Marble=Mármore
|
||||
Marble Slab=Placa de Mármore
|
||||
Marble Stair=Escada de mármore
|
||||
Roof block=Bloco de telhado
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Vidro Sem Riscos
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Alcatrão
|
||||
Tar Slab=Placa de alcatrão
|
||||
Tar Stair=Escada de alcatrão
|
||||
Tarmac Spread=Espalhamento das Estradas
|
||||
Terrycloth towel=Toalha de Roupinha
|
||||
Wood Framed Glass=Vidro com Bordas de Madeira
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Pequeno amontoado de gravetos
|
||||
Tar Knife=Faca de Alcatrão
|
||||
Tar base=Base para alcatrão
|
48
building_blocks/locale/building_blocks.pt_BR.tr
Normal file
48
building_blocks/locale/building_blocks.pt_BR.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granito
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Argila
|
||||
Adobe Slab=Placa de argila
|
||||
Adobe Stair=Escada de Argila
|
||||
Brobble Spread=Calçado
|
||||
Chess board tiling=Revestimento de xadrez
|
||||
Fake Grass=Grama Falsa
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Lareira
|
||||
Grate=Grelha
|
||||
Grate Slab=Placa de Grelha
|
||||
Grate Stair=Escade de Grelha
|
||||
Gravel Spread=Espalhamento de Cascalho
|
||||
Hardwood=Madeira
|
||||
Hardwood Slab=Placa de madeira
|
||||
Hardwood Stair=Escada de madeira
|
||||
Marble=Mármore
|
||||
Marble Slab=Placa de Mármore
|
||||
Marble Stair=Escada de mármore
|
||||
Roof block=Bloco de telhado
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Vidro Sem Riscos
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Alcatrão
|
||||
Tar Slab=Placa de alcatrão
|
||||
Tar Stair=Escada de alcatrão
|
||||
Tarmac Spread=Espalhamento das Estradas
|
||||
Terrycloth towel=Toalha de Roupinha
|
||||
Wood Framed Glass=Vidro com Bordas de Madeira
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Pequeno amontoado de gravetos
|
||||
Tar Knife=Faca de Alcatrão
|
||||
Tar base=Base para alcatrão
|
48
building_blocks/locale/building_blocks.ru.tr
Normal file
48
building_blocks/locale/building_blocks.ru.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Гранит
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Саман
|
||||
Adobe Slab=Саманная плита
|
||||
Adobe Stair=Саманная ступенька
|
||||
Brobble Spread=Настил кирпичного булыжника
|
||||
Chess board tiling=Шахматная плитка
|
||||
Fake Grass=Псевдо трава
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Камин
|
||||
Grate=Каминная решётка
|
||||
Grate Slab=Решётчатая плита
|
||||
Grate Stair=Решётчатая ступенька
|
||||
Gravel Spread=Настил гравия
|
||||
Hardwood=Твёрдая древесина
|
||||
Hardwood Slab=Плита из твёрдой древесины
|
||||
Hardwood Stair=Ступенька из твёрдой древесины
|
||||
Marble=Мрамор
|
||||
Marble Slab=Мраморная блита
|
||||
Marble Stair=Мраморная ступенька
|
||||
Roof block=Кровельный блок
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Стекло без стыков
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Смола
|
||||
Tar Slab=Плита из смолы
|
||||
Tar Stair=Ступенька из смолы
|
||||
Tarmac Spread=Покрытие гудронной смолой
|
||||
Terrycloth towel=Махровое полотенце
|
||||
Wood Framed Glass=Деревянное окно
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Небольшая связка палок
|
||||
Tar Knife=Смоляной нож
|
||||
Tar base=Смоляная основа
|
48
building_blocks/locale/building_blocks.zh_CN.tr
Normal file
48
building_blocks/locale/building_blocks.zh_CN.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=花岗岩
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=土砖
|
||||
Adobe Slab=
|
||||
Adobe Stair=
|
||||
Brobble Spread=石砖路面
|
||||
Chess board tiling=棋盘铺贴
|
||||
Fake Grass=塑料草
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=壁炉
|
||||
Grate=磨碎
|
||||
Grate Slab=
|
||||
Grate Stair=
|
||||
Gravel Spread=碎石路面
|
||||
Hardwood=硬木
|
||||
Hardwood Slab=
|
||||
Hardwood Stair=
|
||||
Marble=大理石
|
||||
Marble Slab=
|
||||
Marble Stair=
|
||||
Roof block=天台
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=无条纹玻璃
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=焦油
|
||||
Tar Slab=
|
||||
Tar Stair=
|
||||
Tarmac Spread=柏油路面
|
||||
Terrycloth towel=毛巾
|
||||
Wood Framed Glass=木框玻璃
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=小捆棍子
|
||||
Tar Knife=焦油刀
|
||||
Tar base=焦油基
|
48
building_blocks/locale/template.txt
Normal file
48
building_blocks/locale/template.txt
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=
|
||||
Adobe Slab=
|
||||
Adobe Stair=
|
||||
Brobble Spread=
|
||||
Chess board tiling=
|
||||
Fake Grass=
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=
|
||||
Grate=
|
||||
Grate Slab=
|
||||
Grate Stair=
|
||||
Gravel Spread=
|
||||
Hardwood=
|
||||
Hardwood Slab=
|
||||
Hardwood Stair=
|
||||
Marble=
|
||||
Marble Slab=
|
||||
Marble Stair=
|
||||
Roof block=
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=
|
||||
Tar Slab=
|
||||
Tar Stair=
|
||||
Tarmac Spread=
|
||||
Terrycloth towel=
|
||||
Wood Framed Glass=
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=
|
||||
Tar Knife=
|
||||
Tar base=
|
3
building_blocks/mod.conf
Normal file
3
building_blocks/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = building_blocks
|
||||
depends = default
|
||||
optional_depends = moreblocks, gloopblocks, stairs
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("building_blocks")
|
||||
|
||||
local stairs_groups_names = {"cracky","choppy","flammable","crumbly","snappy"}
|
||||
|
||||
@ -29,9 +29,11 @@ local function building_blocks_stairs(nodename, def)
|
||||
stairs.register_stair_and_slab(name,nodename,
|
||||
stairs_groups,
|
||||
def.tiles,
|
||||
("%s Stair"):format(def.description),
|
||||
("%s Slab"):format(def.description),
|
||||
def.stair_desc,
|
||||
def.slab_desc,
|
||||
def.sounds
|
||||
--FIXME: Missing descriptions for Inner and Outer stairs
|
||||
-- See https://github.com/minetest/minetest_game/pull/2584
|
||||
)
|
||||
end
|
||||
end
|
||||
@ -40,6 +42,8 @@ end
|
||||
building_blocks_stairs("building_blocks:grate", {
|
||||
drawtype = "glasslike",
|
||||
description = S("Grate"),
|
||||
stair_desc = S("Grate Stair"),
|
||||
slab = S("Grate Slab"),
|
||||
tiles = {"building_blocks_grate.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
@ -50,6 +54,8 @@ building_blocks_stairs("building_blocks:grate", {
|
||||
building_blocks_stairs("building_blocks:smoothglass", {
|
||||
drawtype = "glasslike",
|
||||
description = S("Streak Free Glass"),
|
||||
stair_desc = S("Streak Free Glass Stair"),
|
||||
slab_desc = S("Streak Free Glass Slab"),
|
||||
tiles = {"building_blocks_sglass.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
@ -60,6 +66,8 @@ building_blocks_stairs("building_blocks:smoothglass", {
|
||||
building_blocks_stairs("building_blocks:woodglass", {
|
||||
drawtype = "glasslike",
|
||||
description = S("Wood Framed Glass"),
|
||||
stair_desc = S("Wood Framed Glass Stair"),
|
||||
slab_desc = S("Wood Framed Glass Slab"),
|
||||
tiles = {"building_blocks_wglass.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
@ -71,6 +79,8 @@ building_blocks_stairs("building_blocks:woodglass", {
|
||||
building_blocks_stairs("building_blocks:Adobe", {
|
||||
tiles = {"building_blocks_Adobe.png"},
|
||||
description = S("Adobe"),
|
||||
stair_desc = S("Adobe Stair"),
|
||||
slab_desc = S("Adobe Slab"),
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
@ -78,6 +88,8 @@ building_blocks_stairs("building_blocks:Adobe", {
|
||||
building_blocks_stairs("building_blocks:fakegrass", {
|
||||
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
|
||||
description = S("Fake Grass"),
|
||||
stair_desc = S("Fake Grass Stair"),
|
||||
slab_desc = S("Fake Grass Slab"),
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3},
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
@ -88,6 +100,8 @@ building_blocks_stairs("building_blocks:hardwood", {
|
||||
tiles = {"building_blocks_hardwood.png"},
|
||||
is_ground_content = true,
|
||||
description = S("Hardwood"),
|
||||
stair_desc = S("Hardwood Stair"),
|
||||
slab_desc = S("Hardwood Slab"),
|
||||
groups = {choppy=1,flammable=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
@ -95,11 +109,15 @@ building_blocks_stairs("building_blocks:Roofing", {
|
||||
tiles = {"building_blocks_Roofing.png"},
|
||||
is_ground_content = true,
|
||||
description = S("Roof block"),
|
||||
stair_desc = S("Roof block Stair"),
|
||||
slab_desc = S("Roof block Slab"),
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
building_blocks_stairs("building_blocks:Tar", {
|
||||
description = S("Tar"),
|
||||
stair_desc = S("Tar Stair"),
|
||||
slab_desc = S("Tar Slab"),
|
||||
tiles = {"building_blocks_tar.png"},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=1, tar_block = 1},
|
||||
@ -107,6 +125,8 @@ building_blocks_stairs("building_blocks:Tar", {
|
||||
})
|
||||
building_blocks_stairs("building_blocks:Marble", {
|
||||
description = S("Marble"),
|
||||
stair_desc = S("Marble Stair"),
|
||||
slab_desc = S("Marble Slab"),
|
||||
tiles = {"building_blocks_marble.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3, marble = 1},
|
||||
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("building_blocks")
|
||||
|
||||
minetest.register_craftitem("building_blocks:sticks", {
|
||||
description = S("Small bundle of sticks"),
|
||||
|
@ -1,5 +1,3 @@
|
||||
local S = homedecor.gettext
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
minetest.register_craft({
|
||||
output = 'building_blocks:sticks 2',
|
||||
|
21
computer/.luacheckrc
Normal file
21
computer/.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
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",
|
||||
"unifieddyes",
|
||||
"screwdriver",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("computer")
|
||||
|
||||
-- Amiga 500 lookalike
|
||||
computer.register("computer:shefriendSOO", {
|
||||
description = "SheFriendSOO",
|
||||
description = S("SheFriendSOO"),
|
||||
tiles_off = { front=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
@ -17,7 +16,7 @@ computer.register("computer:shefriendSOO", {
|
||||
minetest.register_node("computer:vanio", {
|
||||
drawtype = "mesh",
|
||||
mesh = "computer_laptop.obj",
|
||||
description = "Pony Vanio",
|
||||
description = S("Pony Vanio"),
|
||||
inventory_image = "computer_laptop_inv.png",
|
||||
tiles = {"computer_laptop.png"},
|
||||
paramtype = "light",
|
||||
@ -58,7 +57,7 @@ minetest.register_node("computer:vanio_off", {
|
||||
|
||||
-- Sony PlayStation lookalike
|
||||
computer.register("computer:slaystation", {
|
||||
description = "Pony SlayStation",
|
||||
description = S("Pony SlayStation"),
|
||||
inventory_image = "computer_ps1_inv.png",
|
||||
tiles_off = { top=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -75,7 +74,7 @@ computer.register("computer:slaystation", {
|
||||
|
||||
-- Sony PlayStation 2 lookalike
|
||||
computer.register("computer:slaystation2", {
|
||||
description = "Pony SlayStation 2",
|
||||
description = S("Pony SlayStation 2"),
|
||||
inventory_image = "computer_ps2_inv.png",
|
||||
tiles_off = { front=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -93,7 +92,7 @@ computer.register("computer:slaystation2", {
|
||||
|
||||
-- Sinclair ZX Spectrum lookalike
|
||||
computer.register("computer:specter", {
|
||||
description = "SX Specter",
|
||||
description = S("SX Specter"),
|
||||
inventory_image = "computer_specter_inv.png",
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -105,7 +104,7 @@ computer.register("computer:specter", {
|
||||
|
||||
-- Nintendo Wii lookalike
|
||||
computer.register("computer:wee", {
|
||||
description = "Nientiendo Wee",
|
||||
description = S("Nientiendo Wee"),
|
||||
inventory_image = "computer_wii_inv.png",
|
||||
tiles_off = { front=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -117,7 +116,7 @@ computer.register("computer:wee", {
|
||||
|
||||
-- Apple iPad lookalike
|
||||
minetest.register_node("computer:piepad", {
|
||||
description = "Snapple Piepad",
|
||||
description = S("Snapple Piepad"),
|
||||
drawtype = "signlike",
|
||||
tiles = {"computer_piepad_inv.png"},
|
||||
inventory_image = "computer_piepad_inv.png",
|
||||
@ -133,7 +132,7 @@ minetest.register_node("computer:piepad", {
|
||||
|
||||
-- Commodore 64 lookalike
|
||||
computer.register("computer:admiral64", {
|
||||
description = "Admiral64",
|
||||
description = S("Admiral64"),
|
||||
inventory_image = "computer_ad64_inv.png",
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -144,7 +143,7 @@ computer.register("computer:admiral64", {
|
||||
|
||||
-- Commodore 128 lookalike
|
||||
computer.register("computer:admiral128", {
|
||||
description = "Admiral128",
|
||||
description = S("Admiral128"),
|
||||
inventory_image = "computer_ad128_inv.png",
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -155,7 +154,7 @@ computer.register("computer:admiral128", {
|
||||
|
||||
-- XBox lookalike
|
||||
computer.register("computer:hueg_box", {
|
||||
description = "HUEG Box",
|
||||
description = S("HUEG Box"),
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(16, {
|
||||
-- X Y Z W H L
|
||||
@ -217,8 +216,17 @@ minetest.register_alias("computer:monitor_desktop", "computer:monitor")
|
||||
minetest.register_node("computer:router", {
|
||||
description = S("WIFI Router"),
|
||||
inventory_image = "computer_router_inv.png",
|
||||
tiles = {"computer_router_t.png","computer_router_bt.png","computer_router_l.png","computer_router_r.png","computer_router_b.png",
|
||||
{name="computer_router_f_animated.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}},}, --"computer_router_f.png"},
|
||||
tiles = {
|
||||
"computer_router_t.png",
|
||||
"computer_router_bt.png",
|
||||
"computer_router_l.png",
|
||||
"computer_router_r.png",
|
||||
"computer_router_b.png",
|
||||
{
|
||||
name = "computer_router_f_animated.png",
|
||||
animation = {type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}
|
||||
},
|
||||
}, --"computer_router_f.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = false,
|
||||
|
@ -1,4 +0,0 @@
|
||||
default
|
||||
homedecor_common
|
||||
basic_materials
|
||||
unifieddyes
|
@ -1,5 +1,4 @@
|
||||
computer = {}
|
||||
screwdriver = screwdriver or {}
|
||||
|
||||
computer.register = function (name, def)
|
||||
if (name:sub(1, 1) == ":") then name = name:sub(2) end
|
||||
|
35
computer/locale/computer.de.tr
Normal file
35
computer/locale/computer.de.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Computerturm
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Bildschirm und Tastatur
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Es gibt nicht genug vertikalen Platz, um einen Server zu platzieren!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Serverschrank
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=WiFi-Router
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Multifunktionsdrucker
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Neues Spiel
|
||||
Next...=Nächster…
|
||||
No room for place the Arcade!=Kein Platz, um den Arkadeautomaten zu platzieren!
|
||||
R=
|
||||
Score: =Punktzahl:
|
||||
Tetris Arcade=Tetris-Arkadeautomat
|
35
computer/locale/computer.es.tr
Normal file
35
computer/locale/computer.es.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Torre de ordenador
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Monitor y teclado
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=¡No hay suficiente espacio para colocar un servidor!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Servidor en rack
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Enrutador WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Impresora y escáner combinados
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Juego Nuevo
|
||||
Next...=
|
||||
No room for place the Arcade!=¡No hay lugar para colocar el arcade!
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=Arcade Tetris
|
35
computer/locale/computer.fr.tr
Normal file
35
computer/locale/computer.fr.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Ordinateur (tour)
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Écran et clavier
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Pas assez d'espace vertical pour placer un serveur !
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Serveur en rack
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Routeur WiFi
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Imprimante multi-fonction
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=G
|
||||
New Game=Nouveau Jeu
|
||||
Next...=Suivant…
|
||||
No room for place the Arcade!=Pas assez de place pour placer la borne d'arcade !
|
||||
R=D
|
||||
Score: =Score :
|
||||
Tetris Arcade=Borne Tetris
|
35
computer/locale/computer.it.tr
Normal file
35
computer/locale/computer.it.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=
|
||||
HUEG Box=
|
||||
Monitor and keyboard=
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Non c'è abbastanza spazio verticale per mettere un frigorifero!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=
|
||||
Next...=
|
||||
No room for place the Arcade!=
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=
|
35
computer/locale/computer.ms.tr
Normal file
35
computer/locale/computer.ms.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Sistem Unit
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Monitor dan Papan Kekunci
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Tidak cukup ruang menegak untuk letak rak pelayan!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Rak Pelayan
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Penghala WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Pencetak Semua Dalam Satu
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Main Baru
|
||||
Next...=Seterusnya...
|
||||
No room for place the Arcade!=Tiada ruang untuk letak Arked!
|
||||
R=
|
||||
Score: =Markah:
|
||||
Tetris Arcade=Arked Tetris
|
35
computer/locale/computer.pt.tr
Normal file
35
computer/locale/computer.pt.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Gabinete do Computador
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Tela e teclado
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Sem espaço vertical suficiente para colocar um servidor.
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Rack para Servidor
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Roteador WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Novo Jogo
|
||||
Next...=
|
||||
No room for place the Arcade!=Sem espaço para colocar o Fliperama!
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=Fliperama Tetris
|
35
computer/locale/computer.pt_BR.tr
Normal file
35
computer/locale/computer.pt_BR.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Gabinete do Computador
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Tela e teclado
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Sem espaço vertical suficiente para colocar um servidor.
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Rack para Servidor
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Roteador WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Novo Jogo
|
||||
Next...=
|
||||
No room for place the Arcade!=Sem espaço para colocar o Fliperama!
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=Fliperama Tetris
|
35
computer/locale/computer.ru.tr
Normal file
35
computer/locale/computer.ru.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Системный блок
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Монитор и клавиатура
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Недостаточно вертикального пространства для размещения сервера!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Стоечный сервер
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=WIFI-роутер
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=МФУ
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Новая игра
|
||||
Next...=Далее...
|
||||
No room for place the Arcade!=Недостаточно места для размещения игрового автомата!
|
||||
R=
|
||||
Score: =Счёт:
|
||||
Tetris Arcade=Игровой автомат Тетрис
|
35
computer/locale/computer.zh_CN.tr
Normal file
35
computer/locale/computer.zh_CN.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=计算机箱
|
||||
HUEG Box=
|
||||
Monitor and keyboard=显示器和键盘
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=高度不足,无法放置服务器!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=机架式服务器
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=无线路由器
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=打印扫描一体机
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=新游戏
|
||||
Next...=下一个。。。
|
||||
No room for place the Arcade!=没有地方放游戏机!
|
||||
R=
|
||||
Score: =分数:
|
||||
Tetris Arcade=俄罗斯方块游戏机
|
35
computer/locale/template.txt
Normal file
35
computer/locale/template.txt
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=
|
||||
HUEG Box=
|
||||
Monitor and keyboard=
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=
|
||||
Next...=
|
||||
No room for place the Arcade!=
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=
|
3
computer/mod.conf
Normal file
3
computer/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = computer
|
||||
depends = default, basic_materials, unifieddyes
|
||||
optional_depends = screwdriver
|
@ -1,6 +1,6 @@
|
||||
-- Printers of some kind or another
|
||||
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("computer")
|
||||
|
||||
minetest.register_node("computer:printer", {
|
||||
description = S("Printer-Scanner Combo"),
|
||||
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("computer")
|
||||
|
||||
local shapes = {
|
||||
{ { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } },
|
||||
@ -250,7 +250,7 @@ minetest.register_node("computer:tetris_arcade", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=3},
|
||||
on_rotate = screwdriver.rotate_simple,
|
||||
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
|
||||
|
19
fake_fire/.luacheckrc
Normal file
19
fake_fire/.luacheckrc
Normal 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 = {
|
||||
}
|
||||
|
@ -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
|
18
homedecor_3d_extras/.luacheckrc
Normal file
18
homedecor_3d_extras/.luacheckrc
Normal file
@ -0,0 +1,18 @@
|
||||
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",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
default
|
||||
vessels?
|
||||
moreblocks?
|
||||
doors?
|
4
homedecor_3d_extras/mod.conf
Normal file
4
homedecor_3d_extras/mod.conf
Normal file
@ -0,0 +1,4 @@
|
||||
name = homedecor_3d_extras
|
||||
description = Homedecor Mod: 3d extras
|
||||
depends = default
|
||||
optional_depends = vessels, moreblocks, doors
|
22
homedecor_bathroom/.luacheckrc
Normal file
22
homedecor_bathroom/.luacheckrc
Normal file
@ -0,0 +1,22 @@
|
||||
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",
|
||||
"homedecor",
|
||||
"screwdriver",
|
||||
"unifieddyes",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
homedecor_common
|
||||
default
|
||||
basic_materials
|
||||
unifieddyes
|
||||
building_blocks
|
||||
bucket?
|
||||
homedecor_fences?
|
@ -1,5 +1,6 @@
|
||||
local S = minetest.get_translator("homedecor_bathroom")
|
||||
|
||||
local S = homedecor.gettext
|
||||
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
||||
|
||||
minetest.register_node(":homedecor:bathroom_tiles_dark", {
|
||||
description = S("Bathroom/kitchen tiles (dark)"),
|
||||
@ -274,7 +275,7 @@ homedecor.register("taps", {
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_rightclick = taps_on_rightclick,
|
||||
on_destruct = homedecor.stop_particle_spawner,
|
||||
on_rotate = screwdriver.disallow
|
||||
on_rotate = sc_disallow or nil
|
||||
})
|
||||
|
||||
homedecor.register("taps_brass", {
|
||||
@ -297,7 +298,7 @@ homedecor.register("taps_brass", {
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
on_rightclick = taps_on_rightclick,
|
||||
on_destruct = homedecor.stop_particle_spawner,
|
||||
on_rotate = screwdriver.disallow
|
||||
on_rotate = sc_disallow or nil,
|
||||
})
|
||||
|
||||
--Shower Tray
|
||||
@ -347,7 +348,7 @@ homedecor.register("shower_head", {
|
||||
groups = {snappy=3},
|
||||
selection_box = sh_cbox,
|
||||
walkable = false,
|
||||
on_rotate = screwdriver.disallow,
|
||||
on_rotate = sc_disallow or nil,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local below = minetest.get_node_or_nil({x=pos.x, y=pos.y-2.0, z=pos.z})
|
||||
if below and (
|
||||
@ -469,7 +470,7 @@ minetest.register_alias("table_lamp", "homedecor:table_lamp_off")
|
||||
|
||||
-- convert old static nodes
|
||||
|
||||
homedecor.old_static_bathroom_tiles = {
|
||||
local old_static_bathroom_tiles = {
|
||||
"homedecor:tiles_1",
|
||||
"homedecor:tiles_2",
|
||||
"homedecor:tiles_3",
|
||||
@ -492,7 +493,7 @@ minetest.register_lbm({
|
||||
name = ":homedecor:convert_bathroom_tiles",
|
||||
label = "Convert bathroom tiles to use param2 color",
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_static_bathroom_tiles,
|
||||
nodenames = old_static_bathroom_tiles,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
local newname = "homedecor:bathroom_tiles_light"
|
||||
|
20
homedecor_bathroom/locale/homedecor_bathroom.de.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.de.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Badezimmerwaschbecken
|
||||
Bathroom sundries set=Badezimmerkrimskrams
|
||||
Bathroom taps/faucet=Badezimmerwasserhahn
|
||||
Bathroom taps/faucet (brass)=Badezimmerwasserhahn (Messing)
|
||||
Bathroom/kitchen tiles (dark)=Badezimmer-/Küchenkacheln (dunkel)
|
||||
Bathroom/kitchen tiles (light)=Badezimmer-/Küchenkacheln (hell)
|
||||
Bathroom/kitchen tiles (medium)=Badezimmer-/Küchenkacheln (mittel)
|
||||
Bathtub, clawfoot, with brass taps=Badewanne, Krallenfuß, mit Messingwasserhähnen
|
||||
Bathtub, clawfoot, with chrome taps=Badewanne, Krallenfuß, mit Chromwasserhähnen
|
||||
Medicine cabinet=Medizinschrank
|
||||
Shower Head=Duschbrause
|
||||
Shower Tray=Duschtasse
|
||||
Toilet=Toilette
|
||||
Toilet paper=Toilettenpapier
|
||||
Towel rod with towel=Handtuchhalter mit Handtuch
|
20
homedecor_bathroom/locale/homedecor_bathroom.es.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.es.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Lavabo de baño
|
||||
Bathroom sundries set=Artículos de baño
|
||||
Bathroom taps/faucet=Grifo de baño
|
||||
Bathroom taps/faucet (brass)=Grifo de baño (latón)
|
||||
Bathroom/kitchen tiles (dark)=Azulejo de baño/cocina (tonos oscuros)
|
||||
Bathroom/kitchen tiles (light)=Azulejo de baño/cocina (tonos claros)
|
||||
Bathroom/kitchen tiles (medium)=Azulejo de baño/cocina (tonos medios)
|
||||
Bathtub, clawfoot, with brass taps=
|
||||
Bathtub, clawfoot, with chrome taps=
|
||||
Medicine cabinet=Gabinete de medicinas
|
||||
Shower Head=Ducha
|
||||
Shower Tray=Plato de ducha
|
||||
Toilet=Inodoro
|
||||
Toilet paper=Papel higiénico
|
||||
Towel rod with towel=Toallero con toalla
|
20
homedecor_bathroom/locale/homedecor_bathroom.fr.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.fr.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Évier
|
||||
Bathroom sundries set=Miroir et tablette de salle de bain
|
||||
Bathroom taps/faucet=Robinetterie
|
||||
Bathroom taps/faucet (brass)=Robinetterie (laiton)
|
||||
Bathroom/kitchen tiles (dark)=Carreaux de salle de bain ou cuisine (foncées)
|
||||
Bathroom/kitchen tiles (light)=Carreaux de salle de bain ou cuisine (claires)
|
||||
Bathroom/kitchen tiles (medium)=Carreaux de salle de bain ou cuisine (moyennes)
|
||||
Bathtub, clawfoot, with brass taps=Baignoire sur pieds, avec robinetterie en laiton
|
||||
Bathtub, clawfoot, with chrome taps=Baignoire sur pieds, avec robinetterie en chrome
|
||||
Medicine cabinet=Armoire à pharmacie
|
||||
Shower Head=Pomme de douche
|
||||
Shower Tray=Bac de douche
|
||||
Toilet=Toilettes
|
||||
Toilet paper=Papier toilette
|
||||
Towel rod with towel=Porte serviette et serviette
|
20
homedecor_bathroom/locale/homedecor_bathroom.it.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.it.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=
|
||||
Bathroom sundries set=
|
||||
Bathroom taps/faucet=
|
||||
Bathroom taps/faucet (brass)=
|
||||
Bathroom/kitchen tiles (dark)=
|
||||
Bathroom/kitchen tiles (light)=
|
||||
Bathroom/kitchen tiles (medium)=
|
||||
Bathtub, clawfoot, with brass taps=
|
||||
Bathtub, clawfoot, with chrome taps=
|
||||
Medicine cabinet=Armadietto sotto il lavandino
|
||||
Shower Head=Pigna della doccia
|
||||
Shower Tray=Piatto della doccia
|
||||
Toilet=Water
|
||||
Toilet paper=Water
|
||||
Towel rod with towel=
|
20
homedecor_bathroom/locale/homedecor_bathroom.ms.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.ms.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Sinki Bilik Mandi
|
||||
Bathroom sundries set=Set Barangan Bilik Mandi
|
||||
Bathroom taps/faucet=Kepala Paip Bilik Mandi
|
||||
Bathroom taps/faucet (brass)=Kepala Paip Bilik Mandi (Loyang)
|
||||
Bathroom/kitchen tiles (dark)=Jubin Dapur/Bilik Mandi (Gelap)
|
||||
Bathroom/kitchen tiles (light)=Jubin Dapur/Bilik Mandi (Cerah)
|
||||
Bathroom/kitchen tiles (medium)=Jubin Dapur/Bilik Mandi (Biasa)
|
||||
Bathtub, clawfoot, with brass taps=Tab Mandi Berkaki Cakar, dengan Kepala Paip Loyang
|
||||
Bathtub, clawfoot, with chrome taps=Tab Mandi Berkaki Cakar, dengan Kepala Paip Krom
|
||||
Medicine cabinet=Kabinet Ubat
|
||||
Shower Head=Kepala Pancuran
|
||||
Shower Tray=Lubang Air Mandi
|
||||
Toilet=Tandas
|
||||
Toilet paper=Tisu Tandas
|
||||
Towel rod with towel=Ampaian Beserta Tuala
|
20
homedecor_bathroom/locale/homedecor_bathroom.pt.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.pt.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Pia de Banheiro
|
||||
Bathroom sundries set=Espelho de Banheiro com bancada
|
||||
Bathroom taps/faucet=Torneira de Banheiro
|
||||
Bathroom taps/faucet (brass)=Torneira de Banheiro (latão)
|
||||
Bathroom/kitchen tiles (dark)=Azulejo de Banheiro/Cozinha (escuro)
|
||||
Bathroom/kitchen tiles (light)=Azulejo de Banheiro/Cozinha (claro)
|
||||
Bathroom/kitchen tiles (medium)=Azulejo de Banheiro/Cozinha (médio)
|
||||
Bathtub, clawfoot, with brass taps=
|
||||
Bathtub, clawfoot, with chrome taps=
|
||||
Medicine cabinet=Armário de remédios
|
||||
Shower Head=Chuveiro
|
||||
Shower Tray=Ralo do Chuveiro
|
||||
Toilet=Vaso Sanitário
|
||||
Toilet paper=Papel higiênico
|
||||
Towel rod with towel=Haste de Toalha com Toalha
|
20
homedecor_bathroom/locale/homedecor_bathroom.pt_BR.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.pt_BR.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Pia de Banheiro
|
||||
Bathroom sundries set=Espelho de Banheiro com bancada
|
||||
Bathroom taps/faucet=Torneira de Banheiro
|
||||
Bathroom taps/faucet (brass)=Torneira de Banheiro (latão)
|
||||
Bathroom/kitchen tiles (dark)=Azulejo de Banheiro/Cozinha (escuro)
|
||||
Bathroom/kitchen tiles (light)=Azulejo de Banheiro/Cozinha (claro)
|
||||
Bathroom/kitchen tiles (medium)=Azulejo de Banheiro/Cozinha (médio)
|
||||
Bathtub, clawfoot, with brass taps=
|
||||
Bathtub, clawfoot, with chrome taps=
|
||||
Medicine cabinet=Armário de remédios
|
||||
Shower Head=Chuveiro
|
||||
Shower Tray=Ralo do Chuveiro
|
||||
Toilet=Vaso Sanitário
|
||||
Toilet paper=Papel higiênico
|
||||
Towel rod with towel=Haste de Toalha com Toalha
|
20
homedecor_bathroom/locale/homedecor_bathroom.ru.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.ru.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=Раковина для ванной комнаты
|
||||
Bathroom sundries set=Набор для ванных комнат
|
||||
Bathroom taps/faucet=м
|
||||
Bathroom taps/faucet (brass)=Краны(смесители) для ванной комнаты (латунь)
|
||||
Bathroom/kitchen tiles (dark)=Плитка для ванной/кухни (тёмная)
|
||||
Bathroom/kitchen tiles (light)=Плитка для ванной/кухни (светлая)
|
||||
Bathroom/kitchen tiles (medium)=Плитка для ванной/кухни (обычная)
|
||||
Bathtub, clawfoot, with brass taps=Ванна на острых ножках с латунными кранами
|
||||
Bathtub, clawfoot, with chrome taps=Ванна на острых ножках с хромированными кранами
|
||||
Medicine cabinet=Медицинский кабинет
|
||||
Shower Head=Душевая лейка
|
||||
Shower Tray=Душевой поддон
|
||||
Toilet=Туалет
|
||||
Toilet paper=Туалетная бумага
|
||||
Towel rod with towel=Полотенцедержатель с полотенцем
|
20
homedecor_bathroom/locale/homedecor_bathroom.zh_CN.tr
Normal file
20
homedecor_bathroom/locale/homedecor_bathroom.zh_CN.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=浴室水槽
|
||||
Bathroom sundries set=浴室杂物套装
|
||||
Bathroom taps/faucet=浴室水龙头
|
||||
Bathroom taps/faucet (brass)=黄铜浴室水龙头
|
||||
Bathroom/kitchen tiles (dark)=深色浴室/厨房瓷砖
|
||||
Bathroom/kitchen tiles (light)=浅色浴室/厨房瓷砖
|
||||
Bathroom/kitchen tiles (medium)=浴室/厨房瓷砖
|
||||
Bathtub, clawfoot, with brass taps=带黄铜水龙头的浴缸
|
||||
Bathtub, clawfoot, with chrome taps=带镀铬水龙头的浴缸
|
||||
Medicine cabinet=药柜
|
||||
Shower Head=淋浴喷头
|
||||
Shower Tray=淋浴盆
|
||||
Toilet=卫生间
|
||||
Toilet paper=厕纸
|
||||
Towel rod with towel=毛巾杆
|
20
homedecor_bathroom/locale/template.txt
Normal file
20
homedecor_bathroom/locale/template.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: homedecor_bathroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bathroom Sink=
|
||||
Bathroom sundries set=
|
||||
Bathroom taps/faucet=
|
||||
Bathroom taps/faucet (brass)=
|
||||
Bathroom/kitchen tiles (dark)=
|
||||
Bathroom/kitchen tiles (light)=
|
||||
Bathroom/kitchen tiles (medium)=
|
||||
Bathtub, clawfoot, with brass taps=
|
||||
Bathtub, clawfoot, with chrome taps=
|
||||
Medicine cabinet=
|
||||
Shower Head=
|
||||
Shower Tray=
|
||||
Toilet=
|
||||
Toilet paper=
|
||||
Towel rod with towel=
|
4
homedecor_bathroom/mod.conf
Normal file
4
homedecor_bathroom/mod.conf
Normal file
@ -0,0 +1,4 @@
|
||||
name = homedecor_bathroom
|
||||
description = Homedecor mod: bathroom
|
||||
depends = homedecor_common, default, basic_materials, unifieddyes, building_blocks
|
||||
optional_depends = bucket, homedecor_fences, screwdriver
|
22
homedecor_bedroom/.luacheckrc
Normal file
22
homedecor_bedroom/.luacheckrc
Normal file
@ -0,0 +1,22 @@
|
||||
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",
|
||||
"homedecor",
|
||||
"screwdriver",
|
||||
"unifieddyes",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
homedecor_common
|
||||
default
|
||||
basic_materials
|
||||
unifieddyes
|
||||
creative
|
@ -1,7 +1,6 @@
|
||||
local S = minetest.get_translator("homedecor_bedroom")
|
||||
|
||||
local S = homedecor.gettext
|
||||
|
||||
local function N_(x) return x end
|
||||
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
||||
|
||||
local bed_sbox = {
|
||||
type = "wallmounted",
|
||||
@ -31,6 +30,9 @@ local kbed_cbox = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-- local bed_on_rightclick = minetest.registered_nodes["beds:bed"].on_rightclick
|
||||
|
||||
homedecor.register("bed_regular", {
|
||||
mesh = "homedecor_bed_regular.obj",
|
||||
tiles = {
|
||||
@ -49,7 +51,7 @@ homedecor.register("bed_regular", {
|
||||
selection_box = bed_sbox,
|
||||
node_box = bed_cbox,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_rotate = screwdriver.disallow,
|
||||
on_rotate = sc_disallow or nil,
|
||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
||||
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
|
||||
if not placer:get_player_control().sneak then
|
||||
@ -66,7 +68,7 @@ homedecor.register("bed_regular", {
|
||||
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
|
||||
return itemstack
|
||||
-- else
|
||||
-- homedecor.beds_on_rightclick(pos, node, clicker)
|
||||
-- bed_on_rightclick(pos, node, clicker)
|
||||
-- return itemstack
|
||||
end
|
||||
end
|
||||
@ -89,13 +91,13 @@ homedecor.register("bed_extended", {
|
||||
groups = {snappy=3, ud_param2_colorable = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
expand = { forward = "air" },
|
||||
on_rotate = screwdriver.disallow,
|
||||
on_rotate = sc_disallow or nil,
|
||||
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||
homedecor.unextend_bed(pos)
|
||||
end,
|
||||
on_dig = unifieddyes.on_dig,
|
||||
-- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
-- homedecor.beds_on_rightclick(pos, node, clicker)
|
||||
-- bed_on_rightclick(pos, node, clicker)
|
||||
-- return itemstack
|
||||
-- end,
|
||||
drop = "homedecor:bed_regular"
|
||||
@ -119,7 +121,7 @@ homedecor.register("bed_kingsize", {
|
||||
selection_box = kbed_sbox,
|
||||
node_box = kbed_cbox,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_rotate = screwdriver.disallow,
|
||||
on_rotate = sc_disallow or nil,
|
||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
||||
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
|
||||
end,
|
||||
@ -132,14 +134,14 @@ homedecor.register("bed_kingsize", {
|
||||
end,
|
||||
on_dig = unifieddyes.on_dig,
|
||||
-- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
-- homedecor.beds_on_rightclick(pos, node, clicker)
|
||||
-- bed_on_rightclick(pos, node, clicker)
|
||||
-- return itemstack
|
||||
-- end,
|
||||
})
|
||||
|
||||
for _, w in pairs({ N_("mahogany"), N_("oak") }) do
|
||||
for w, d in pairs({ ["mahogany"] = S("mahogany"), ["oak"] = S("oak") }) do
|
||||
homedecor.register("nightstand_"..w.."_one_drawer", {
|
||||
description = S("Nightstand with One Drawer (@1)", S(w)),
|
||||
description = S("Nightstand with One Drawer (@1)", d),
|
||||
tiles = { 'homedecor_nightstand_'..w..'_tb.png',
|
||||
'homedecor_nightstand_'..w..'_tb.png^[transformFY',
|
||||
'homedecor_nightstand_'..w..'_lr.png^[transformFX',
|
||||
@ -168,7 +170,7 @@ for _, w in pairs({ N_("mahogany"), N_("oak") }) do
|
||||
})
|
||||
|
||||
homedecor.register("nightstand_"..w.."_two_drawers", {
|
||||
description = S("Nightstand with Two Drawers (@1)", S(w)),
|
||||
description = S("Nightstand with Two Drawers (@1)", d),
|
||||
tiles = { 'homedecor_nightstand_'..w..'_tb.png',
|
||||
'homedecor_nightstand_'..w..'_tb.png^[transformFY',
|
||||
'homedecor_nightstand_'..w..'_lr.png^[transformFX',
|
||||
@ -214,19 +216,19 @@ local bedcolors = {
|
||||
"yellow"
|
||||
}
|
||||
|
||||
homedecor.old_bed_nodes = {}
|
||||
local old_bed_nodes = {}
|
||||
|
||||
for _, color in ipairs(bedcolors) do
|
||||
table.insert(homedecor.old_bed_nodes, "homedecor:bed_"..color.."_regular")
|
||||
table.insert(homedecor.old_bed_nodes, "homedecor:bed_"..color.."_extended")
|
||||
table.insert(homedecor.old_bed_nodes, "homedecor:bed_"..color.."_kingsize")
|
||||
table.insert(old_bed_nodes, "homedecor:bed_"..color.."_regular")
|
||||
table.insert(old_bed_nodes, "homedecor:bed_"..color.."_extended")
|
||||
table.insert(old_bed_nodes, "homedecor:bed_"..color.."_kingsize")
|
||||
end
|
||||
|
||||
minetest.register_lbm({
|
||||
name = ":homedecor:convert_beds",
|
||||
label = "Convert homedecor static bed nodes to use param2 color",
|
||||
run_at_every_load = false,
|
||||
nodenames = homedecor.old_bed_nodes,
|
||||
nodenames = old_bed_nodes,
|
||||
action = function(pos, node)
|
||||
local name = node.name
|
||||
local color = string.sub(name, string.find(name, "_") + 1)
|
||||
|
13
homedecor_bedroom/locale/homedecor_bedroom.de.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.de.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Bett
|
||||
Bed (king sized)=Breites Doppelbett
|
||||
Nightstand with One Drawer (@1)=Nachttisch mit einer Schublade (@1)
|
||||
Nightstand with Two Drawers (@1)=Nachttisch mit zwei Schubladen (@1)
|
||||
One-drawer Nightstand=Nachttisch mit einer Schublade
|
||||
Two-drawer Nightstand=Nachttisch mit zwei Schubladen
|
||||
mahogany=Mahagoni
|
||||
oak=Eiche
|
13
homedecor_bedroom/locale/homedecor_bedroom.es.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.es.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Cama
|
||||
Bed (king sized)=Cama (tamaño grande)
|
||||
Nightstand with One Drawer (@1)=Mesa de luz con un cajón (@1)
|
||||
Nightstand with Two Drawers (@1)=Mesa de luz con dos cajones (@1)
|
||||
One-drawer Nightstand=Mesa de luz con un cajón
|
||||
Two-drawer Nightstand=Mesa de luz con dos cajones
|
||||
mahogany=caoba
|
||||
oak=roble
|
13
homedecor_bedroom/locale/homedecor_bedroom.fr.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.fr.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Lit
|
||||
Bed (king sized)=Grand lit
|
||||
Nightstand with One Drawer (@1)=Meuble de chevet avec un tiroir (@1)
|
||||
Nightstand with Two Drawers (@1)=Meuble de chevet avec deux tiroirs (@1)
|
||||
One-drawer Nightstand=Meuble de chevet avec un tiroir
|
||||
Two-drawer Nightstand=Meuble de chevet avec deux tiroirs
|
||||
mahogany=acajou
|
||||
oak=chêne
|
13
homedecor_bedroom/locale/homedecor_bedroom.it.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.it.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=rosso
|
||||
Bed (king sized)=
|
||||
Nightstand with One Drawer (@1)=Comodino in quercia con un cassetto
|
||||
Nightstand with Two Drawers (@1)=Comodino in quercia con due cassetti
|
||||
One-drawer Nightstand=Comodino a singolo cassetto
|
||||
Two-drawer Nightstand=Comodino a doppio cassetto
|
||||
mahogany=
|
||||
oak=
|
13
homedecor_bedroom/locale/homedecor_bedroom.ms.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.ms.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Katil
|
||||
Bed (king sized)=Katil Raja
|
||||
Nightstand with One Drawer (@1)=Kabinet Katil dengan Satu Laci (@1)
|
||||
Nightstand with Two Drawers (@1)=Kabinet Katil dengan Dua Laci (@1)
|
||||
One-drawer Nightstand=Kabinet Katil Satu Laci
|
||||
Two-drawer Nightstand=Kabinet Katil Dua Laci
|
||||
mahogany=Mahogani
|
||||
oak=Oak
|
13
homedecor_bedroom/locale/homedecor_bedroom.pt.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.pt.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Cama
|
||||
Bed (king sized)=Cama (tamanho king)
|
||||
Nightstand with One Drawer (@1)=Mesa de Cabeceira com Gaveta (@1)
|
||||
Nightstand with Two Drawers (@1)=Mesa de Cabeceira com Duas Gavetas (@1)
|
||||
One-drawer Nightstand=Mesinha de Uma Gaveta
|
||||
Two-drawer Nightstand=Mesinha de Duas Gavetas
|
||||
mahogany=mogno
|
||||
oak=carvalho
|
13
homedecor_bedroom/locale/homedecor_bedroom.pt_BR.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.pt_BR.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Cama
|
||||
Bed (king sized)=Cama (tamanho king)
|
||||
Nightstand with One Drawer (@1)=Mesa de Cabeceira com Gaveta (@1)
|
||||
Nightstand with Two Drawers (@1)=Mesa de Cabeceira com Duas Gavetas (@1)
|
||||
One-drawer Nightstand=Mesinha de Uma Gaveta
|
||||
Two-drawer Nightstand=Mesinha de Duas Gavetas
|
||||
mahogany=mogno
|
||||
oak=carvalho
|
13
homedecor_bedroom/locale/homedecor_bedroom.ru.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.ru.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=Кровать
|
||||
Bed (king sized)=Кровать (большая)
|
||||
Nightstand with One Drawer (@1)=Тумба с одним ящиком (@1)
|
||||
Nightstand with Two Drawers (@1)=Тумба с двумя ящиками (@1)
|
||||
One-drawer Nightstand=Тумба с одним ящиком
|
||||
Two-drawer Nightstand=Тумба с двумя ящиками
|
||||
mahogany=красное дерево
|
||||
oak=дуб
|
13
homedecor_bedroom/locale/homedecor_bedroom.zh_CN.tr
Normal file
13
homedecor_bedroom/locale/homedecor_bedroom.zh_CN.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=床
|
||||
Bed (king sized)=双人床
|
||||
Nightstand with One Drawer (@1)=带一个抽屉的床头柜(@1)
|
||||
Nightstand with Two Drawers (@1)=带两个抽屉的床头柜(@1)
|
||||
One-drawer Nightstand=单抽屉床头柜
|
||||
Two-drawer Nightstand=两抽屉床头柜
|
||||
mahogany=桃花心木
|
||||
oak=橡木
|
13
homedecor_bedroom/locale/template.txt
Normal file
13
homedecor_bedroom/locale/template.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_bedroom
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Bed=
|
||||
Bed (king sized)=
|
||||
Nightstand with One Drawer (@1)=
|
||||
Nightstand with Two Drawers (@1)=
|
||||
One-drawer Nightstand=
|
||||
Two-drawer Nightstand=
|
||||
mahogany=
|
||||
oak=
|
4
homedecor_bedroom/mod.conf
Normal file
4
homedecor_bedroom/mod.conf
Normal file
@ -0,0 +1,4 @@
|
||||
name = homedecor_bedroom
|
||||
description = Homedecor mod: bedroom
|
||||
depends = homedecor_common, default, basic_materials, unifieddyes, creative, beds
|
||||
optional_depends = screwdriver
|
21
homedecor_books/.luacheckrc
Normal file
21
homedecor_books/.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
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",
|
||||
"creative",
|
||||
"default",
|
||||
"homedecor",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
homedecor_common
|
||||
default
|
||||
unifieddyes
|
||||
creative
|
||||
|
@ -1,16 +1,24 @@
|
||||
local S = homedecor.gettext
|
||||
|
||||
local function N_(x) return x end
|
||||
local S = minetest.get_translator("homedecor_books")
|
||||
|
||||
local bookcolors = {
|
||||
{ N_("red"), 0xffd26466 },
|
||||
{ N_("green"), 0xff62aa66 },
|
||||
{ N_("blue"), 0xff8686d7 },
|
||||
{ N_("violet"), 0xff9c65a7 },
|
||||
{ N_("grey"), 0xff757579 },
|
||||
{ N_("brown"), 0xff896958 }
|
||||
{ "red", 0xffd26466 },
|
||||
{ "green", 0xff62aa66 },
|
||||
{ "blue", 0xff8686d7 },
|
||||
{ "violet", 0xff9c65a7 },
|
||||
{ "grey", 0xff757579 },
|
||||
{ "brown", 0xff896958 }
|
||||
}
|
||||
|
||||
local color_locale = {
|
||||
red = S("red") ,
|
||||
green = S("green"),
|
||||
blue = S("blue"),
|
||||
violet = S("violet"),
|
||||
grey = S("grey"),
|
||||
brown = S("brown"),
|
||||
}
|
||||
|
||||
|
||||
local BOOK_FORMNAME = "homedecor:book_form"
|
||||
|
||||
local player_current_book = { }
|
||||
@ -39,7 +47,7 @@ for _, c in ipairs(bookcolors) do
|
||||
end
|
||||
|
||||
homedecor.register("book_"..color, {
|
||||
description = S("Writable Book (@1)", S(color)),
|
||||
description = S("Writable Book (@1)", color_locale[color]),
|
||||
mesh = "homedecor_book.obj",
|
||||
tiles = {
|
||||
{ name = "homedecor_book_cover.png", color = hue },
|
||||
@ -153,6 +161,16 @@ for _, c in ipairs(bookcolors) do
|
||||
}
|
||||
})
|
||||
|
||||
-- crafting
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:book_"..color,
|
||||
recipe = {
|
||||
"dye:"..color,
|
||||
"default:book"
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
minetest.register_on_player_receive_fields(function(player, form_name, fields)
|
||||
@ -183,29 +201,8 @@ minetest.register_on_player_receive_fields(function(player, form_name, fields)
|
||||
return true
|
||||
end)
|
||||
|
||||
-- crafting
|
||||
|
||||
|
||||
local bookcolors = {
|
||||
"red",
|
||||
"green",
|
||||
"blue",
|
||||
"violet",
|
||||
"grey",
|
||||
"brown"
|
||||
}
|
||||
|
||||
for _, color in ipairs(bookcolors) do
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:book_"..color,
|
||||
recipe = {
|
||||
"dye:"..color,
|
||||
"default:book"
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
-- aliases
|
||||
|
||||
minetest.register_alias("homedecor:book", "homedecor:book_grey")
|
||||
|
13
homedecor_books/locale/homedecor_books.de.tr
Normal file
13
homedecor_books/locale/homedecor_books.de.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 hat in ein Buch geschrieben (Titel: „@2”): „@3” am Ort @4
|
||||
Writable Book (@1)=Schreibbares Buch (@1)
|
||||
blue=blau
|
||||
brown=braun
|
||||
green=grün
|
||||
grey=grau
|
||||
red=rot
|
||||
violet=violett
|
13
homedecor_books/locale/homedecor_books.es.tr
Normal file
13
homedecor_books/locale/homedecor_books.es.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 ha escrito en un libro (título: "@2"): "@3" en la ubicación @4
|
||||
Writable Book (@1)=Libro (@1)
|
||||
blue=azul
|
||||
brown=marrón
|
||||
green=verde
|
||||
grey=gris
|
||||
red=roja
|
||||
violet=violeta
|
13
homedecor_books/locale/homedecor_books.fr.tr
Normal file
13
homedecor_books/locale/homedecor_books.fr.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 a écrit dans un livre (titre: "@2"): "@3" à l'emplacement @4
|
||||
Writable Book (@1)=Livre inscriptible (@1)
|
||||
blue=bleu
|
||||
brown=marron
|
||||
green=vert
|
||||
grey=vert
|
||||
red=rouge
|
||||
violet=violet
|
13
homedecor_books/locale/homedecor_books.it.tr
Normal file
13
homedecor_books/locale/homedecor_books.it.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=
|
||||
Writable Book (@1)=Gambe in ottone del tavolo (@1)
|
||||
blue=blu
|
||||
brown=
|
||||
green=verde
|
||||
grey=verde scuro
|
||||
red=rosso
|
||||
violet=viola
|
13
homedecor_books/locale/homedecor_books.ms.tr
Normal file
13
homedecor_books/locale/homedecor_books.ms.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 telah menulis dalam buku (tajuk: "@2"): "@3" di lokasi @4
|
||||
Writable Book (@1)=Buku Boleh Ditulis (@1)
|
||||
blue=Biru
|
||||
brown=Perang
|
||||
green=Hijau
|
||||
grey=Kelabu
|
||||
red=Merah
|
||||
violet=Ungu
|
13
homedecor_books/locale/homedecor_books.pt.tr
Normal file
13
homedecor_books/locale/homedecor_books.pt.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 escreveu um livro (título: "@2"): "@3" na localização @4
|
||||
Writable Book (@1)=Livro que pode ser escrito (@1)
|
||||
blue=azul
|
||||
brown=marrom
|
||||
green=verde
|
||||
grey=cinza
|
||||
red=vermelho
|
||||
violet=violeta
|
13
homedecor_books/locale/homedecor_books.pt_BR.tr
Normal file
13
homedecor_books/locale/homedecor_books.pt_BR.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 escreveu um livro (título: "@2"): "@3" na localização @4
|
||||
Writable Book (@1)=Livro que pode ser escrito (@1)
|
||||
blue=azul
|
||||
brown=marrom
|
||||
green=verde
|
||||
grey=cinza
|
||||
red=vermelho
|
||||
violet=violeta
|
13
homedecor_books/locale/homedecor_books.ru.tr
Normal file
13
homedecor_books/locale/homedecor_books.ru.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@1 написал в книге (заголовок: "@2"): "@3" в позиции @4
|
||||
Writable Book (@1)=Записная книга (@1)
|
||||
blue=
|
||||
brown=
|
||||
green=зелёный
|
||||
grey=
|
||||
red=красный
|
||||
violet=
|
13
homedecor_books/locale/homedecor_books.zh_CN.tr
Normal file
13
homedecor_books/locale/homedecor_books.zh_CN.tr
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=@我在一本书中写过(书名:\@2\):\@3\,地点@4
|
||||
Writable Book (@1)=可写书(@1)
|
||||
blue=蓝色
|
||||
brown=棕色的
|
||||
green=绿色
|
||||
grey=灰色
|
||||
red=红色
|
||||
violet=紫罗兰
|
13
homedecor_books/locale/template.txt
Normal file
13
homedecor_books/locale/template.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# textdomain: homedecor_books
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
@1 has written in a book (title: "@2"): "@3" at location @4=
|
||||
Writable Book (@1)=
|
||||
blue=
|
||||
brown=
|
||||
green=
|
||||
grey=
|
||||
red=
|
||||
violet=
|
3
homedecor_books/mod.conf
Normal file
3
homedecor_books/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = homedecor_books
|
||||
description = Homedecor mod: books
|
||||
depends = homedecor_common, default, unifieddyes, creative
|
21
homedecor_climate_control/.luacheckrc
Normal file
21
homedecor_climate_control/.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
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",
|
||||
"homedecor",
|
||||
"screwdriver",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,4 +0,0 @@
|
||||
homedecor_common
|
||||
default
|
||||
basic_materials
|
||||
building_blocks?
|
@ -1,6 +1,6 @@
|
||||
-- Nodes that would affect the local temperature e.g. fans, heater, A/C
|
||||
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("homedecor_climate_control")
|
||||
|
||||
homedecor.register("air_conditioner", {
|
||||
description = S("Air Conditioner"),
|
||||
@ -52,7 +52,7 @@ homedecor.register("desk_fan", {
|
||||
inventory_image = "homedecor_desk_fan_inv.png",
|
||||
wield_image = "homedecor_desk_fan_inv.png",
|
||||
selection_box = { type = "regular" },
|
||||
on_rotate = screwdriver.disallow,
|
||||
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil,
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("active", "no")
|
||||
|
@ -0,0 +1,11 @@
|
||||
# textdomain: homedecor_climate_control
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Air Conditioner=Klimaanlage
|
||||
Ceiling Fan=Deckenventilator
|
||||
Desk Fan=Schreibtischventilator
|
||||
Fan blades=Ventilatorblätter
|
||||
Radiator heater=Heizkörper
|
||||
Space heater=Heizgerät
|
@ -0,0 +1,11 @@
|
||||
# textdomain: homedecor_climate_control
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Air Conditioner=Acondicionador de aire
|
||||
Ceiling Fan=Ventilador de techo
|
||||
Desk Fan=Ventilador de escritorio
|
||||
Fan blades=Aspas de ventilador
|
||||
Radiator heater=Radiador
|
||||
Space heater=Calentador de espacios
|
@ -0,0 +1,11 @@
|
||||
# textdomain: homedecor_climate_control
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Air Conditioner=Climatiseur
|
||||
Ceiling Fan=Ventilateur (plafonnier)
|
||||
Desk Fan=Ventilateur de bureau
|
||||
Fan blades=Pales de ventilateur
|
||||
Radiator heater=Radiateur
|
||||
Space heater=Chaufferette
|
@ -0,0 +1,11 @@
|
||||
# textdomain: homedecor_climate_control
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Air Conditioner=Pendingin Hawa
|
||||
Ceiling Fan=Kipas Siling
|
||||
Desk Fan=Kipas Meja
|
||||
Fan blades=Bilah Kipas
|
||||
Radiator heater=Pemanas Radiator
|
||||
Space heater=Pemanas Ruang
|
@ -0,0 +1,11 @@
|
||||
# textdomain: homedecor_climate_control
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Air Conditioner=Ar condicionado
|
||||
Ceiling Fan=Ventilador de Teto
|
||||
Desk Fan=Ventilador de Escrivaninha
|
||||
Fan blades=Pás de ventilador
|
||||
Radiator heater=Aquecedor de radiador
|
||||
Space heater=Aquecedor de ambiente
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user