forked from nalc/homedecor_modpack
Compare commits
41 Commits
Author | SHA1 | Date | |
---|---|---|---|
0a93b0f8df | |||
|
335559feb3 | ||
|
a100d20d4d | ||
|
b2e5c81e4d | ||
|
8f796e43af | ||
|
1ef4837abe | ||
|
d0ab9b82ce | ||
|
fa3f7f816b | ||
|
d400e421ce | ||
|
792c23a7fe | ||
|
0d5cab9455 | ||
|
080551e647 | ||
|
280924c02b | ||
8e189f01fa | |||
|
52f7c54702 | ||
|
951f77491c | ||
|
46c71131c5 | ||
|
80b4f242e0 | ||
|
ecd67f0eab | ||
|
60d63cda6f | ||
8f8552b77d | |||
|
89703525e6 | ||
15300a4413 | |||
|
2c08c1f97b | ||
|
6bbaa7491d | ||
|
b4297d68a0 | ||
|
77f2b0e05b | ||
|
9c7eb2e502 | ||
|
55bbd478d9 | ||
|
0384943a0a | ||
|
33710f710b | ||
|
8893d66dc6 | ||
|
a598fa3067 | ||
0f8f31d5c8 | |||
78114b83cf | |||
|
6fa1bbeb1c | ||
|
0403f47f86 | ||
|
0f57b2268a | ||
|
806c8c5e78 | ||
|
37bc0ed58d | ||
|
0a605bdb96 |
|
@ -15,7 +15,8 @@ globals = {
|
||||||
"homedecor_doors_and_gates",
|
"homedecor_doors_and_gates",
|
||||||
|
|
||||||
-- mod-deps
|
-- mod-deps
|
||||||
"armor"
|
"armor",
|
||||||
|
xcompat = {fields = {"player"}},
|
||||||
}
|
}
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
|
@ -39,4 +40,5 @@ read_globals = {
|
||||||
"creative",
|
"creative",
|
||||||
"doors",
|
"doors",
|
||||||
"i3",
|
"i3",
|
||||||
|
"xcompat",
|
||||||
}
|
}
|
|
@ -25,7 +25,4 @@ required:
|
||||||
|
|
||||||
* [Unifieddyes](https://github.com/mt-mods/unifieddyes)
|
* [Unifieddyes](https://github.com/mt-mods/unifieddyes)
|
||||||
* [Basic Materials](https://github.com/mt-mods/basic_materials)
|
* [Basic Materials](https://github.com/mt-mods/basic_materials)
|
||||||
|
* [xcompat](https://github.com/mt-mods/xcompat)
|
||||||
optional:
|
|
||||||
|
|
||||||
* [Sound Api](https://github.com/mt-mods/sound_api) - note: needed for sound support
|
|
||||||
|
|
|
@ -33,7 +33,8 @@ if not minetest.get_modpath("technic") then
|
||||||
description = S("Granite"),
|
description = S("Granite"),
|
||||||
tiles = { "technic_granite.png" },
|
tiles = { "technic_granite.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=1, dig_stone=2},
|
groups = {cracky=1, dig_stone=2, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Granit
|
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=Falsches-Gras-Stufe
|
|
||||||
Fake Grass Stair=Falsches-Gras-Treppe
|
|
||||||
Fireplace=Kamin
|
|
||||||
Grate=Rost
|
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=Dachblockstufe
|
|
||||||
Roof block Stair=Dachblocktreppe
|
|
||||||
Streak Free Glass=Schlierenfreies Glas
|
Streak Free Glass=Schlierenfreies Glas
|
||||||
Streak Free Glass Slab=Schlierenfreies-Glas-Stufe
|
Wood Framed Glass=Holzrahmenglas
|
||||||
Streak Free Glass Stair=Schlierenfreies-Glas-Treppe
|
Adobe=Adobe
|
||||||
|
Fake Grass=Falsches Gras
|
||||||
|
Hardwood=Hartholz
|
||||||
|
Roof block=Dachblock
|
||||||
Tar=Teer
|
Tar=Teer
|
||||||
Tar Slab=Teerstufe
|
Marble=Marmor
|
||||||
Tar Stair=Teertreppe
|
Brobble Spread=Ziesterboden
|
||||||
|
Gravel Spread=Kiesboden
|
||||||
Tarmac Spread=Asphaltboden
|
Tarmac Spread=Asphaltboden
|
||||||
Terrycloth towel=Frottiertuch
|
Terrycloth towel=Frottiertuch
|
||||||
Wood Framed Glass=Holzrahmenglas
|
Chess board tiling=Schachbrettkacheln
|
||||||
Wood Framed Glass Slab=Holzrahmenglasstufe
|
Fireplace=Kamin
|
||||||
Wood Framed Glass Stair=Holzrahmenglastreppe
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Kleines Bündel Stöcke
|
Small bundle of sticks=Kleines Bündel Stöcke
|
||||||
Tar Knife=Teermesser
|
|
||||||
Tar base=Teerbase
|
Tar base=Teerbase
|
||||||
|
Tar Knife=Teermesser
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Granito
|
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=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=Vídrio sin rayas
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=Vídrio enmarcado en madera
|
||||||
Streak Free Glass Stair=
|
Adobe=Adobe
|
||||||
|
Fake Grass=Hierba falsa
|
||||||
|
Hardwood=Madera dura
|
||||||
|
Roof block=Bloque de techo
|
||||||
Tar=Alquitrán
|
Tar=Alquitrán
|
||||||
Tar Slab=Losa de alquitrán
|
Marble=Mármol
|
||||||
Tar Stair=Escaleras de alquitrán
|
Brobble Spread=Mezcla de Ladroquines
|
||||||
|
Gravel Spread=Mezcla de gravilla
|
||||||
Tarmac Spread=Mezcla de asfalto
|
Tarmac Spread=Mezcla de asfalto
|
||||||
Terrycloth towel=Toalla
|
Terrycloth towel=Toalla
|
||||||
Wood Framed Glass=Vídrio enmarcado en madera
|
Chess board tiling=Azulejos de ajedrez
|
||||||
Wood Framed Glass Slab=
|
Fireplace=Chimenea
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Manojo de palitos
|
Small bundle of sticks=Manojo de palitos
|
||||||
Tar Knife=Cuchillo de alquitrán
|
|
||||||
Tar base=Base de alquitrán
|
Tar base=Base de alquitrán
|
||||||
|
Tar Knife=Cuchillo de alquitrán
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Granit
|
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=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=Verre anti-rayures
|
||||||
Streak Free Glass Slab=Dalle en verre anti-rayures
|
Wood Framed Glass=Verre encadré de bois
|
||||||
Streak Free Glass Stair=Escalier en verre anti-rayures
|
Adobe=Pisé
|
||||||
|
Fake Grass=Herbe synthétique
|
||||||
|
Hardwood=Bois dur (feuillu)
|
||||||
|
Roof block=Bloc de toit
|
||||||
Tar=Goudron
|
Tar=Goudron
|
||||||
Tar Slab=Dalle en goudron
|
Marble=Marbre
|
||||||
Tar Stair=Marche en goudron
|
Brobble Spread=Tapis rouge
|
||||||
|
Gravel Spread=Tapis de gravier
|
||||||
Tarmac Spread=Tapis de goudron
|
Tarmac Spread=Tapis de goudron
|
||||||
Terrycloth towel=Serviette éponge
|
Terrycloth towel=Serviette éponge
|
||||||
Wood Framed Glass=Verre encadré de bois
|
Chess board tiling=Pavage en échiquier
|
||||||
Wood Framed Glass Slab=Dalle en verre encadré de bois
|
Fireplace=Cheminée
|
||||||
Wood Framed Glass Stair=Escalier en verre encadré de bois
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Petit fagot de brindilles
|
Small bundle of sticks=Petit fagot de brindilles
|
||||||
Tar Knife=Couteau à goudron
|
|
||||||
Tar base=Pâte de goudron
|
Tar base=Pâte de goudron
|
||||||
|
Tar Knife=Couteau à goudron
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Granit
|
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=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=Kaca Bebas Calar
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=Kaca Berbingkai Kayu
|
||||||
Streak Free Glass Stair=
|
Adobe=Adob
|
||||||
|
Fake Grass=Rumput Tiruan
|
||||||
|
Hardwood=Kayu Keras
|
||||||
|
Roof block=Blok Bumbung
|
||||||
Tar=Tar
|
Tar=Tar
|
||||||
Tar Slab=Bidur Tar
|
Marble=Marmar
|
||||||
Tar Stair=Tangga Tar
|
Brobble Spread=Sebaran Batu Merah
|
||||||
|
Gravel Spread=Sebaran Kelikir
|
||||||
Tarmac Spread=Sebaran Tar
|
Tarmac Spread=Sebaran Tar
|
||||||
Terrycloth towel=Kain Tuala
|
Terrycloth towel=Kain Tuala
|
||||||
Wood Framed Glass=Kaca Berbingkai Kayu
|
Chess board tiling=Jubin Papan Catur
|
||||||
Wood Framed Glass Slab=
|
Fireplace=Pendiangan
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Seberkas Kecil Serpihan Kayu
|
Small bundle of sticks=Seberkas Kecil Serpihan Kayu
|
||||||
Tar Knife=Pisau Tar
|
|
||||||
Tar base=Campuran Tar
|
Tar base=Campuran Tar
|
||||||
|
Tar Knife=Pisau Tar
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Granito
|
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=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=Vidro Sem Riscos
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=Vidro com Bordas de Madeira
|
||||||
Streak Free Glass Stair=
|
Adobe=Argila
|
||||||
|
Fake Grass=Grama Falsa
|
||||||
|
Hardwood=Madeira
|
||||||
|
Roof block=Bloco de telhado
|
||||||
Tar=Alcatrão
|
Tar=Alcatrão
|
||||||
Tar Slab=Placa de alcatrão
|
Marble=Mármore
|
||||||
Tar Stair=Escada de alcatrão
|
Brobble Spread=Calçado
|
||||||
|
Gravel Spread=Espalhamento de Cascalho
|
||||||
Tarmac Spread=Espalhamento das Estradas
|
Tarmac Spread=Espalhamento das Estradas
|
||||||
Terrycloth towel=Toalha de Roupinha
|
Terrycloth towel=Toalha de Roupinha
|
||||||
Wood Framed Glass=Vidro com Bordas de Madeira
|
Chess board tiling=Revestimento de xadrez
|
||||||
Wood Framed Glass Slab=
|
Fireplace=Lareira
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Pequeno amontoado de gravetos
|
Small bundle of sticks=Pequeno amontoado de gravetos
|
||||||
Tar Knife=Faca de Alcatrão
|
|
||||||
Tar base=Base para alcatrão
|
Tar base=Base para alcatrão
|
||||||
|
Tar Knife=Faca de Alcatrão
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Granito
|
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=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=Vidro Sem Riscos
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=Vidro com Bordas de Madeira
|
||||||
Streak Free Glass Stair=
|
Adobe=Argila
|
||||||
|
Fake Grass=Grama Falsa
|
||||||
|
Hardwood=Madeira
|
||||||
|
Roof block=Bloco de telhado
|
||||||
Tar=Alcatrão
|
Tar=Alcatrão
|
||||||
Tar Slab=Placa de alcatrão
|
Marble=Mármore
|
||||||
Tar Stair=Escada de alcatrão
|
Brobble Spread=Calçado
|
||||||
|
Gravel Spread=Espalhamento de Cascalho
|
||||||
Tarmac Spread=Espalhamento das Estradas
|
Tarmac Spread=Espalhamento das Estradas
|
||||||
Terrycloth towel=Toalha de Roupinha
|
Terrycloth towel=Toalha de Roupinha
|
||||||
Wood Framed Glass=Vidro com Bordas de Madeira
|
Chess board tiling=Revestimento de xadrez
|
||||||
Wood Framed Glass Slab=
|
Fireplace=Lareira
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Pequeno amontoado de gravetos
|
Small bundle of sticks=Pequeno amontoado de gravetos
|
||||||
Tar Knife=Faca de Alcatrão
|
|
||||||
Tar base=Base para alcatrão
|
Tar base=Base para alcatrão
|
||||||
|
Tar Knife=Faca de Alcatrão
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=Гранит
|
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=Каминная решётка
|
||||||
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=Стекло без стыков
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=Деревянное окно
|
||||||
Streak Free Glass Stair=
|
Adobe=Саман
|
||||||
|
Fake Grass=Псевдо трава
|
||||||
|
Hardwood=Твёрдая древесина
|
||||||
|
Roof block=Кровельный блок
|
||||||
Tar=Смола
|
Tar=Смола
|
||||||
Tar Slab=Плита из смолы
|
Marble=Мрамор
|
||||||
Tar Stair=Ступенька из смолы
|
Brobble Spread=Настил кирпичного булыжника
|
||||||
|
Gravel Spread=Настил гравия
|
||||||
Tarmac Spread=Покрытие гудронной смолой
|
Tarmac Spread=Покрытие гудронной смолой
|
||||||
Terrycloth towel=Махровое полотенце
|
Terrycloth towel=Махровое полотенце
|
||||||
Wood Framed Glass=Деревянное окно
|
Chess board tiling=Шахматная плитка
|
||||||
Wood Framed Glass Slab=
|
Fireplace=Камин
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=Небольшая связка палок
|
Small bundle of sticks=Небольшая связка палок
|
||||||
Tar Knife=Смоляной нож
|
|
||||||
Tar base=Смоляная основа
|
Tar base=Смоляная основа
|
||||||
|
Tar Knife=Смоляной нож
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=花岗岩
|
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=磨碎
|
||||||
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=无条纹玻璃
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=木框玻璃
|
||||||
Streak Free Glass Stair=
|
Adobe=土砖
|
||||||
|
Fake Grass=塑料草
|
||||||
|
Hardwood=硬木
|
||||||
|
Roof block=天台
|
||||||
Tar=焦油
|
Tar=焦油
|
||||||
Tar Slab=
|
Marble=大理石
|
||||||
Tar Stair=
|
Brobble Spread=石砖路面
|
||||||
|
Gravel Spread=碎石路面
|
||||||
Tarmac Spread=柏油路面
|
Tarmac Spread=柏油路面
|
||||||
Terrycloth towel=毛巾
|
Terrycloth towel=毛巾
|
||||||
Wood Framed Glass=木框玻璃
|
Chess board tiling=棋盘铺贴
|
||||||
Wood Framed Glass Slab=
|
Fireplace=壁炉
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=小捆棍子
|
Small bundle of sticks=小捆棍子
|
||||||
Tar Knife=焦油刀
|
|
||||||
Tar base=焦油基
|
Tar base=焦油基
|
||||||
|
Tar Knife=焦油刀
|
||||||
|
|
|
@ -1,48 +1,20 @@
|
||||||
# textdomain: building_blocks
|
# textdomain: building_blocks
|
||||||
|
|
||||||
|
|
||||||
### alias.lua ###
|
|
||||||
|
|
||||||
Granite=
|
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=
|
||||||
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=
|
||||||
Streak Free Glass Slab=
|
Wood Framed Glass=
|
||||||
Streak Free Glass Stair=
|
Adobe=
|
||||||
|
Fake Grass=
|
||||||
|
Hardwood=
|
||||||
|
Roof block=
|
||||||
Tar=
|
Tar=
|
||||||
Tar Slab=
|
Marble=
|
||||||
Tar Stair=
|
Brobble Spread=
|
||||||
|
Gravel Spread=
|
||||||
Tarmac Spread=
|
Tarmac Spread=
|
||||||
Terrycloth towel=
|
Terrycloth towel=
|
||||||
Wood Framed Glass=
|
Chess board tiling=
|
||||||
Wood Framed Glass Slab=
|
Fireplace=
|
||||||
Wood Framed Glass Stair=
|
|
||||||
|
|
||||||
### others.lua ###
|
|
||||||
|
|
||||||
Small bundle of sticks=
|
Small bundle of sticks=
|
||||||
Tar Knife=
|
|
||||||
Tar base=
|
Tar base=
|
||||||
|
Tar Knife=
|
||||||
|
|
|
@ -1,6 +1,20 @@
|
||||||
local S = minetest.get_translator("building_blocks")
|
local S = minetest.get_translator("building_blocks")
|
||||||
|
|
||||||
local function building_blocks_stairs(nodename, def)
|
local function building_blocks_stairs(nodename, def)
|
||||||
|
|
||||||
|
if def.groups and (def.groups.crumbly or def.groups.oddly_breakable_by_hand) then
|
||||||
|
def.groups["handy"]=1
|
||||||
|
def._mcl_hardness=0.6
|
||||||
|
elseif def.groups and (def.groups.snappy or def.groups.choppy) then
|
||||||
|
def.groups["axey"]=5
|
||||||
|
def._mcl_hardness=1.6
|
||||||
|
elseif def.groups and (def.groups.cracky or def.groups.crumbly) then
|
||||||
|
def.groups["pickaxey"]=5
|
||||||
|
def._mcl_hardness=1.6
|
||||||
|
end
|
||||||
|
|
||||||
|
def.is_ground_content = def.is_ground_content == true
|
||||||
|
|
||||||
minetest.register_node(nodename, def)
|
minetest.register_node(nodename, def)
|
||||||
if minetest.get_modpath("moreblocks") then
|
if minetest.get_modpath("moreblocks") then
|
||||||
local mod, name = nodename:match("(.*):(.*)")
|
local mod, name = nodename:match("(.*):(.*)")
|
||||||
|
@ -19,7 +33,7 @@ building_blocks_stairs("building_blocks:grate", {
|
||||||
tiles = {"building_blocks_grate.png"},
|
tiles = {"building_blocks_grate.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
groups = {cracky=1, dig_generic=3},
|
groups = {cracky=1, dig_generic=3},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
|
@ -32,7 +46,7 @@ building_blocks_stairs("building_blocks:smoothglass", {
|
||||||
tiles = {"building_blocks_sglass.png"},
|
tiles = {"building_blocks_sglass.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
|
@ -45,7 +59,7 @@ building_blocks_stairs("building_blocks:woodglass", {
|
||||||
tiles = {"building_blocks_wglass.png"},
|
tiles = {"building_blocks_wglass.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
|
@ -56,20 +70,21 @@ building_blocks_stairs("building_blocks:woodglass", {
|
||||||
building_blocks_stairs("building_blocks:Adobe", {
|
building_blocks_stairs("building_blocks:Adobe", {
|
||||||
tiles = {"building_blocks_Adobe.png"},
|
tiles = {"building_blocks_Adobe.png"},
|
||||||
description = S("Adobe"),
|
description = S("Adobe"),
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=3, dig_stone=2},
|
groups = {crumbly=3, dig_stone=2},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
local grasstex = {"[combine:16x16^[noalpha^[colorize:#006400"}
|
local grasstex = {
|
||||||
if minetest.get_modpath("default") then
|
homedecor.textures.grass.top,
|
||||||
grasstex = minetest.registered_nodes["default:dirt_with_grass"].tiles
|
homedecor.textures.grass.dirt,
|
||||||
end
|
homedecor.textures.grass.side
|
||||||
|
}
|
||||||
building_blocks_stairs("building_blocks:fakegrass", {
|
building_blocks_stairs("building_blocks:fakegrass", {
|
||||||
tiles = grasstex,
|
tiles = grasstex,
|
||||||
description = S("Fake Grass"),
|
description = S("Fake Grass"),
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=3, dig_sand=3},
|
groups = {crumbly=3, dig_sand=3},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_dirt_defaults",
|
key = "node_sound_dirt_defaults",
|
||||||
|
@ -77,7 +92,7 @@ building_blocks_stairs("building_blocks:fakegrass", {
|
||||||
})
|
})
|
||||||
building_blocks_stairs("building_blocks:hardwood", {
|
building_blocks_stairs("building_blocks:hardwood", {
|
||||||
tiles = {"building_blocks_hardwood.png"},
|
tiles = {"building_blocks_hardwood.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
description = S("Hardwood"),
|
description = S("Hardwood"),
|
||||||
groups = {choppy=1,flammable=1, dig_tree=1},
|
groups = {choppy=1,flammable=1, dig_tree=1},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
|
@ -86,7 +101,7 @@ building_blocks_stairs("building_blocks:hardwood", {
|
||||||
})
|
})
|
||||||
building_blocks_stairs("building_blocks:Roofing", {
|
building_blocks_stairs("building_blocks:Roofing", {
|
||||||
tiles = {"building_blocks_Roofing.png"},
|
tiles = {"building_blocks_Roofing.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
description = S("Roof block"),
|
description = S("Roof block"),
|
||||||
groups = {snappy=3, dig_generic=4},
|
groups = {snappy=3, dig_generic=4},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
|
@ -96,7 +111,7 @@ building_blocks_stairs("building_blocks:Roofing", {
|
||||||
building_blocks_stairs("building_blocks:Tar", {
|
building_blocks_stairs("building_blocks:Tar", {
|
||||||
description = S("Tar"),
|
description = S("Tar"),
|
||||||
tiles = {"building_blocks_tar.png"},
|
tiles = {"building_blocks_tar.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=1, tar_block = 1, dig_generic=4},
|
groups = {crumbly=1, tar_block = 1, dig_generic=4},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
|
@ -105,7 +120,7 @@ building_blocks_stairs("building_blocks:Tar", {
|
||||||
building_blocks_stairs("building_blocks:Marble", {
|
building_blocks_stairs("building_blocks:Marble", {
|
||||||
description = S("Marble"),
|
description = S("Marble"),
|
||||||
tiles = {"building_blocks_marble.png"},
|
tiles = {"building_blocks_marble.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {cracky=3, marble = 1, dig_stone=2},
|
groups = {cracky=3, marble = 1, dig_stone=2},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
|
@ -127,15 +142,13 @@ minetest.register_node("building_blocks:brobble_spread", {
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=3, dig_generic=4},
|
groups = {crumbly=3, dig_generic=4, handy=1},
|
||||||
|
_mcl_hardness=0.6
|
||||||
})
|
})
|
||||||
|
|
||||||
if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopblocks") then
|
if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopblocks") then
|
||||||
local graveltex = "[combine:16x16^[noalpha^[colorize:#3a3b3c"
|
local graveltex = homedecor.textures.gravel
|
||||||
if minetest.get_modpath("default") then
|
|
||||||
graveltex = "default_gravel.png"
|
|
||||||
end
|
|
||||||
minetest.register_node("building_blocks:gravel_spread", {
|
minetest.register_node("building_blocks:gravel_spread", {
|
||||||
drawtype = "raillike",
|
drawtype = "raillike",
|
||||||
description = S("Gravel Spread"),
|
description = S("Gravel Spread"),
|
||||||
|
@ -149,8 +162,9 @@ if not minetest.get_modpath("moreblocks") or not minetest.get_modpath("gloopbloc
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=2, dig_generic=4},
|
groups = {crumbly=2, dig_generic=4, handy=1},
|
||||||
|
_mcl_hardness=0.6,
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_dirt_defaults",
|
key = "node_sound_dirt_defaults",
|
||||||
},
|
},
|
||||||
|
@ -170,8 +184,9 @@ minetest.register_node("building_blocks:Tarmac_spread", {
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {cracky=3, dig_generic=4},
|
groups = {cracky=3, dig_generic=4, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_dirt_defaults",
|
key = "node_sound_dirt_defaults",
|
||||||
},
|
},
|
||||||
|
@ -189,8 +204,9 @@ minetest.register_node("building_blocks:terrycloth_towel", {
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=3, dig_generic=4},
|
groups = {crumbly=3, dig_generic=4, handy=1},
|
||||||
|
_mcl_hardness=0.6
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("building_blocks:BWtile", {
|
minetest.register_node("building_blocks:BWtile", {
|
||||||
|
@ -212,8 +228,9 @@ minetest.register_node("building_blocks:BWtile", {
|
||||||
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
|
||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {crumbly=3, dig_generic=4},
|
groups = {crumbly=3, dig_generic=4, handy=1},
|
||||||
|
_mcl_hardness=0.6
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("building_blocks:Fireplace", {
|
minetest.register_node("building_blocks:Fireplace", {
|
||||||
|
@ -228,8 +245,9 @@ minetest.register_node("building_blocks:Fireplace", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
light_source = minetest.LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = true,
|
is_ground_content = false,
|
||||||
groups = {cracky=2, dig_generic=4},
|
groups = {cracky=2, dig_generic=4, pickaxey=5},
|
||||||
|
_mcl_hardness=1.6,
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
local S = minetest.get_translator("fake_fire")
|
local S = minetest.get_translator("fake_fire")
|
||||||
|
|
||||||
|
local fake_fire_reload_particles_nodes = {}
|
||||||
|
|
||||||
local function fire_particles_on(pos) -- 3 layers of fire
|
local function fire_particles_on(pos) -- 3 layers of fire
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local id1 = minetest.add_particlespawner({ -- 1 layer big particles fire
|
local id1 = minetest.add_particlespawner({ -- 1 layer big particles fire
|
||||||
|
@ -102,8 +104,8 @@ local function start_fire_effects(pos, node, clicker, chimney)
|
||||||
minsize = 4, maxsize = 8,
|
minsize = 4, maxsize = 8,
|
||||||
texture = "smoke_particle.png",
|
texture = "smoke_particle.png",
|
||||||
})
|
})
|
||||||
|
this_spawner_meta:set_int("smoky", id)
|
||||||
if chimney == 1 then
|
if chimney == 1 then
|
||||||
this_spawner_meta:set_int("smoky", id)
|
|
||||||
this_spawner_meta:set_int("sound", 0)
|
this_spawner_meta:set_int("sound", 0)
|
||||||
else
|
else
|
||||||
s_handle = minetest.sound_play("fire_small", {
|
s_handle = minetest.sound_play("fire_small", {
|
||||||
|
@ -111,6 +113,7 @@ local function start_fire_effects(pos, node, clicker, chimney)
|
||||||
max_hear_distance = 5,
|
max_hear_distance = 5,
|
||||||
loop = true
|
loop = true
|
||||||
})
|
})
|
||||||
|
fire_particles_off(pos)
|
||||||
fire_particles_on(pos)
|
fire_particles_on(pos)
|
||||||
this_spawner_meta:set_int("sound", s_handle)
|
this_spawner_meta:set_int("sound", s_handle)
|
||||||
end
|
end
|
||||||
|
@ -142,7 +145,9 @@ minetest.register_node("fake_fire:ice_fire", {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {dig_immediate=3, not_in_creative_inventory=1, dig_generic=3},
|
groups = {dig_immediate=3, not_in_creative_inventory=1, dig_generic=3, handy=1},
|
||||||
|
is_ground_content = false,
|
||||||
|
_mcl_hardness=0.6,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -158,6 +163,7 @@ minetest.register_node("fake_fire:ice_fire", {
|
||||||
end,
|
end,
|
||||||
on_destruct = function (pos)
|
on_destruct = function (pos)
|
||||||
stop_smoke(pos)
|
stop_smoke(pos)
|
||||||
|
fire_particles_off(pos)
|
||||||
minetest.sound_play("fire_extinguish", {
|
minetest.sound_play("fire_extinguish", {
|
||||||
pos = pos, max_hear_distance = 5
|
pos = pos, max_hear_distance = 5
|
||||||
})
|
})
|
||||||
|
@ -172,7 +178,7 @@ local sbox = {
|
||||||
fixed = { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16},
|
fixed = { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16},
|
||||||
}
|
}
|
||||||
|
|
||||||
local wtex = homedecor.textures.default_junglewood
|
local wtex = homedecor.textures.wood.jungle.planks
|
||||||
|
|
||||||
minetest.register_node("fake_fire:fancy_fire", {
|
minetest.register_node("fake_fire:fancy_fire", {
|
||||||
inventory_image = "fancy_fire_inv.png",
|
inventory_image = "fancy_fire_inv.png",
|
||||||
|
@ -182,7 +188,9 @@ minetest.register_node("fake_fire:fancy_fire", {
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
groups = {oddly_breakable_by_hand=3, flammable=0},
|
groups = {oddly_breakable_by_hand=3, flammable=0, handy=1},
|
||||||
|
is_ground_content = false,
|
||||||
|
_mcl_hardness=0.6,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = 13,
|
light_source = 13,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -195,6 +203,7 @@ minetest.register_node("fake_fire:fancy_fire", {
|
||||||
"fake_fire_empty_tile.png"
|
"fake_fire_empty_tile.png"
|
||||||
},
|
},
|
||||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||||
|
fire_particles_off(pos)
|
||||||
fire_particles_on(pos)
|
fire_particles_on(pos)
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
|
@ -226,7 +235,9 @@ minetest.register_node("fake_fire:embers", {
|
||||||
aspect_w=16, aspect_h=16, length=2}},
|
aspect_w=16, aspect_h=16, length=2}},
|
||||||
},
|
},
|
||||||
light_source = 9,
|
light_source = 9,
|
||||||
groups = {crumbly=3, dig_stone=2},
|
groups = {crumbly=3, dig_stone=2, handy=1},
|
||||||
|
is_ground_content = false,
|
||||||
|
_mcl_hardness=0.6,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_dirt_defaults",
|
key = "node_sound_dirt_defaults",
|
||||||
|
@ -253,10 +264,13 @@ local materials = {
|
||||||
|
|
||||||
for _, mat in ipairs(materials) do
|
for _, mat in ipairs(materials) do
|
||||||
local name, desc, tex = unpack(mat)
|
local name, desc, tex = unpack(mat)
|
||||||
|
table.insert(fake_fire_reload_particles_nodes, "fake_fire:chimney_top_"..name)
|
||||||
minetest.register_node("fake_fire:chimney_top_"..name, {
|
minetest.register_node("fake_fire:chimney_top_"..name, {
|
||||||
description = desc,
|
description = desc,
|
||||||
tiles = {tex.."^chimney_top.png", tex},
|
tiles = {tex.."^chimney_top.png", tex},
|
||||||
groups = {snappy=3, dig_stone=2},
|
groups = {snappy=3, dig_stone=2, handy=1},
|
||||||
|
is_ground_content = false,
|
||||||
|
_mcl_hardness=0.6,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
|
@ -326,7 +340,7 @@ minetest.register_alias("fake_fire:flint", "fake_fire:flint_and_steel")
|
||||||
minetest.register_lbm({
|
minetest.register_lbm({
|
||||||
name = "fake_fire:reload_particles",
|
name = "fake_fire:reload_particles",
|
||||||
label = "restart fire particles on reload",
|
label = "restart fire particles on reload",
|
||||||
nodenames = {"fake_fire:fancy_fire"},
|
nodenames = { "fake_fire:fancy_fire" },
|
||||||
run_at_every_load = true,
|
run_at_every_load = true,
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
fire_particles_off(pos)
|
fire_particles_off(pos)
|
||||||
|
@ -334,4 +348,18 @@ minetest.register_lbm({
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_lbm({
|
||||||
|
name = "fake_fire:reload_particles_chimney",
|
||||||
|
label = "restart chimney smoke on reload",
|
||||||
|
nodenames = fake_fire_reload_particles_nodes,
|
||||||
|
run_at_every_load = true,
|
||||||
|
action = function(pos, node)
|
||||||
|
if minetest.get_meta(pos):get_int("smoky") ~= 0 then
|
||||||
|
stop_smoke(pos)
|
||||||
|
start_fire_effects(pos, node, nil, 1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.log("action", "[fake_fire] loaded.")
|
minetest.log("action", "[fake_fire] loaded.")
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Eisfeuer
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Schönes Feuer
|
Fancy Fire=Schönes Feuer
|
||||||
Glowing Embers=Glühende Asche
|
Glowing Embers=Glühende Asche
|
||||||
Ice fire=Eisfeuer
|
|
||||||
Sandstone chimney top=Sandsteinschornsteinaufsatz
|
|
||||||
Stone chimney top=Steinschornsteinaufsatz
|
Stone chimney top=Steinschornsteinaufsatz
|
||||||
|
Sandstone chimney top=Sandsteinschornsteinaufsatz
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Fuego de hielo
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Fuego fantasía
|
Fancy Fire=Fuego fantasía
|
||||||
Glowing Embers=Brasas ardientes
|
Glowing Embers=Brasas ardientes
|
||||||
Ice fire=Fuego de hielo
|
|
||||||
Sandstone chimney top=Chimenea de arenisca
|
|
||||||
Stone chimney top=Chimenea de piedra
|
Stone chimney top=Chimenea de piedra
|
||||||
|
Sandstone chimney top=Chimenea de arenisca
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Feu glacé
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Feu décoratif
|
Fancy Fire=Feu décoratif
|
||||||
Glowing Embers=Braises incandescentes
|
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
|
Stone chimney top=Haut de cheminée en pierre
|
||||||
|
Sandstone chimney top=Haut de cheminée en grès
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Api Ais
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Api Hiasan
|
Fancy Fire=Api Hiasan
|
||||||
Glowing Embers=Bara Api
|
Glowing Embers=Bara Api
|
||||||
Ice fire=Api Ais
|
|
||||||
Sandstone chimney top=Kepala Serombong Batu Pasir
|
|
||||||
Stone chimney top=Kepala Serombong Batu
|
Stone chimney top=Kepala Serombong Batu
|
||||||
|
Sandstone chimney top=Kepala Serombong Batu Pasir
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Fogo de gelo
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Fogo Chique
|
Fancy Fire=Fogo Chique
|
||||||
Glowing Embers=Brasas Brilhantes
|
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
|
Stone chimney top=Topo de chaminé de pedra
|
||||||
|
Sandstone chimney top=Topo de chaminé de arenito
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Fogo de gelo
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Fogo Chique
|
Fancy Fire=Fogo Chique
|
||||||
Glowing Embers=Brasas Brilhantes
|
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
|
Stone chimney top=Topo de chaminé de pedra
|
||||||
|
Sandstone chimney top=Topo de chaminé de arenito
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=Ледяной огонь
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=Необычный огонь
|
Fancy Fire=Необычный огонь
|
||||||
Glowing Embers=Светящиеся угли
|
Glowing Embers=Светящиеся угли
|
||||||
Ice fire=Ледяной огонь
|
|
||||||
Sandstone chimney top=Дымоход из песчаника на крышу
|
|
||||||
Stone chimney top=Каменный дымоход на крышу
|
Stone chimney top=Каменный дымоход на крышу
|
||||||
|
Sandstone chimney top=Дымоход из песчаника на крышу
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=冰火
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=花式火
|
Fancy Fire=花式火
|
||||||
Glowing Embers=发光的余烬
|
Glowing Embers=发光的余烬
|
||||||
Ice fire=冰火
|
|
||||||
Sandstone chimney top=砂石烟囱顶部
|
|
||||||
Stone chimney top=鹅卵石烟囱顶部
|
Stone chimney top=鹅卵石烟囱顶部
|
||||||
|
Sandstone chimney top=砂石烟囱顶部
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: fake_fire
|
# textdomain: fake_fire
|
||||||
|
Ice fire=
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Fancy Fire=
|
Fancy Fire=
|
||||||
Glowing Embers=
|
Glowing Embers=
|
||||||
Ice fire=
|
|
||||||
Sandstone chimney top=
|
|
||||||
Stone chimney top=
|
Stone chimney top=
|
||||||
|
Sandstone chimney top=
|
||||||
|
|
|
@ -94,16 +94,22 @@ if minetest.get_modpath("doors") then
|
||||||
local def
|
local def
|
||||||
for _,mat in ipairs({"wood", "steel"}) do
|
for _,mat in ipairs({"wood", "steel"}) do
|
||||||
def = table.copy(minetest.registered_nodes["doors:door_"..mat.."_a"])
|
def = table.copy(minetest.registered_nodes["doors:door_"..mat.."_a"])
|
||||||
|
def.groups.handy = 1
|
||||||
|
def._mcl_hardness=0.6
|
||||||
def.mesh = "homedecor_3d_door_"..mat.."_a.obj"
|
def.mesh = "homedecor_3d_door_"..mat.."_a.obj"
|
||||||
minetest.register_node(":doors:door_"..mat.."_a", def)
|
minetest.register_node(":doors:door_"..mat.."_a", def)
|
||||||
|
|
||||||
def = table.copy(minetest.registered_nodes["doors:door_"..mat.."_b"])
|
def = table.copy(minetest.registered_nodes["doors:door_"..mat.."_b"])
|
||||||
|
def.groups.handy = 1
|
||||||
|
def._mcl_hardness=0.6
|
||||||
def.mesh = "homedecor_3d_door_"..mat.."_b.obj"
|
def.mesh = "homedecor_3d_door_"..mat.."_b.obj"
|
||||||
minetest.register_node(":doors:door_"..mat.."_b", def)
|
minetest.register_node(":doors:door_"..mat.."_b", def)
|
||||||
end
|
end
|
||||||
|
|
||||||
for _,mat in ipairs({"", "_steel"}) do
|
for _,mat in ipairs({"", "_steel"}) do
|
||||||
def = table.copy(minetest.registered_nodes["doors:trapdoor"..mat])
|
def = table.copy(minetest.registered_nodes["doors:trapdoor"..mat])
|
||||||
|
def.groups.handy = 1
|
||||||
|
def._mcl_hardness=0.6
|
||||||
def.drawtype = "mesh"
|
def.drawtype = "mesh"
|
||||||
def.mesh = "homedecor_3d_trapdoor"..mat..".obj"
|
def.mesh = "homedecor_3d_trapdoor"..mat..".obj"
|
||||||
def.tiles = {
|
def.tiles = {
|
||||||
|
@ -113,6 +119,8 @@ if minetest.get_modpath("doors") then
|
||||||
minetest.register_node(":doors:trapdoor"..mat, def)
|
minetest.register_node(":doors:trapdoor"..mat, def)
|
||||||
|
|
||||||
def = table.copy(minetest.registered_nodes["doors:trapdoor"..mat.."_open"])
|
def = table.copy(minetest.registered_nodes["doors:trapdoor"..mat.."_open"])
|
||||||
|
def.groups.handy = 1
|
||||||
|
def._mcl_hardness=0.6
|
||||||
def.mesh = "homedecor_3d_trapdoor"..mat.."_open.obj"
|
def.mesh = "homedecor_3d_trapdoor"..mat.."_open.obj"
|
||||||
def.drawtype = "mesh"
|
def.drawtype = "mesh"
|
||||||
def.tiles = {
|
def.tiles = {
|
||||||
|
|
|
@ -2,8 +2,8 @@ local S = minetest.get_translator("homedecor_bathroom")
|
||||||
|
|
||||||
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
||||||
|
|
||||||
local wood_tex = homedecor.textures.default_wood
|
local wood_tex = homedecor.textures.wood.apple.planks
|
||||||
local water_tex = homedecor.textures.water
|
local water_tex = homedecor.textures.water.tile
|
||||||
|
|
||||||
homedecor.register("bathroom_tiles_dark", {
|
homedecor.register("bathroom_tiles_dark", {
|
||||||
description = S("Bathroom/kitchen tiles (dark)"),
|
description = S("Bathroom/kitchen tiles (dark)"),
|
||||||
|
@ -106,7 +106,7 @@ homedecor.register("towel_rod", {
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,dig_tree=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,dig_tree=2},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_defaults",
|
key = "node_sound_default",
|
||||||
},
|
},
|
||||||
crafts = {
|
crafts = {
|
||||||
{
|
{
|
||||||
|
@ -274,7 +274,7 @@ homedecor.register("toilet_paper", {
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {snappy=3,oddly_breakable_by_hand=3, dig_stone = 2},
|
groups = {snappy=3,oddly_breakable_by_hand=3, dig_stone = 2},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_defaults",
|
key = "node_sound_default",
|
||||||
},
|
},
|
||||||
crafts = {
|
crafts = {
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# 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 (dark)=Badezimmer-/Küchenkacheln (dunkel)
|
||||||
Bathroom/kitchen tiles (light)=Badezimmer-/Küchenkacheln (hell)
|
|
||||||
Bathroom/kitchen tiles (medium)=Badezimmer-/Küchenkacheln (mittel)
|
Bathroom/kitchen tiles (medium)=Badezimmer-/Küchenkacheln (mittel)
|
||||||
Bathtub, clawfoot, with brass taps=Badewanne, Krallenfuß, mit Messingwasserhähnen
|
Bathroom/kitchen tiles (light)=Badezimmer-/Küchenkacheln (hell)
|
||||||
Bathtub, clawfoot, with chrome taps=Badewanne, Krallenfuß, mit Chromwasserhähnen
|
Towel rod with towel=Handtuchhalter mit Handtuch
|
||||||
Medicine cabinet=Medizinschrank
|
Medicine cabinet=Medizinschrank
|
||||||
Shower Head=Duschbrause
|
|
||||||
Shower Tray=Duschtasse
|
|
||||||
Toilet=Toilette
|
Toilet=Toilette
|
||||||
Toilet paper=Toilettenpapier
|
Toilet paper=Toilettenpapier
|
||||||
Towel rod with towel=Handtuchhalter mit Handtuch
|
Bathroom Sink=Badezimmerwaschbecken
|
||||||
|
Bathroom taps/faucet=Badezimmerwasserhahn
|
||||||
|
Bathroom taps/faucet (brass)=Badezimmerwasserhahn (Messing)
|
||||||
|
Shower Tray=Duschtasse
|
||||||
|
Shower Head=Duschbrause
|
||||||
|
Bathtub, clawfoot, with brass taps=Badewanne, Krallenfuß, mit Messingwasserhähnen
|
||||||
|
Bathtub, clawfoot, with chrome taps=Badewanne, Krallenfuß, mit Chromwasserhähnen
|
||||||
|
Bathroom sundries set=Badezimmerkrimskrams
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# 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 (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)
|
Bathroom/kitchen tiles (medium)=Azulejo de baño/cocina (tonos medios)
|
||||||
Bathtub, clawfoot, with brass taps=
|
Bathroom/kitchen tiles (light)=Azulejo de baño/cocina (tonos claros)
|
||||||
Bathtub, clawfoot, with chrome taps=
|
Towel rod with towel=Toallero con toalla
|
||||||
Medicine cabinet=Gabinete de medicinas
|
Medicine cabinet=Gabinete de medicinas
|
||||||
Shower Head=Ducha
|
|
||||||
Shower Tray=Plato de ducha
|
|
||||||
Toilet=Inodoro
|
Toilet=Inodoro
|
||||||
Toilet paper=Papel higiénico
|
Toilet paper=Papel higiénico
|
||||||
Towel rod with towel=Toallero con toalla
|
Bathroom Sink=Lavabo de baño
|
||||||
|
Bathroom taps/faucet=Grifo de baño
|
||||||
|
Bathroom taps/faucet (brass)=Grifo de baño (latón)
|
||||||
|
Shower Tray=Plato de ducha
|
||||||
|
Shower Head=Ducha
|
||||||
|
Bathtub, clawfoot, with brass taps=
|
||||||
|
Bathtub, clawfoot, with chrome taps=
|
||||||
|
Bathroom sundries set=Artículos de baño
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# 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 (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)
|
Bathroom/kitchen tiles (medium)=Carreaux de salle de bain ou cuisine (moyennes)
|
||||||
Bathtub, clawfoot, with brass taps=Baignoire sur pieds, avec robinetterie en laiton
|
Bathroom/kitchen tiles (light)=Carreaux de salle de bain ou cuisine (claires)
|
||||||
Bathtub, clawfoot, with chrome taps=Baignoire sur pieds, avec robinetterie en chrome
|
Towel rod with towel=Porte serviette et serviette
|
||||||
Medicine cabinet=Armoire à pharmacie
|
Medicine cabinet=Armoire à pharmacie
|
||||||
Shower Head=Pomme de douche
|
|
||||||
Shower Tray=Bac de douche
|
|
||||||
Toilet=Toilettes
|
Toilet=Toilettes
|
||||||
Toilet paper=Papier toilette
|
Toilet paper=Papier toilette
|
||||||
Towel rod with towel=Porte serviette et serviette
|
Bathroom Sink=Évier
|
||||||
|
Bathroom taps/faucet=Robinetterie
|
||||||
|
Bathroom taps/faucet (brass)=Robinetterie (laiton)
|
||||||
|
Shower Tray=Bac de douche
|
||||||
|
Shower Head=Pomme de douche
|
||||||
|
Bathtub, clawfoot, with brass taps=Baignoire sur pieds, avec robinetterie en laiton
|
||||||
|
Bathtub, clawfoot, with chrome taps=Baignoire sur pieds, avec robinetterie en chrome
|
||||||
|
Bathroom sundries set=Miroir et tablette de salle de bain
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# textdomain: homedecor_bathroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bathroom Sink=
|
|
||||||
Bathroom sundries set=
|
|
||||||
Bathroom taps/faucet=
|
|
||||||
Bathroom taps/faucet (brass)=
|
|
||||||
Bathroom/kitchen tiles (dark)=
|
Bathroom/kitchen tiles (dark)=
|
||||||
Bathroom/kitchen tiles (light)=
|
|
||||||
Bathroom/kitchen tiles (medium)=
|
Bathroom/kitchen tiles (medium)=
|
||||||
Bathtub, clawfoot, with brass taps=
|
Bathroom/kitchen tiles (light)=
|
||||||
Bathtub, clawfoot, with chrome taps=
|
Towel rod with towel=
|
||||||
Medicine cabinet=Armadietto sotto il lavandino
|
Medicine cabinet=Armadietto sotto il lavandino
|
||||||
Shower Head=Pigna della doccia
|
|
||||||
Shower Tray=Piatto della doccia
|
|
||||||
Toilet=Water
|
Toilet=Water
|
||||||
Toilet paper=Water
|
Toilet paper=Water
|
||||||
Towel rod with towel=
|
Bathroom Sink=
|
||||||
|
Bathroom taps/faucet=
|
||||||
|
Bathroom taps/faucet (brass)=
|
||||||
|
Shower Tray=Piatto della doccia
|
||||||
|
Shower Head=Pigna della doccia
|
||||||
|
Bathtub, clawfoot, with brass taps=
|
||||||
|
Bathtub, clawfoot, with chrome taps=
|
||||||
|
Bathroom sundries set=
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# 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 (dark)=Jubin Dapur/Bilik Mandi (Gelap)
|
||||||
Bathroom/kitchen tiles (light)=Jubin Dapur/Bilik Mandi (Cerah)
|
|
||||||
Bathroom/kitchen tiles (medium)=Jubin Dapur/Bilik Mandi (Biasa)
|
Bathroom/kitchen tiles (medium)=Jubin Dapur/Bilik Mandi (Biasa)
|
||||||
Bathtub, clawfoot, with brass taps=Tab Mandi Berkaki Cakar, dengan Kepala Paip Loyang
|
Bathroom/kitchen tiles (light)=Jubin Dapur/Bilik Mandi (Cerah)
|
||||||
Bathtub, clawfoot, with chrome taps=Tab Mandi Berkaki Cakar, dengan Kepala Paip Krom
|
Towel rod with towel=Ampaian Beserta Tuala
|
||||||
Medicine cabinet=Kabinet Ubat
|
Medicine cabinet=Kabinet Ubat
|
||||||
Shower Head=Kepala Pancuran
|
|
||||||
Shower Tray=Lubang Air Mandi
|
|
||||||
Toilet=Tandas
|
Toilet=Tandas
|
||||||
Toilet paper=Tisu Tandas
|
Toilet paper=Tisu Tandas
|
||||||
Towel rod with towel=Ampaian Beserta Tuala
|
Bathroom Sink=Sinki Bilik Mandi
|
||||||
|
Bathroom taps/faucet=Kepala Paip Bilik Mandi
|
||||||
|
Bathroom taps/faucet (brass)=Kepala Paip Bilik Mandi (Loyang)
|
||||||
|
Shower Tray=Lubang Air Mandi
|
||||||
|
Shower Head=Kepala Pancuran
|
||||||
|
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
|
||||||
|
Bathroom sundries set=Set Barangan Bilik Mandi
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# 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 (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)
|
Bathroom/kitchen tiles (medium)=Azulejo de Banheiro/Cozinha (médio)
|
||||||
Bathtub, clawfoot, with brass taps=
|
Bathroom/kitchen tiles (light)=Azulejo de Banheiro/Cozinha (claro)
|
||||||
Bathtub, clawfoot, with chrome taps=
|
Towel rod with towel=Haste de Toalha com Toalha
|
||||||
Medicine cabinet=Armário de remédios
|
Medicine cabinet=Armário de remédios
|
||||||
Shower Head=Chuveiro
|
|
||||||
Shower Tray=Ralo do Chuveiro
|
|
||||||
Toilet=Vaso Sanitário
|
Toilet=Vaso Sanitário
|
||||||
Toilet paper=Papel higiênico
|
Toilet paper=Papel higiênico
|
||||||
Towel rod with towel=Haste de Toalha com Toalha
|
Bathroom Sink=Pia de Banheiro
|
||||||
|
Bathroom taps/faucet=Torneira de Banheiro
|
||||||
|
Bathroom taps/faucet (brass)=Torneira de Banheiro (latão)
|
||||||
|
Shower Tray=Ralo do Chuveiro
|
||||||
|
Shower Head=Chuveiro
|
||||||
|
Bathtub, clawfoot, with brass taps=
|
||||||
|
Bathtub, clawfoot, with chrome taps=
|
||||||
|
Bathroom sundries set=Espelho de Banheiro com bancada
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# 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 (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)
|
Bathroom/kitchen tiles (medium)=Azulejo de Banheiro/Cozinha (médio)
|
||||||
Bathtub, clawfoot, with brass taps=
|
Bathroom/kitchen tiles (light)=Azulejo de Banheiro/Cozinha (claro)
|
||||||
Bathtub, clawfoot, with chrome taps=
|
Towel rod with towel=Haste de Toalha com Toalha
|
||||||
Medicine cabinet=Armário de remédios
|
Medicine cabinet=Armário de remédios
|
||||||
Shower Head=Chuveiro
|
|
||||||
Shower Tray=Ralo do Chuveiro
|
|
||||||
Toilet=Vaso Sanitário
|
Toilet=Vaso Sanitário
|
||||||
Toilet paper=Papel higiênico
|
Toilet paper=Papel higiênico
|
||||||
Towel rod with towel=Haste de Toalha com Toalha
|
Bathroom Sink=Pia de Banheiro
|
||||||
|
Bathroom taps/faucet=Torneira de Banheiro
|
||||||
|
Bathroom taps/faucet (brass)=Torneira de Banheiro (latão)
|
||||||
|
Shower Tray=Ralo do Chuveiro
|
||||||
|
Shower Head=Chuveiro
|
||||||
|
Bathtub, clawfoot, with brass taps=
|
||||||
|
Bathtub, clawfoot, with chrome taps=
|
||||||
|
Bathroom sundries set=Espelho de Banheiro com bancada
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# textdomain: homedecor_bathroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bathroom Sink=Раковина для ванной комнаты
|
|
||||||
Bathroom sundries set=Набор для ванных комнат
|
|
||||||
Bathroom taps/faucet=м
|
|
||||||
Bathroom taps/faucet (brass)=Краны(смесители) для ванной комнаты (латунь)
|
|
||||||
Bathroom/kitchen tiles (dark)=Плитка для ванной/кухни (тёмная)
|
Bathroom/kitchen tiles (dark)=Плитка для ванной/кухни (тёмная)
|
||||||
Bathroom/kitchen tiles (light)=Плитка для ванной/кухни (светлая)
|
|
||||||
Bathroom/kitchen tiles (medium)=Плитка для ванной/кухни (обычная)
|
Bathroom/kitchen tiles (medium)=Плитка для ванной/кухни (обычная)
|
||||||
Bathtub, clawfoot, with brass taps=Ванна на острых ножках с латунными кранами
|
Bathroom/kitchen tiles (light)=Плитка для ванной/кухни (светлая)
|
||||||
Bathtub, clawfoot, with chrome taps=Ванна на острых ножках с хромированными кранами
|
Towel rod with towel=Полотенцедержатель с полотенцем
|
||||||
Medicine cabinet=Медицинский кабинет
|
Medicine cabinet=Медицинский кабинет
|
||||||
Shower Head=Душевая лейка
|
|
||||||
Shower Tray=Душевой поддон
|
|
||||||
Toilet=Туалет
|
Toilet=Туалет
|
||||||
Toilet paper=Туалетная бумага
|
Toilet paper=Туалетная бумага
|
||||||
Towel rod with towel=Полотенцедержатель с полотенцем
|
Bathroom Sink=Раковина для ванной комнаты
|
||||||
|
Bathroom taps/faucet=м
|
||||||
|
Bathroom taps/faucet (brass)=Краны(смесители) для ванной комнаты (латунь)
|
||||||
|
Shower Tray=Душевой поддон
|
||||||
|
Shower Head=Душевая лейка
|
||||||
|
Bathtub, clawfoot, with brass taps=Ванна на острых ножках с латунными кранами
|
||||||
|
Bathtub, clawfoot, with chrome taps=Ванна на острых ножках с хромированными кранами
|
||||||
|
Bathroom sundries set=Набор для ванных комнат
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# textdomain: homedecor_bathroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bathroom Sink=浴室水槽
|
|
||||||
Bathroom sundries set=浴室杂物套装
|
|
||||||
Bathroom taps/faucet=浴室水龙头
|
|
||||||
Bathroom taps/faucet (brass)=黄铜浴室水龙头
|
|
||||||
Bathroom/kitchen tiles (dark)=深色浴室/厨房瓷砖
|
Bathroom/kitchen tiles (dark)=深色浴室/厨房瓷砖
|
||||||
Bathroom/kitchen tiles (light)=浅色浴室/厨房瓷砖
|
|
||||||
Bathroom/kitchen tiles (medium)=浴室/厨房瓷砖
|
Bathroom/kitchen tiles (medium)=浴室/厨房瓷砖
|
||||||
Bathtub, clawfoot, with brass taps=带黄铜水龙头的浴缸
|
Bathroom/kitchen tiles (light)=浅色浴室/厨房瓷砖
|
||||||
Bathtub, clawfoot, with chrome taps=带镀铬水龙头的浴缸
|
Towel rod with towel=毛巾杆
|
||||||
Medicine cabinet=药柜
|
Medicine cabinet=药柜
|
||||||
Shower Head=淋浴喷头
|
|
||||||
Shower Tray=淋浴盆
|
|
||||||
Toilet=卫生间
|
Toilet=卫生间
|
||||||
Toilet paper=厕纸
|
Toilet paper=厕纸
|
||||||
Towel rod with towel=毛巾杆
|
Bathroom Sink=浴室水槽
|
||||||
|
Bathroom taps/faucet=浴室水龙头
|
||||||
|
Bathroom taps/faucet (brass)=黄铜浴室水龙头
|
||||||
|
Shower Tray=淋浴盆
|
||||||
|
Shower Head=淋浴喷头
|
||||||
|
Bathtub, clawfoot, with brass taps=带黄铜水龙头的浴缸
|
||||||
|
Bathtub, clawfoot, with chrome taps=带镀铬水龙头的浴缸
|
||||||
|
Bathroom sundries set=浴室杂物套装
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
# textdomain: homedecor_bathroom
|
# textdomain: homedecor_bathroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bathroom Sink=
|
|
||||||
Bathroom sundries set=
|
|
||||||
Bathroom taps/faucet=
|
|
||||||
Bathroom taps/faucet (brass)=
|
|
||||||
Bathroom/kitchen tiles (dark)=
|
Bathroom/kitchen tiles (dark)=
|
||||||
Bathroom/kitchen tiles (light)=
|
|
||||||
Bathroom/kitchen tiles (medium)=
|
Bathroom/kitchen tiles (medium)=
|
||||||
Bathtub, clawfoot, with brass taps=
|
Bathroom/kitchen tiles (light)=
|
||||||
Bathtub, clawfoot, with chrome taps=
|
Towel rod with towel=
|
||||||
Medicine cabinet=
|
Medicine cabinet=
|
||||||
Shower Head=
|
|
||||||
Shower Tray=
|
|
||||||
Toilet=
|
Toilet=
|
||||||
Toilet paper=
|
Toilet paper=
|
||||||
Towel rod with towel=
|
Bathroom Sink=
|
||||||
|
Bathroom taps/faucet=
|
||||||
|
Bathroom taps/faucet (brass)=
|
||||||
|
Shower Tray=
|
||||||
|
Shower Head=
|
||||||
|
Bathtub, clawfoot, with brass taps=
|
||||||
|
Bathtub, clawfoot, with chrome taps=
|
||||||
|
Bathroom sundries set=
|
||||||
|
|
|
@ -2,7 +2,7 @@ local S = minetest.get_translator("homedecor_bedroom")
|
||||||
|
|
||||||
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil
|
||||||
|
|
||||||
local wood_tex, wool_tex = homedecor.textures.default_wood, homedecor.textures.wool_white
|
local wood_tex, wool_tex = homedecor.textures.wood.apple.planks, homedecor.textures.wool.white
|
||||||
|
|
||||||
local bed_sbox = {
|
local bed_sbox = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
|
@ -101,7 +101,7 @@ homedecor.register("bed_extended", {
|
||||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||||
selection_box = bed_sbox,
|
selection_box = bed_sbox,
|
||||||
node_box = bed_cbox,
|
node_box = bed_cbox,
|
||||||
groups = {snappy=3, ud_param2_colorable = 1, dig_generic=2},
|
groups = {snappy=3, ud_param2_colorable = 1, dig_generic=2, not_in_creative_inventory=1},
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_wood_defaults",
|
key = "node_sound_wood_defaults",
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Bett
|
Bed=Bett
|
||||||
Bed (king sized)=Breites Doppelbett
|
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
|
mahogany=Mahagoni
|
||||||
oak=Eiche
|
oak=Eiche
|
||||||
|
Nightstand with One Drawer (@1)=Nachttisch mit einer Schublade (@1)
|
||||||
|
One-drawer Nightstand=Nachttisch mit einer Schublade
|
||||||
|
Nightstand with Two Drawers (@1)=Nachttisch mit zwei Schubladen (@1)
|
||||||
|
Two-drawer Nightstand=Nachttisch mit zwei Schubladen
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Cama
|
Bed=Cama
|
||||||
Bed (king sized)=Cama (tamaño grande)
|
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
|
mahogany=caoba
|
||||||
oak=roble
|
oak=roble
|
||||||
|
Nightstand with One Drawer (@1)=Mesa de luz con un cajón (@1)
|
||||||
|
One-drawer Nightstand=Mesa de luz con un cajón
|
||||||
|
Nightstand with Two Drawers (@1)=Mesa de luz con dos cajones (@1)
|
||||||
|
Two-drawer Nightstand=Mesa de luz con dos cajones
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Lit
|
Bed=Lit
|
||||||
Bed (king sized)=Grand 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
|
mahogany=acajou
|
||||||
oak=chêne
|
oak=chêne
|
||||||
|
Nightstand with One Drawer (@1)=Meuble de chevet avec un tiroir (@1)
|
||||||
|
One-drawer Nightstand=Meuble de chevet avec un tiroir
|
||||||
|
Nightstand with Two Drawers (@1)=Meuble de chevet avec deux tiroirs (@1)
|
||||||
|
Two-drawer Nightstand=Meuble de chevet avec deux tiroirs
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=rosso
|
Bed=rosso
|
||||||
Bed (king sized)=
|
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=
|
mahogany=
|
||||||
oak=
|
oak=
|
||||||
|
Nightstand with One Drawer (@1)=Comodino in quercia con un cassetto (@1)
|
||||||
|
One-drawer Nightstand=Comodino a singolo cassetto
|
||||||
|
Nightstand with Two Drawers (@1)=Comodino in quercia con due cassetti (@1)
|
||||||
|
Two-drawer Nightstand=Comodino a doppio cassetto
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Katil
|
Bed=Katil
|
||||||
Bed (king sized)=Katil Raja
|
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
|
mahogany=Mahogani
|
||||||
oak=Oak
|
oak=Oak
|
||||||
|
Nightstand with One Drawer (@1)=Kabinet Katil dengan Satu Laci (@1)
|
||||||
|
One-drawer Nightstand=Kabinet Katil Satu Laci
|
||||||
|
Nightstand with Two Drawers (@1)=Kabinet Katil dengan Dua Laci (@1)
|
||||||
|
Two-drawer Nightstand=Kabinet Katil Dua Laci
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Cama
|
Bed=Cama
|
||||||
Bed (king sized)=Cama (tamanho king)
|
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
|
mahogany=mogno
|
||||||
oak=carvalho
|
oak=carvalho
|
||||||
|
Nightstand with One Drawer (@1)=Mesa de Cabeceira com Gaveta (@1)
|
||||||
|
One-drawer Nightstand=Mesinha de Uma Gaveta
|
||||||
|
Nightstand with Two Drawers (@1)=Mesa de Cabeceira com Duas Gavetas (@1)
|
||||||
|
Two-drawer Nightstand=Mesinha de Duas Gavetas
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Cama
|
Bed=Cama
|
||||||
Bed (king sized)=Cama (tamanho king)
|
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
|
mahogany=mogno
|
||||||
oak=carvalho
|
oak=carvalho
|
||||||
|
Nightstand with One Drawer (@1)=Mesa de Cabeceira com Gaveta (@1)
|
||||||
|
One-drawer Nightstand=Mesinha de Uma Gaveta
|
||||||
|
Nightstand with Two Drawers (@1)=Mesa de Cabeceira com Duas Gavetas (@1)
|
||||||
|
Two-drawer Nightstand=Mesinha de Duas Gavetas
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=Кровать
|
Bed=Кровать
|
||||||
Bed (king sized)=Кровать (большая)
|
Bed (king sized)=Кровать (большая)
|
||||||
Nightstand with One Drawer (@1)=Тумба с одним ящиком (@1)
|
|
||||||
Nightstand with Two Drawers (@1)=Тумба с двумя ящиками (@1)
|
|
||||||
One-drawer Nightstand=Тумба с одним ящиком
|
|
||||||
Two-drawer Nightstand=Тумба с двумя ящиками
|
|
||||||
mahogany=красное дерево
|
mahogany=красное дерево
|
||||||
oak=дуб
|
oak=дуб
|
||||||
|
Nightstand with One Drawer (@1)=Тумба с одним ящиком (@1)
|
||||||
|
One-drawer Nightstand=Тумба с одним ящиком
|
||||||
|
Nightstand with Two Drawers (@1)=Тумба с двумя ящиками (@1)
|
||||||
|
Two-drawer Nightstand=Тумба с двумя ящиками
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=床
|
Bed=床
|
||||||
Bed (king sized)=双人床
|
Bed (king sized)=双人床
|
||||||
Nightstand with One Drawer (@1)=带一个抽屉的床头柜(@1)
|
|
||||||
Nightstand with Two Drawers (@1)=带两个抽屉的床头柜(@1)
|
|
||||||
One-drawer Nightstand=单抽屉床头柜
|
|
||||||
Two-drawer Nightstand=两抽屉床头柜
|
|
||||||
mahogany=桃花心木
|
mahogany=桃花心木
|
||||||
oak=橡木
|
oak=橡木
|
||||||
|
Nightstand with One Drawer (@1)=带一个抽屉的床头柜(@1)
|
||||||
|
One-drawer Nightstand=单抽屉床头柜
|
||||||
|
Nightstand with Two Drawers (@1)=带两个抽屉的床头柜(@1)
|
||||||
|
Two-drawer Nightstand=两抽屉床头柜
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
# textdomain: homedecor_bedroom
|
# textdomain: homedecor_bedroom
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Bed=
|
Bed=
|
||||||
Bed (king sized)=
|
Bed (king sized)=
|
||||||
Nightstand with One Drawer (@1)=
|
|
||||||
Nightstand with Two Drawers (@1)=
|
|
||||||
One-drawer Nightstand=
|
|
||||||
Two-drawer Nightstand=
|
|
||||||
mahogany=
|
mahogany=
|
||||||
oak=
|
oak=
|
||||||
|
Nightstand with One Drawer (@1)=
|
||||||
|
One-drawer Nightstand=
|
||||||
|
Nightstand with Two Drawers (@1)=
|
||||||
|
Two-drawer Nightstand=
|
||||||
|
|
|
@ -81,7 +81,7 @@ for _, c in ipairs(bookcolors) do
|
||||||
name = "homedecor:book_"..color,
|
name = "homedecor:book_"..color,
|
||||||
param2 = fdir,
|
param2 = fdir,
|
||||||
})
|
})
|
||||||
local text = itemstack:get_metadata() or ""
|
local text = itemstack:get_meta():get_string("")
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local data = minetest.deserialize(text) or {}
|
local data = minetest.deserialize(text) or {}
|
||||||
if type(data) ~= "table" then
|
if type(data) ~= "table" then
|
||||||
|
@ -193,8 +193,8 @@ minetest.register_on_player_receive_fields(function(player, form_name, fields)
|
||||||
if (fields.title or "") ~= "" then
|
if (fields.title or "") ~= "" then
|
||||||
meta:set_string("infotext", fields.title)
|
meta:set_string("infotext", fields.title)
|
||||||
end
|
end
|
||||||
minetest.log("action", S("@1 has written in a book (title: \"@2\"): \"@3\" at location @4",
|
minetest.log("action", ("%s has written in a book (title: \"%s\"): \"%s\" at location %s"):format(
|
||||||
player:get_player_name(), fields.title, fields.text, minetest.pos_to_string(player:get_pos())))
|
player:get_player_name(), fields.title, fields.text, minetest.pos_to_string(pos)))
|
||||||
|
|
||||||
player_current_book[player_name] = nil
|
player_current_book[player_name] = nil
|
||||||
return true
|
return true
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=rot
|
||||||
|
green=grün
|
||||||
|
blue=blau
|
||||||
violet=violett
|
violet=violett
|
||||||
|
grey=grau
|
||||||
|
brown=braun
|
||||||
|
Writable Book (@1)=Schreibbares Buch (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=roja
|
||||||
|
green=verde
|
||||||
|
blue=azul
|
||||||
violet=violeta
|
violet=violeta
|
||||||
|
grey=gris
|
||||||
|
brown=marrón
|
||||||
|
Writable Book (@1)=Libro (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=rouge
|
||||||
|
green=vert
|
||||||
|
blue=bleu
|
||||||
violet=violet
|
violet=violet
|
||||||
|
grey=vert
|
||||||
|
brown=marron
|
||||||
|
Writable Book (@1)=Livre inscriptible (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=rosso
|
||||||
|
green=verde
|
||||||
|
blue=blu
|
||||||
violet=viola
|
violet=viola
|
||||||
|
grey=verde scuro
|
||||||
|
brown=
|
||||||
|
Writable Book (@1)=Gambe in ottone del tavolo (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=Merah
|
||||||
|
green=Hijau
|
||||||
|
blue=Biru
|
||||||
violet=Ungu
|
violet=Ungu
|
||||||
|
grey=Kelabu
|
||||||
|
brown=Perang
|
||||||
|
Writable Book (@1)=Buku Boleh Ditulis (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=vermelho
|
||||||
|
green=verde
|
||||||
|
blue=azul
|
||||||
violet=violeta
|
violet=violeta
|
||||||
|
grey=cinza
|
||||||
|
brown=marrom
|
||||||
|
Writable Book (@1)=Livro que pode ser escrito (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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
|
red=vermelho
|
||||||
|
green=verde
|
||||||
|
blue=azul
|
||||||
violet=violeta
|
violet=violeta
|
||||||
|
grey=cinza
|
||||||
|
brown=marrom
|
||||||
|
Writable Book (@1)=Livro que pode ser escrito (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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=красный
|
red=красный
|
||||||
|
green=зелёный
|
||||||
|
blue=
|
||||||
violet=
|
violet=
|
||||||
|
grey=
|
||||||
|
brown=
|
||||||
|
Writable Book (@1)=Записная книга (@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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=红色
|
red=红色
|
||||||
|
green=绿色
|
||||||
|
blue=蓝色
|
||||||
violet=紫罗兰
|
violet=紫罗兰
|
||||||
|
grey=灰色
|
||||||
|
brown=棕色的
|
||||||
|
Writable Book (@1)=可写书(@1)
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
# textdomain: homedecor_books
|
# 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=
|
red=
|
||||||
|
green=
|
||||||
|
blue=
|
||||||
violet=
|
violet=
|
||||||
|
grey=
|
||||||
|
brown=
|
||||||
|
Writable Book (@1)=
|
||||||
|
|
|
@ -7,7 +7,7 @@ homedecor.register("air_conditioner", {
|
||||||
mesh = "homedecor_ac.obj",
|
mesh = "homedecor_ac.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
"homedecor_ac.png",
|
"homedecor_ac.png",
|
||||||
homedecor.textures.glass
|
homedecor.textures.glass.pane
|
||||||
},
|
},
|
||||||
groups = { snappy = 3, dig_stone = 3 },
|
groups = { snappy = 3, dig_stone = 3 },
|
||||||
use_texture_alpha = "clip",
|
use_texture_alpha = "clip",
|
||||||
|
@ -36,11 +36,13 @@ homedecor.register("air_conditioner", {
|
||||||
-- fans
|
-- fans
|
||||||
|
|
||||||
minetest.register_entity(":homedecor:mesh_desk_fan", {
|
minetest.register_entity(":homedecor:mesh_desk_fan", {
|
||||||
collisionbox = homedecor.nodebox.null,
|
initial_properties = {
|
||||||
visual = "mesh",
|
collisionbox = homedecor.nodebox.null,
|
||||||
mesh = "homedecor_desk_fan.b3d",
|
visual = "mesh",
|
||||||
textures = {"homedecor_desk_fan_uv.png"},
|
mesh = "homedecor_desk_fan.b3d",
|
||||||
visual_size = {x=10, y=10},
|
textures = {"homedecor_desk_fan_uv.png"},
|
||||||
|
visual_size = {x=10, y=10},
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
local add_mesh_desk_fan_entity = function(pos)
|
local add_mesh_desk_fan_entity = function(pos)
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Klimaanlage
|
Air Conditioner=Klimaanlage
|
||||||
Ceiling Fan=Deckenventilator
|
|
||||||
Desk Fan=Schreibtischventilator
|
Desk Fan=Schreibtischventilator
|
||||||
Fan blades=Ventilatorblätter
|
Ceiling Fan=Deckenventilator
|
||||||
Radiator heater=Heizkörper
|
|
||||||
Space heater=Heizgerät
|
Space heater=Heizgerät
|
||||||
|
Radiator heater=Heizkörper
|
||||||
|
Fan blades=Ventilatorblätter
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Acondicionador de aire
|
Air Conditioner=Acondicionador de aire
|
||||||
Ceiling Fan=Ventilador de techo
|
|
||||||
Desk Fan=Ventilador de escritorio
|
Desk Fan=Ventilador de escritorio
|
||||||
Fan blades=Aspas de ventilador
|
Ceiling Fan=Ventilador de techo
|
||||||
Radiator heater=Radiador
|
|
||||||
Space heater=Calentador de espacios
|
Space heater=Calentador de espacios
|
||||||
|
Radiator heater=Radiador
|
||||||
|
Fan blades=Aspas de ventilador
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Climatiseur
|
Air Conditioner=Climatiseur
|
||||||
Ceiling Fan=Ventilateur (plafonnier)
|
|
||||||
Desk Fan=Ventilateur de bureau
|
Desk Fan=Ventilateur de bureau
|
||||||
Fan blades=Pales de ventilateur
|
Ceiling Fan=Ventilateur (plafonnier)
|
||||||
Radiator heater=Radiateur
|
|
||||||
Space heater=Chaufferette
|
Space heater=Chaufferette
|
||||||
|
Radiator heater=Radiateur
|
||||||
|
Fan blades=Pales de ventilateur
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Pendingin Hawa
|
Air Conditioner=Pendingin Hawa
|
||||||
Ceiling Fan=Kipas Siling
|
|
||||||
Desk Fan=Kipas Meja
|
Desk Fan=Kipas Meja
|
||||||
Fan blades=Bilah Kipas
|
Ceiling Fan=Kipas Siling
|
||||||
Radiator heater=Pemanas Radiator
|
|
||||||
Space heater=Pemanas Ruang
|
Space heater=Pemanas Ruang
|
||||||
|
Radiator heater=Pemanas Radiator
|
||||||
|
Fan blades=Bilah Kipas
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Ar condicionado
|
Air Conditioner=Ar condicionado
|
||||||
Ceiling Fan=Ventilador de Teto
|
|
||||||
Desk Fan=Ventilador de Escrivaninha
|
Desk Fan=Ventilador de Escrivaninha
|
||||||
Fan blades=Pás de ventilador
|
Ceiling Fan=Ventilador de Teto
|
||||||
Radiator heater=Aquecedor de radiador
|
|
||||||
Space heater=Aquecedor de ambiente
|
Space heater=Aquecedor de ambiente
|
||||||
|
Radiator heater=Aquecedor de radiador
|
||||||
|
Fan blades=Pás de ventilador
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Ar condicionado
|
Air Conditioner=Ar condicionado
|
||||||
Ceiling Fan=Ventilador de Teto
|
|
||||||
Desk Fan=Ventilador de Escrivaninha
|
Desk Fan=Ventilador de Escrivaninha
|
||||||
Fan blades=Pás de ventilador
|
Ceiling Fan=Ventilador de Teto
|
||||||
Radiator heater=Aquecedor de radiador
|
|
||||||
Space heater=Aquecedor de ambiente
|
Space heater=Aquecedor de ambiente
|
||||||
|
Radiator heater=Aquecedor de radiador
|
||||||
|
Fan blades=Pás de ventilador
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=Кондиционер
|
Air Conditioner=Кондиционер
|
||||||
Ceiling Fan=Потолочный вентилятор
|
|
||||||
Desk Fan=Настольный вентилятор
|
Desk Fan=Настольный вентилятор
|
||||||
Fan blades=Лопасти вентилятора
|
Ceiling Fan=Потолочный вентилятор
|
||||||
Radiator heater=Масленый обогреватель
|
|
||||||
Space heater=Обогреватель
|
Space heater=Обогреватель
|
||||||
|
Radiator heater=Масленый обогреватель
|
||||||
|
Fan blades=Лопасти вентилятора
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=空调
|
Air Conditioner=空调
|
||||||
Ceiling Fan=吊扇
|
|
||||||
Desk Fan=台扇
|
Desk Fan=台扇
|
||||||
Fan blades=风扇叶片
|
Ceiling Fan=吊扇
|
||||||
Radiator heater=散热器加热器
|
|
||||||
Space heater=暖气机
|
Space heater=暖气机
|
||||||
|
Radiator heater=散热器加热器
|
||||||
|
Fan blades=风扇叶片
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
# textdomain: homedecor_climate_control
|
# textdomain: homedecor_climate_control
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Air Conditioner=
|
Air Conditioner=
|
||||||
Ceiling Fan=
|
|
||||||
Desk Fan=
|
Desk Fan=
|
||||||
Fan blades=
|
Ceiling Fan=
|
||||||
Radiator heater=
|
|
||||||
Space heater=
|
Space heater=
|
||||||
|
Radiator heater=
|
||||||
|
Fan blades=
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
local S = minetest.get_translator("homedecor_clocks")
|
local S = minetest.get_translator("homedecor_clocks")
|
||||||
|
|
||||||
local wood
|
local wood = homedecor.textures.wood.apple.planks
|
||||||
if minetest.get_modpath("default") then
|
|
||||||
wood = "default_wood.png"
|
|
||||||
else
|
|
||||||
|
|
||||||
wood = "[combine:16x16^[noalpha^[colorize:#563d2d"
|
|
||||||
end
|
|
||||||
|
|
||||||
local plastic_craft = {
|
local plastic_craft = {
|
||||||
output = "homedecor:analog_clock_plastic 2",
|
output = "homedecor:analog_clock_plastic 2",
|
||||||
|
@ -135,7 +129,7 @@ homedecor.register("grandfather_clock", {
|
||||||
description = S("Grandfather Clock"),
|
description = S("Grandfather Clock"),
|
||||||
mesh = "homedecor_grandfather_clock.obj",
|
mesh = "homedecor_grandfather_clock.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
homedecor.textures.glass,
|
homedecor.textures.glass.pane,
|
||||||
"homedecor_grandfather_clock_face.png",
|
"homedecor_grandfather_clock_face.png",
|
||||||
homedecor.lux_wood,
|
homedecor.lux_wood,
|
||||||
"homedecor_grandfather_clock_face_edge.png",
|
"homedecor_grandfather_clock_face_edge.png",
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Wecker
|
|
||||||
Digital clock=Digitaluhr
|
|
||||||
Grandfather Clock=Standuhr
|
|
||||||
Plastic analog clock=Plastikanaloguhr
|
Plastic analog clock=Plastikanaloguhr
|
||||||
Wooden analog clock=Hölzerne Analoguhr
|
Wooden analog clock=Hölzerne Analoguhr
|
||||||
|
Digital clock=Digitaluhr
|
||||||
|
Alarm clock=Wecker
|
||||||
|
Grandfather Clock=Standuhr
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Reloj de alarma
|
|
||||||
Digital clock=Reloj digital
|
|
||||||
Grandfather Clock=Reloj de péndulo
|
|
||||||
Plastic analog clock=Reloj análogo de plástico
|
Plastic analog clock=Reloj análogo de plástico
|
||||||
Wooden analog clock=Reloj análogo de madera
|
Wooden analog clock=Reloj análogo de madera
|
||||||
|
Digital clock=Reloj digital
|
||||||
|
Alarm clock=Reloj de alarma
|
||||||
|
Grandfather Clock=Reloj de péndulo
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Réveil-matin
|
|
||||||
Digital clock=Horloge numérique
|
|
||||||
Grandfather Clock=Horloge comtoise
|
|
||||||
Plastic analog clock=Horloge analogique en plastique
|
Plastic analog clock=Horloge analogique en plastique
|
||||||
Wooden analog clock=Horloge analogique en bois
|
Wooden analog clock=Horloge analogique en bois
|
||||||
|
Digital clock=Horloge numérique
|
||||||
|
Alarm clock=Réveil-matin
|
||||||
|
Grandfather Clock=Horloge comtoise
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Jam Loceng
|
|
||||||
Digital clock=Jam Digital
|
|
||||||
Grandfather Clock=Jam Besar Berdiri
|
|
||||||
Plastic analog clock=Jam Analog Plastik
|
Plastic analog clock=Jam Analog Plastik
|
||||||
Wooden analog clock=Jam Analog Kayu
|
Wooden analog clock=Jam Analog Kayu
|
||||||
|
Digital clock=Jam Digital
|
||||||
|
Alarm clock=Jam Loceng
|
||||||
|
Grandfather Clock=Jam Besar Berdiri
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Despertador
|
|
||||||
Digital clock=Relógio digital
|
|
||||||
Grandfather Clock=Relógio Antigo
|
|
||||||
Plastic analog clock=Relógio analógico de plástico
|
Plastic analog clock=Relógio analógico de plástico
|
||||||
Wooden analog clock=Relógio analógico de madeira
|
Wooden analog clock=Relógio analógico de madeira
|
||||||
|
Digital clock=Relógio digital
|
||||||
|
Alarm clock=Despertador
|
||||||
|
Grandfather Clock=Relógio Antigo
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Despertador
|
|
||||||
Digital clock=Relógio digital
|
|
||||||
Grandfather Clock=Relógio Antigo
|
|
||||||
Plastic analog clock=Relógio analógico de plástico
|
Plastic analog clock=Relógio analógico de plástico
|
||||||
Wooden analog clock=Relógio analógico de madeira
|
Wooden analog clock=Relógio analógico de madeira
|
||||||
|
Digital clock=Relógio digital
|
||||||
|
Alarm clock=Despertador
|
||||||
|
Grandfather Clock=Relógio Antigo
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=Будильник
|
|
||||||
Digital clock=Цифровые часы
|
|
||||||
Grandfather Clock=Дедушкины часы
|
|
||||||
Plastic analog clock=Пластиковые стрелочные часы
|
Plastic analog clock=Пластиковые стрелочные часы
|
||||||
Wooden analog clock=Деревянные стрелочные часы
|
Wooden analog clock=Деревянные стрелочные часы
|
||||||
|
Digital clock=Цифровые часы
|
||||||
|
Alarm clock=Будильник
|
||||||
|
Grandfather Clock=Дедушкины часы
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=闹钟
|
|
||||||
Digital clock=数字时钟
|
|
||||||
Grandfather Clock=祖父钟
|
|
||||||
Plastic analog clock=塑料时钟
|
Plastic analog clock=塑料时钟
|
||||||
Wooden analog clock=木钟
|
Wooden analog clock=木钟
|
||||||
|
Digital clock=数字时钟
|
||||||
|
Alarm clock=闹钟
|
||||||
|
Grandfather Clock=祖父钟
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# textdomain: homedecor_clocks
|
# textdomain: homedecor_clocks
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Alarm clock=
|
|
||||||
Digital clock=
|
|
||||||
Grandfather Clock=
|
|
||||||
Plastic analog clock=
|
Plastic analog clock=
|
||||||
Wooden analog clock=
|
Wooden analog clock=
|
||||||
|
Digital clock=
|
||||||
|
Alarm clock=
|
||||||
|
Grandfather Clock=
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Spinnennetz
|
Cobweb=Spinnennetz
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Telaraña
|
Cobweb=Telaraña
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Toile d'araignée
|
Cobweb=Toile d'araignée
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Sarang Labah-Labah
|
Cobweb=Sarang Labah-Labah
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Teia de Aranha
|
Cobweb=Teia de Aranha
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Teia de Aranha
|
Cobweb=Teia de Aranha
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=Паутина
|
Cobweb=Паутина
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=蛛网
|
Cobweb=蛛网
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
# textdomain: homedecor_cobweb
|
# textdomain: homedecor_cobweb
|
||||||
|
|
||||||
|
|
||||||
### init.lua ###
|
|
||||||
|
|
||||||
Cobweb=
|
Cobweb=
|
||||||
|
|
|
@ -91,16 +91,6 @@ function homedecor.register_furnace(name, furnacedef)
|
||||||
|
|
||||||
local description = furnacedef.description or S("Furnace")
|
local description = furnacedef.description or S("Furnace")
|
||||||
|
|
||||||
local furnace_construct = function(pos)
|
|
||||||
local meta = minetest.get_meta(pos)
|
|
||||||
meta:set_string("formspec", make_formspec(furnacedef, 0))
|
|
||||||
meta:set_string("infotext", description)
|
|
||||||
local inv = meta:get_inventory()
|
|
||||||
inv:set_size("fuel", 1)
|
|
||||||
inv:set_size("src", 1)
|
|
||||||
inv:set_size("dst", furnacedef.output_slots)
|
|
||||||
end
|
|
||||||
|
|
||||||
local furnace_allow_put = function(pos, listname, index, stack, player)
|
local furnace_allow_put = function(pos, listname, index, stack, player)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
@ -139,6 +129,191 @@ function homedecor.register_furnace(name, furnacedef)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local n_active = name.."_active"
|
||||||
|
local nname, name_active = "homedecor:"..name, "homedecor:"..n_active
|
||||||
|
|
||||||
|
local function furnace_node_timer(pos, elapsed)
|
||||||
|
--
|
||||||
|
-- Initialize metadata
|
||||||
|
--
|
||||||
|
local meta = minetest.get_meta(pos)
|
||||||
|
local fuel_time = meta:get_float("fuel_time") or 0
|
||||||
|
local src_time = meta:get_float("src_time") or 0
|
||||||
|
local fuel_totaltime = meta:get_float("fuel_totaltime") or 0
|
||||||
|
|
||||||
|
local inv = meta:get_inventory()
|
||||||
|
local srclist, fuellist
|
||||||
|
local dst_full = false
|
||||||
|
|
||||||
|
local timer_elapsed = meta:get_int("timer_elapsed") or 0
|
||||||
|
meta:set_int("timer_elapsed", timer_elapsed + 1)
|
||||||
|
|
||||||
|
local cookable, cooked
|
||||||
|
local fuel
|
||||||
|
|
||||||
|
local update = true
|
||||||
|
while elapsed > 0 and update do
|
||||||
|
update = false
|
||||||
|
|
||||||
|
srclist = inv:get_list("src")
|
||||||
|
fuellist = inv:get_list("fuel")
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Cooking
|
||||||
|
--
|
||||||
|
|
||||||
|
-- Check if we have cookable content
|
||||||
|
local aftercooked
|
||||||
|
cooked, aftercooked = minetest.get_craft_result({method = "cooking", width = 1, items = srclist})
|
||||||
|
cookable = cooked.time ~= 0
|
||||||
|
|
||||||
|
local el = math.min(elapsed, fuel_totaltime - fuel_time)
|
||||||
|
if cookable then -- fuel lasts long enough, adjust el to cooking duration
|
||||||
|
el = math.min(el, cooked.time - src_time)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Check if we have enough fuel to burn
|
||||||
|
if fuel_time < fuel_totaltime then
|
||||||
|
-- The furnace is currently active and has enough fuel
|
||||||
|
fuel_time = fuel_time + el
|
||||||
|
-- If there is a cookable item then check if it is ready yet
|
||||||
|
if cookable then
|
||||||
|
src_time = src_time + el
|
||||||
|
if src_time >= cooked.time then
|
||||||
|
-- Place result in dst list if possible
|
||||||
|
if inv:room_for_item("dst", cooked.item) then
|
||||||
|
inv:add_item("dst", cooked.item)
|
||||||
|
inv:set_stack("src", 1, aftercooked.items[1])
|
||||||
|
src_time = src_time - cooked.time
|
||||||
|
update = true
|
||||||
|
else
|
||||||
|
dst_full = true
|
||||||
|
end
|
||||||
|
else
|
||||||
|
-- Item could not be cooked: probably missing fuel
|
||||||
|
update = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
else
|
||||||
|
-- Furnace ran out of fuel
|
||||||
|
if cookable then
|
||||||
|
-- We need to get new fuel
|
||||||
|
local afterfuel
|
||||||
|
fuel, afterfuel = minetest.get_craft_result({method = "fuel", width = 1, items = fuellist})
|
||||||
|
|
||||||
|
if fuel.time == 0 then
|
||||||
|
-- No valid fuel in fuel list
|
||||||
|
fuel_totaltime = 0
|
||||||
|
src_time = 0
|
||||||
|
else
|
||||||
|
-- prevent blocking of fuel inventory (for automatization mods)
|
||||||
|
local is_fuel = minetest.get_craft_result({method = "fuel", width = 1, items = {afterfuel.items[1]:to_string()}})
|
||||||
|
if is_fuel.time == 0 then
|
||||||
|
table.insert(fuel.replacements, afterfuel.items[1])
|
||||||
|
inv:set_stack("fuel", 1, "")
|
||||||
|
else
|
||||||
|
-- Take fuel from fuel list
|
||||||
|
inv:set_stack("fuel", 1, afterfuel.items[1])
|
||||||
|
end
|
||||||
|
-- Put replacements in dst list or drop them on the furnace.
|
||||||
|
local replacements = fuel.replacements
|
||||||
|
if replacements[1] then
|
||||||
|
local leftover = inv:add_item("dst", replacements[1])
|
||||||
|
if not leftover:is_empty() then
|
||||||
|
local above = vector.new(pos.x, pos.y + 1, pos.z)
|
||||||
|
local drop_pos = minetest.find_node_near(above, 1, {"air"}) or above
|
||||||
|
minetest.item_drop(replacements[1], nil, drop_pos)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
update = true
|
||||||
|
fuel_totaltime = fuel.time + (fuel_totaltime - fuel_time)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
-- We don't need to get new fuel since there is no cookable item
|
||||||
|
fuel_totaltime = 0
|
||||||
|
src_time = 0
|
||||||
|
end
|
||||||
|
fuel_time = 0
|
||||||
|
end
|
||||||
|
|
||||||
|
elapsed = elapsed - el
|
||||||
|
end
|
||||||
|
|
||||||
|
if fuel and fuel_totaltime > fuel.time then
|
||||||
|
fuel_totaltime = fuel.time
|
||||||
|
end
|
||||||
|
if srclist and srclist[1]:is_empty() then
|
||||||
|
src_time = 0
|
||||||
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Update formspec, infotext and node
|
||||||
|
--
|
||||||
|
local formspec
|
||||||
|
local infotext
|
||||||
|
|
||||||
|
local percent = math.floor(fuel_time / fuel_totaltime * 100)
|
||||||
|
|
||||||
|
local result = false
|
||||||
|
|
||||||
|
local node = minetest.get_node(pos)
|
||||||
|
local locked = node.name:find("_locked$") and "_locked" or ""
|
||||||
|
local desc = minetest.registered_nodes[nname..locked].description
|
||||||
|
|
||||||
|
if fuel_totaltime ~= 0 then
|
||||||
|
formspec = make_formspec(furnacedef, percent)
|
||||||
|
swap_node(pos, name_active .. locked)
|
||||||
|
-- make sure timer restarts automatically
|
||||||
|
result = true
|
||||||
|
else
|
||||||
|
formspec = make_formspec(furnacedef, 0)
|
||||||
|
infotext = S("@1 (out of fuel)", desc)
|
||||||
|
swap_node(pos, nname .. locked)
|
||||||
|
-- stop timer on the inactive furnace
|
||||||
|
minetest.get_node_timer(pos):stop()
|
||||||
|
meta:set_int("timer_elapsed", 0)
|
||||||
|
end
|
||||||
|
|
||||||
|
if not cookable and fuellist and not fuellist[1]:is_empty() then
|
||||||
|
infotext = S("@1 (empty)", desc)
|
||||||
|
end
|
||||||
|
|
||||||
|
if dst_full then
|
||||||
|
infotext = S("@1 (output bins are full)", desc)
|
||||||
|
result = false
|
||||||
|
formspec = make_formspec(furnacedef, 0)
|
||||||
|
swap_node(pos, nname .. locked)
|
||||||
|
-- stop timer on the inactive furnace
|
||||||
|
minetest.get_node_timer(pos):stop()
|
||||||
|
meta:set_int("timer_elapsed", 0)
|
||||||
|
fuel_totaltime, fuel_time, src_time = 0, 0, 0
|
||||||
|
end
|
||||||
|
|
||||||
|
if infotext == nil then
|
||||||
|
infotext = S("@1 (active: @2%)", desc, percent)
|
||||||
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Set meta values
|
||||||
|
--
|
||||||
|
meta:set_float("fuel_totaltime", fuel_totaltime)
|
||||||
|
meta:set_float("fuel_time", fuel_time)
|
||||||
|
meta:set_float("src_time", src_time)
|
||||||
|
meta:set_string("formspec", formspec)
|
||||||
|
meta:set_string("infotext", infotext)
|
||||||
|
|
||||||
|
return result
|
||||||
|
end
|
||||||
|
|
||||||
|
local furnace_construct = function(pos)
|
||||||
|
local meta = minetest.get_meta(pos)
|
||||||
|
local inv = meta:get_inventory()
|
||||||
|
inv:set_size("fuel", 1)
|
||||||
|
inv:set_size("src", 1)
|
||||||
|
inv:set_size("dst", furnacedef.output_slots)
|
||||||
|
furnace_node_timer(pos, 0)
|
||||||
|
end
|
||||||
|
|
||||||
local def = {
|
local def = {
|
||||||
description = description,
|
description = description,
|
||||||
tiles = make_tiles(furnacedef.tiles, furnacedef.tile_format, false),
|
tiles = make_tiles(furnacedef.tiles, furnacedef.tile_format, false),
|
||||||
|
@ -152,7 +327,19 @@ function homedecor.register_furnace(name, furnacedef)
|
||||||
allow_metadata_inventory_put = furnace_allow_put,
|
allow_metadata_inventory_put = furnace_allow_put,
|
||||||
allow_metadata_inventory_move = furnace_allow_move,
|
allow_metadata_inventory_move = furnace_allow_move,
|
||||||
inventory = { lockable = true },
|
inventory = { lockable = true },
|
||||||
is_furnace = true
|
is_furnace = true,
|
||||||
|
on_timer = furnace_node_timer,
|
||||||
|
on_metadata_inventory_move = function(pos)
|
||||||
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
|
end,
|
||||||
|
on_metadata_inventory_put = function(pos)
|
||||||
|
-- start timer function, it will sort out whether furnace can burn or not.
|
||||||
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
|
end,
|
||||||
|
on_metadata_inventory_take = function(pos)
|
||||||
|
-- check whether the furnace is empty or not.
|
||||||
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
local def_active = {
|
local def_active = {
|
||||||
|
@ -170,7 +357,19 @@ function homedecor.register_furnace(name, furnacedef)
|
||||||
allow_metadata_inventory_put = furnace_allow_put,
|
allow_metadata_inventory_put = furnace_allow_put,
|
||||||
allow_metadata_inventory_move = furnace_allow_move,
|
allow_metadata_inventory_move = furnace_allow_move,
|
||||||
inventory = { lockable = true },
|
inventory = { lockable = true },
|
||||||
is_furnace = true
|
is_furnace = true,
|
||||||
|
on_timer = furnace_node_timer,
|
||||||
|
on_metadata_inventory_move = function(pos)
|
||||||
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
|
end,
|
||||||
|
on_metadata_inventory_put = function(pos)
|
||||||
|
-- start timer function, it will sort out whether furnace can burn or not.
|
||||||
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
|
end,
|
||||||
|
on_metadata_inventory_take = function(pos)
|
||||||
|
-- check whether the furnace is empty or not.
|
||||||
|
minetest.get_node_timer(pos):start(1.0)
|
||||||
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
if furnacedef.extra_nodedef_fields then
|
if furnacedef.extra_nodedef_fields then
|
||||||
|
@ -180,113 +379,6 @@ function homedecor.register_furnace(name, furnacedef)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local n_active = name.."_active"
|
|
||||||
|
|
||||||
homedecor.register(name, def)
|
homedecor.register(name, def)
|
||||||
homedecor.register(n_active, def_active)
|
homedecor.register(n_active, def_active)
|
||||||
|
|
||||||
local nname, name_active = "homedecor:"..name, "homedecor:"..n_active
|
|
||||||
|
|
||||||
minetest.register_abm({
|
|
||||||
nodenames = {nname, name_active, nname.."_locked", name_active.."_locked"},
|
|
||||||
label = "furnaces",
|
|
||||||
interval = 1.0,
|
|
||||||
chance = 1,
|
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
|
||||||
local meta = minetest.get_meta(pos)
|
|
||||||
for i, pname in ipairs({
|
|
||||||
"fuel_totaltime",
|
|
||||||
"fuel_time",
|
|
||||||
"src_totaltime",
|
|
||||||
"src_time"
|
|
||||||
}) do
|
|
||||||
if meta:get_string(pname) == "" then
|
|
||||||
meta:set_float(pname, 0.0)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
local inv = meta:get_inventory()
|
|
||||||
|
|
||||||
local srclist = inv:get_list("src")
|
|
||||||
local cooked = nil
|
|
||||||
local aftercooked
|
|
||||||
|
|
||||||
if srclist then
|
|
||||||
cooked, aftercooked = minetest.get_craft_result({method = "cooking", width = 1, items = srclist})
|
|
||||||
end
|
|
||||||
|
|
||||||
local was_active = false
|
|
||||||
|
|
||||||
if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
|
|
||||||
was_active = true
|
|
||||||
meta:set_float("fuel_time", meta:get_float("fuel_time") + 1)
|
|
||||||
meta:set_float("src_time", meta:get_float("src_time") + furnacedef.cook_speed)
|
|
||||||
if cooked and cooked.item and meta:get_float("src_time") >= cooked.time then
|
|
||||||
-- check if there's room for output in "dst" list
|
|
||||||
if inv:room_for_item("dst",cooked.item) then
|
|
||||||
-- Put result in "dst" list
|
|
||||||
inv:add_item("dst", cooked.item)
|
|
||||||
-- take stuff from "src" list
|
|
||||||
inv:set_stack("src", 1, aftercooked.items[1])
|
|
||||||
end
|
|
||||||
meta:set_string("src_time", 0)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- XXX: Quick patch, make it better in the future.
|
|
||||||
local locked = node.name:find("_locked$") and "_locked" or ""
|
|
||||||
local desc = minetest.registered_nodes[nname..locked].description
|
|
||||||
|
|
||||||
if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
|
|
||||||
local percent = math.floor(meta:get_float("fuel_time") /
|
|
||||||
meta:get_float("fuel_totaltime") * 100)
|
|
||||||
meta:set_string("infotext", S("@1 (active: @2%)", desc, percent))
|
|
||||||
swap_node(pos,name_active..locked)
|
|
||||||
meta:set_string("formspec", make_formspec(furnacedef, percent))
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local fuel = nil
|
|
||||||
local afterfuel
|
|
||||||
cooked = nil
|
|
||||||
local fuellist = inv:get_list("fuel")
|
|
||||||
srclist = inv:get_list("src")
|
|
||||||
|
|
||||||
if srclist then
|
|
||||||
cooked = minetest.get_craft_result({method = "cooking", width = 1, items = srclist})
|
|
||||||
end
|
|
||||||
if fuellist then
|
|
||||||
fuel, afterfuel = minetest.get_craft_result({method = "fuel", width = 1, items = fuellist})
|
|
||||||
end
|
|
||||||
|
|
||||||
if (not fuel) or (fuel.time <= 0) then
|
|
||||||
meta:set_string("infotext", S("@1 (out of fuel)", desc))
|
|
||||||
swap_node(pos, nname..locked)
|
|
||||||
meta:set_string("formspec", make_formspec(furnacedef, 0))
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if cooked.item:is_empty() then
|
|
||||||
if was_active then
|
|
||||||
meta:set_string("infotext", S("@1 (empty)", desc))
|
|
||||||
swap_node(pos, nname..locked)
|
|
||||||
meta:set_string("formspec", make_formspec(furnacedef, 0))
|
|
||||||
end
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if not inv:room_for_item("dst", cooked.item) then
|
|
||||||
meta:set_string("infotext", S("@1 (output bins are full)", desc))
|
|
||||||
swap_node(pos, nname..locked)
|
|
||||||
meta:set_string("formspec", make_formspec(furnacedef, 0))
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
meta:set_string("fuel_totaltime", fuel.time)
|
|
||||||
meta:set_string("fuel_time", 0)
|
|
||||||
|
|
||||||
inv:set_stack("fuel", 1, afterfuel.items[1])
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -54,15 +54,13 @@ homedecor.color_dark_grey = 0xff606060
|
||||||
homedecor.color_med_grey = 0xffa0a0a0
|
homedecor.color_med_grey = 0xffa0a0a0
|
||||||
|
|
||||||
-- load different handler subsystems
|
-- load different handler subsystems
|
||||||
dofile(modpath.."/textures.lua")
|
dofile(modpath.."/xcompat.lua")
|
||||||
dofile(modpath.."/materials.lua")
|
|
||||||
dofile(modpath.."/nodeboxes.lua")
|
dofile(modpath.."/nodeboxes.lua")
|
||||||
dofile(modpath.."/expansion.lua")
|
dofile(modpath.."/expansion.lua")
|
||||||
dofile(modpath.."/furnaces.lua")
|
dofile(modpath.."/furnaces.lua")
|
||||||
dofile(modpath.."/inventory.lua")
|
dofile(modpath.."/inventory.lua")
|
||||||
dofile(modpath.."/registration.lua")
|
dofile(modpath.."/registration.lua")
|
||||||
dofile(modpath.."/water_particles.lua")
|
dofile(modpath.."/water_particles.lua")
|
||||||
dofile(modpath.."/sit.lua")
|
|
||||||
dofile(modpath.."/crafts.lua")
|
dofile(modpath.."/crafts.lua")
|
||||||
|
|
||||||
if minetest.settings:get_bool("log_mods") then
|
if minetest.settings:get_bool("log_mods") then
|
||||||
|
|
|
@ -12,6 +12,7 @@ local default_can_dig = function(pos,player)
|
||||||
return meta:get_inventory():is_empty("main")
|
return meta:get_inventory():is_empty("main")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local default_can_interact_with_node = xcompat.functions.can_interact_with_node
|
||||||
|
|
||||||
local default_inventory_formspecs = {
|
local default_inventory_formspecs = {
|
||||||
["4"]="size[8,6]"..
|
["4"]="size[8,6]"..
|
||||||
|
@ -133,7 +134,7 @@ function homedecor.handle_inventory(name, def, original_def)
|
||||||
|
|
||||||
local allow_move = def.allow_metadata_inventory_move
|
local allow_move = def.allow_metadata_inventory_move
|
||||||
def.allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
|
def.allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
|
||||||
if not default.can_interact_with_node(player, pos) then
|
if not default_can_interact_with_node(player, pos) then
|
||||||
minetest.log("action", player:get_player_name().." tried to access a "..name.." belonging to "
|
minetest.log("action", player:get_player_name().." tried to access a "..name.." belonging to "
|
||||||
..minetest.get_meta(pos):get_string("owner").." at "..minetest.pos_to_string(pos))
|
..minetest.get_meta(pos):get_string("owner").." at "..minetest.pos_to_string(pos))
|
||||||
return 0
|
return 0
|
||||||
|
@ -144,7 +145,7 @@ function homedecor.handle_inventory(name, def, original_def)
|
||||||
|
|
||||||
local allow_put = def.allow_metadata_inventory_put
|
local allow_put = def.allow_metadata_inventory_put
|
||||||
def.allow_metadata_inventory_put = function(pos, listname, index, stack, player)
|
def.allow_metadata_inventory_put = function(pos, listname, index, stack, player)
|
||||||
if not default.can_interact_with_node(player, pos) then
|
if not default_can_interact_with_node(player, pos) then
|
||||||
minetest.log("action", player:get_player_name().." tried to access a "..name.." belonging to"
|
minetest.log("action", player:get_player_name().." tried to access a "..name.." belonging to"
|
||||||
..minetest.get_meta(pos):get_string("owner").." at "..minetest.pos_to_string(pos))
|
..minetest.get_meta(pos):get_string("owner").." at "..minetest.pos_to_string(pos))
|
||||||
return 0
|
return 0
|
||||||
|
@ -155,7 +156,7 @@ function homedecor.handle_inventory(name, def, original_def)
|
||||||
|
|
||||||
local allow_take = def.allow_metadata_inventory_take
|
local allow_take = def.allow_metadata_inventory_take
|
||||||
def.allow_metadata_inventory_take = function(pos, listname, index, stack, player)
|
def.allow_metadata_inventory_take = function(pos, listname, index, stack, player)
|
||||||
if not default.can_interact_with_node(player, pos) then
|
if not default_can_interact_with_node(player, pos) then
|
||||||
minetest.log("action", player:get_player_name().." tried to access a "..name.." belonging to"
|
minetest.log("action", player:get_player_name().." tried to access a "..name.." belonging to"
|
||||||
..minetest.get_meta(pos):get_string("owner").." at ".. minetest.pos_to_string(pos))
|
..minetest.get_meta(pos):get_string("owner").." at ".. minetest.pos_to_string(pos))
|
||||||
return 0
|
return 0
|
||||||
|
@ -166,7 +167,7 @@ function homedecor.handle_inventory(name, def, original_def)
|
||||||
|
|
||||||
local can_dig = def.can_dig or default_can_dig
|
local can_dig = def.can_dig or default_can_dig
|
||||||
def.can_dig = function(pos, player)
|
def.can_dig = function(pos, player)
|
||||||
return default.can_interact_with_node(player, pos) and (can_dig and can_dig(pos, player) == true)
|
return default_can_interact_with_node(player, pos) and (can_dig and can_dig(pos, player) == true)
|
||||||
end
|
end
|
||||||
|
|
||||||
def.on_key_use = function(pos, player)
|
def.on_key_use = function(pos, player)
|
||||||
|
@ -210,7 +211,7 @@ function homedecor.handle_inventory(name, def, original_def)
|
||||||
if lockable then
|
if lockable then
|
||||||
local locked_def = table.copy(original_def)
|
local locked_def = table.copy(original_def)
|
||||||
locked_def.description = S("@1 (Locked)", def.description or name)
|
locked_def.description = S("@1 (Locked)", def.description or name)
|
||||||
|
locked_def.crafts = nil
|
||||||
local locked_inventory = locked_def.inventory
|
local locked_inventory = locked_def.inventory
|
||||||
locked_inventory.locked = true
|
locked_inventory.locked = true
|
||||||
locked_inventory.lockable = nil -- avoid loops of locked locked stuff
|
locked_inventory.lockable = nil -- avoid loops of locked locked stuff
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Kleine Holzschublade
|
|
||||||
Terracotta Roof Tile=Terrakottadachziegel
|
Terracotta Roof Tile=Terrakottadachziegel
|
||||||
|
Small Wooden Drawer=Kleine Holzschublade
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=Nicht genügeng Platz – Der Platz für das Kopfende ist belegt!
|
Not enough room - the space for the headboard is occupied!=Nicht genügeng Platz – Der Platz für das Kopfende ist belegt!
|
||||||
|
Someone already owns the spot where the headboard goes.=Jemanden gehört schon der Platz, wo das Kopfende hingehen würde.
|
||||||
Not enough room - the upper space is occupied!=Nicht genügend Platz – der obere Teil ist belegt!
|
Not enough room - the upper space is occupied!=Nicht genügend Platz – der obere Teil ist belegt!
|
||||||
Someone already owns that spot.=Jemanden gehört diese Stelle schon.
|
Someone already owns that spot.=Jemanden gehört diese Stelle schon.
|
||||||
Someone already owns the spot where the headboard goes.=Jemanden gehört schon der Platz, wo das Kopfende hingehen würde.
|
Furnace=Ofen
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (aktiv)
|
|
||||||
@1 (active: @2%)=@1 (aktiv: @2%)
|
|
||||||
@1 (empty)=@1 (leer)
|
@1 (empty)=@1 (leer)
|
||||||
@1 (out of fuel)=@1 (kein Brennmaterial vorhanden)
|
@1 (out of fuel)=@1 (kein Brennmaterial vorhanden)
|
||||||
@1 (output bins are full)=@1 (Ausgabe ist voll)
|
@1 (output bins are full)=@1 (Ausgabe ist voll)
|
||||||
Furnace=Ofen
|
@1 (active: @2%)=@1 (aktiv: @2%)
|
||||||
|
@1 (active)=@1 (aktiv)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (abgeschlossen)
|
|
||||||
@1 (owned by @2)=@1 (gehört @2)
|
@1 (owned by @2)=@1 (gehört @2)
|
||||||
|
@1 (Locked)=@1 (abgeschlossen)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Cajón de madera pequeño
|
|
||||||
Terracotta Roof Tile=Tejado de terracota
|
Terracotta Roof Tile=Tejado de terracota
|
||||||
|
Small Wooden Drawer=Cajón de madera pequeño
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=No hay suficiente espacio - ¡El espacio para la cabecera está ocupado!
|
Not enough room - the space for the headboard is occupied!=No hay suficiente espacio - ¡El espacio para la cabecera está ocupado!
|
||||||
|
Someone already owns the spot where the headboard goes.=Alguien ya es dueño del lugar donde va la cabecera.
|
||||||
Not enough room - the upper space is occupied!=No hay suficiente espacio - ¡El espacio de encima está ocupado!
|
Not enough room - the upper space is occupied!=No hay suficiente espacio - ¡El espacio de encima está ocupado!
|
||||||
Someone already owns that spot.=Alguien ya es dueño de ese lugar.
|
Someone already owns that spot.=Alguien ya es dueño de ese lugar.
|
||||||
Someone already owns the spot where the headboard goes.=Alguien ya es dueño del lugar donde va la cabecera.
|
Furnace=Horno
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (activo)
|
|
||||||
@1 (active: @2%)=@1 (activo: @2%)
|
|
||||||
@1 (empty)=@1 (vacía)
|
@1 (empty)=@1 (vacía)
|
||||||
@1 (out of fuel)=@1 (sin combustible)
|
@1 (out of fuel)=@1 (sin combustible)
|
||||||
@1 (output bins are full)=@1 (ranuras de salida llenas)
|
@1 (output bins are full)=@1 (ranuras de salida llenas)
|
||||||
Furnace=Horno
|
@1 (active: @2%)=@1 (activo: @2%)
|
||||||
|
@1 (active)=@1 (activo)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (Cerrado)
|
|
||||||
@1 (owned by @2)=@1 (propiedad de @2)
|
@1 (owned by @2)=@1 (propiedad de @2)
|
||||||
|
@1 (Locked)=@1 (Cerrado)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Petit tiroir en bois
|
|
||||||
Terracotta Roof Tile=Tuile en terre cuite
|
Terracotta Roof Tile=Tuile en terre cuite
|
||||||
|
Small Wooden Drawer=Petit tiroir en bois
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=Pas assez de place - l'espace pour la tête de lit est occupé !
|
Not enough room - the space for the headboard is occupied!=Pas assez de place - l'espace pour la tête de lit est occupé !
|
||||||
|
Someone already owns the spot where the headboard goes.=Quelqu'un possède déjà l'endroit où doit aller la tête de lit.
|
||||||
Not enough room - the upper space is occupied!=Pas assez de place - l'espace en haut est occupé !
|
Not enough room - the upper space is occupied!=Pas assez de place - l'espace en haut est occupé !
|
||||||
Someone already owns that spot.=Quelqu'un est déjà propriétaire de cette zone.
|
Someone already owns that spot.=Quelqu'un est déjà propriétaire de cette zone.
|
||||||
Someone already owns the spot where the headboard goes.=Quelqu'un possède déjà l'endroit où doit aller la tête de lit.
|
Furnace=Fourneau
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (actif)
|
|
||||||
@1 (active: @2%)=@1 (actif : @2%)
|
|
||||||
@1 (empty)=@1 (vide)
|
@1 (empty)=@1 (vide)
|
||||||
@1 (out of fuel)=@1 (pas de combustible)
|
@1 (out of fuel)=@1 (pas de combustible)
|
||||||
@1 (output bins are full)=@1 (les réceptacles de sortie sont pleins)
|
@1 (output bins are full)=@1 (les réceptacles de sortie sont pleins)
|
||||||
Furnace=Fourneau
|
@1 (active: @2%)=@1 (actif : @2%)
|
||||||
|
@1 (active)=@1 (actif)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (verrouillé)
|
|
||||||
@1 (owned by @2)=@1 (propriété de @2)
|
@1 (owned by @2)=@1 (propriété de @2)
|
||||||
|
@1 (Locked)=@1 (verrouillé)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Bauletto in legno
|
|
||||||
Terracotta Roof Tile=Tegole di terracotta
|
Terracotta Roof Tile=Tegole di terracotta
|
||||||
|
Small Wooden Drawer=Bauletto in legno
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=
|
Not enough room - the space for the headboard is occupied!=
|
||||||
Not enough room - the upper space is occupied!=
|
|
||||||
Someone already owns that spot.=Spiacente, quel punto è di proprietà di %s.
|
|
||||||
Someone already owns the spot where the headboard goes.=
|
Someone already owns the spot where the headboard goes.=
|
||||||
|
Not enough room - the upper space is occupied!=
|
||||||
### furnaces.lua ###
|
Someone already owns that spot.=
|
||||||
|
|
||||||
@1 (active)=
|
|
||||||
@1 (active: @2%)=
|
|
||||||
@1 (empty)=
|
|
||||||
@1 (out of fuel)=Senza combustibile
|
|
||||||
@1 (output bins are full)=i contenitori sono pieni
|
|
||||||
Furnace=
|
Furnace=
|
||||||
|
@1 (empty)=
|
||||||
### inventory.lua ###
|
@1 (out of fuel)=@1 (Senza combustibile)
|
||||||
|
@1 (output bins are full)=@1 (i contenitori sono pieni)
|
||||||
@1 (Locked)=%s (Con lucchetto)
|
@1 (active: @2%)=
|
||||||
@1 (owned by @2)=%s (di proprietà di %s)
|
@1 (active)=
|
||||||
|
@1 (owned by @2)=@1 (di proprietà di @2)
|
||||||
|
@1 (Locked)=@1 (Con lucchetto)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Laci Kayu Kecil
|
|
||||||
Terracotta Roof Tile=Genting Bumbung Terracotta
|
Terracotta Roof Tile=Genting Bumbung Terracotta
|
||||||
|
Small Wooden Drawer=Laci Kayu Kecil
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=Tidak cukup ruang - ada barang di kawasan untuk letak kepala katil!
|
Not enough room - the space for the headboard is occupied!=Tidak cukup ruang - ada barang di kawasan untuk letak kepala katil!
|
||||||
|
Someone already owns the spot where the headboard goes.=Tempat untuk letak kepala katil itu kawasan kepunyaan orang lain.
|
||||||
Not enough room - the upper space is occupied!=Tidak cukup ruang - ada barang di kawasan atas!
|
Not enough room - the upper space is occupied!=Tidak cukup ruang - ada barang di kawasan atas!
|
||||||
Someone already owns that spot.=Kawasan itu kepunyaan orang lain.
|
Someone already owns that spot.=Kawasan itu kepunyaan orang lain.
|
||||||
Someone already owns the spot where the headboard goes.=Tempat untuk letak kepala katil itu kawasan kepunyaan orang lain.
|
Furnace=Relau
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (aktif)
|
|
||||||
@1 (active: @2%)=@1 (aktif: @2)
|
|
||||||
@1 (empty)=@1 (kosong)
|
@1 (empty)=@1 (kosong)
|
||||||
@1 (out of fuel)=@1 (kehabisan bahan api)
|
@1 (out of fuel)=@1 (kehabisan bahan api)
|
||||||
@1 (output bins are full)=@1 (dulang keluar penuh)
|
@1 (output bins are full)=@1 (dulang keluar penuh)
|
||||||
Furnace=Relau
|
@1 (active: @2%)=@1 (aktif: @2)
|
||||||
|
@1 (active)=@1 (aktif)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (Berkunci)
|
|
||||||
@1 (owned by @2)=@1 (hak milik @2)
|
@1 (owned by @2)=@1 (hak milik @2)
|
||||||
|
@1 (Locked)=@1 (Berkunci)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Gaveta Pequena de Madeira
|
|
||||||
Terracotta Roof Tile=Telha de Terracota
|
Terracotta Roof Tile=Telha de Terracota
|
||||||
|
Small Wooden Drawer=Gaveta Pequena de Madeira
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=Sem espaço - o espaço para a cabeceira está ocupado!
|
Not enough room - the space for the headboard is occupied!=Sem espaço - o espaço para a cabeceira está ocupado!
|
||||||
|
Someone already owns the spot where the headboard goes.=Alguém já é proprietário do local onde a cabeceira vai.
|
||||||
Not enough room - the upper space is occupied!=Sem espaço - o espaço acima está ocupado!
|
Not enough room - the upper space is occupied!=Sem espaço - o espaço acima está ocupado!
|
||||||
Someone already owns that spot.=Alguém já é proprietário deste lugar.
|
Someone already owns that spot.=Alguém já é proprietário deste lugar.
|
||||||
Someone already owns the spot where the headboard goes.=Alguém já é proprietário do local onde a cabeceira vai.
|
Furnace=Forno
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (ativo)
|
|
||||||
@1 (active: @2%)=@1 (ativo: @2%)
|
|
||||||
@1 (empty)=@1 (vazio)
|
@1 (empty)=@1 (vazio)
|
||||||
@1 (out of fuel)=@1 (sem combustível)
|
@1 (out of fuel)=@1 (sem combustível)
|
||||||
@1 (output bins are full)=@1 (saída de itens está lotada)
|
@1 (output bins are full)=@1 (saída de itens está lotada)
|
||||||
Furnace=Forno
|
@1 (active: @2%)=@1 (ativo: @2%)
|
||||||
|
@1 (active)=@1 (ativo)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (trancado)
|
|
||||||
@1 (owned by @2)=@1 (pertence a @2)
|
@1 (owned by @2)=@1 (pertence a @2)
|
||||||
|
@1 (Locked)=@1 (trancado)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Gaveta Pequena de Madeira
|
|
||||||
Terracotta Roof Tile=Telha de Terracota
|
Terracotta Roof Tile=Telha de Terracota
|
||||||
|
Small Wooden Drawer=Gaveta Pequena de Madeira
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=Sem espaço - o espaço para a cabeceira está ocupado!
|
Not enough room - the space for the headboard is occupied!=Sem espaço - o espaço para a cabeceira está ocupado!
|
||||||
|
Someone already owns the spot where the headboard goes.=Alguém já é proprietário do local onde a cabeceira vai.
|
||||||
Not enough room - the upper space is occupied!=Sem espaço - o espaço acima está ocupado!
|
Not enough room - the upper space is occupied!=Sem espaço - o espaço acima está ocupado!
|
||||||
Someone already owns that spot.=Alguém já é proprietário deste lugar.
|
Someone already owns that spot.=Alguém já é proprietário deste lugar.
|
||||||
Someone already owns the spot where the headboard goes.=Alguém já é proprietário do local onde a cabeceira vai.
|
Furnace=Forno
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (ativo)
|
|
||||||
@1 (active: @2%)=@1 (ativo: @2%)
|
|
||||||
@1 (empty)=@1 (vazio)
|
@1 (empty)=@1 (vazio)
|
||||||
@1 (out of fuel)=@1 (sem combustível)
|
@1 (out of fuel)=@1 (sem combustível)
|
||||||
@1 (output bins are full)=@1 (saída de itens está lotada)
|
@1 (output bins are full)=@1 (saída de itens está lotada)
|
||||||
Furnace=Forno
|
@1 (active: @2%)=@1 (ativo: @2%)
|
||||||
|
@1 (active)=@1 (ativo)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (trancado)
|
|
||||||
@1 (owned by @2)=@1 (pertence a @2)
|
@1 (owned by @2)=@1 (pertence a @2)
|
||||||
|
@1 (Locked)=@1 (trancado)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=Маленький деревянный выдвижной ящик
|
|
||||||
Terracotta Roof Tile=Терракотовая крыша
|
Terracotta Roof Tile=Терракотовая крыша
|
||||||
|
Small Wooden Drawer=Маленький деревянный выдвижной ящик
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=Не хватает места - пространство для изголовья занято!
|
Not enough room - the space for the headboard is occupied!=Не хватает места - пространство для изголовья занято!
|
||||||
|
Someone already owns the spot where the headboard goes.=Точка, куда ставится изголовье, уже принадлежит кому-то.
|
||||||
Not enough room - the upper space is occupied!=Не хватает места - верхнее пространство занято!
|
Not enough room - the upper space is occupied!=Не хватает места - верхнее пространство занято!
|
||||||
Someone already owns that spot.=Та точка уже принадлежит кому-то.
|
Someone already owns that spot.=Та точка уже принадлежит кому-то.
|
||||||
Someone already owns the spot where the headboard goes.=Точка, куда ставится изголовье, уже принадлежит кому-то.
|
Furnace=Печь
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1 (активно)
|
|
||||||
@1 (active: @2%)=@1 (активно: @2%)
|
|
||||||
@1 (empty)=@1 (пусто)
|
@1 (empty)=@1 (пусто)
|
||||||
@1 (out of fuel)=@1 (не хватает топлива)
|
@1 (out of fuel)=@1 (не хватает топлива)
|
||||||
@1 (output bins are full)=@1 (выходные ячейки заполнены)
|
@1 (output bins are full)=@1 (выходные ячейки заполнены)
|
||||||
Furnace=Печь
|
@1 (active: @2%)=@1 (активно: @2%)
|
||||||
|
@1 (active)=@1 (активно)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1 (Закрыто)
|
|
||||||
@1 (owned by @2)=@1 (принадлежит @2)
|
@1 (owned by @2)=@1 (принадлежит @2)
|
||||||
|
@1 (Locked)=@1 (Закрыто)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=小的木抽屉
|
|
||||||
Terracotta Roof Tile=陶土屋顶瓦
|
Terracotta Roof Tile=陶土屋顶瓦
|
||||||
|
Small Wooden Drawer=小的木抽屉
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=没有足够的空间-床头板的空间被占用了!
|
Not enough room - the space for the headboard is occupied!=没有足够的空间-床头板的空间被占用了!
|
||||||
|
Someone already owns the spot where the headboard goes.=有东西已经占用床头板的位置了。
|
||||||
Not enough room - the upper space is occupied!=没有足够的空间-上面的空间被占用了!
|
Not enough room - the upper space is occupied!=没有足够的空间-上面的空间被占用了!
|
||||||
Someone already owns that spot.=已经有东西占用那个地方了。
|
Someone already owns that spot.=已经有东西占用那个地方了。
|
||||||
Someone already owns the spot where the headboard goes.=有东西已经占用床头板的位置了。
|
Furnace=熔炉
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=@1(活动)
|
|
||||||
@1 (active: @2%)=@1(活动:@2%)
|
|
||||||
@1 (empty)=@1(空)
|
@1 (empty)=@1(空)
|
||||||
@1 (out of fuel)=@1(燃油耗尽)
|
@1 (out of fuel)=@1(燃油耗尽)
|
||||||
@1 (output bins are full)=@1(输出箱已满)
|
@1 (output bins are full)=@1(输出箱已满)
|
||||||
Furnace=熔炉
|
@1 (active: @2%)=@1(活动:@2%)
|
||||||
|
@1 (active)=@1(活动)
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=@1(锁定)
|
|
||||||
@1 (owned by @2)=@1(归@2所有)
|
@1 (owned by @2)=@1(归@2所有)
|
||||||
|
@1 (Locked)=@1(锁定)
|
||||||
|
|
|
@ -1,28 +1,15 @@
|
||||||
# textdomain: homedecor_common
|
# textdomain: homedecor_common
|
||||||
|
|
||||||
|
|
||||||
### crafts.lua ###
|
|
||||||
|
|
||||||
Small Wooden Drawer=
|
|
||||||
Terracotta Roof Tile=
|
Terracotta Roof Tile=
|
||||||
|
Small Wooden Drawer=
|
||||||
### expansion.lua ###
|
|
||||||
|
|
||||||
Not enough room - the space for the headboard is occupied!=
|
Not enough room - the space for the headboard is occupied!=
|
||||||
|
Someone already owns the spot where the headboard goes.=
|
||||||
Not enough room - the upper space is occupied!=
|
Not enough room - the upper space is occupied!=
|
||||||
Someone already owns that spot.=
|
Someone already owns that spot.=
|
||||||
Someone already owns the spot where the headboard goes.=
|
Furnace=
|
||||||
|
|
||||||
### furnaces.lua ###
|
|
||||||
|
|
||||||
@1 (active)=
|
|
||||||
@1 (active: @2%)=
|
|
||||||
@1 (empty)=
|
@1 (empty)=
|
||||||
@1 (out of fuel)=
|
@1 (out of fuel)=
|
||||||
@1 (output bins are full)=
|
@1 (output bins are full)=
|
||||||
Furnace=
|
@1 (active: @2%)=
|
||||||
|
@1 (active)=
|
||||||
### inventory.lua ###
|
|
||||||
|
|
||||||
@1 (Locked)=
|
|
||||||
@1 (owned by @2)=
|
@1 (owned by @2)=
|
||||||
|
@1 (Locked)=
|
||||||
|
|
|
@ -1,212 +0,0 @@
|
||||||
homedecor.materials = {
|
|
||||||
dirt = "default:dirt",
|
|
||||||
sand = "default:sand",
|
|
||||||
gravel = "default:gravel",
|
|
||||||
copper_ingot = "default:copper_ingot",
|
|
||||||
steel_ingot = "default:steel_ingot",
|
|
||||||
gold_ingot = "default:gold_ingot",
|
|
||||||
tin_ingot = "default:tin_ingot",
|
|
||||||
mese_crystal_fragment = "default:mese_crystal_fragment",
|
|
||||||
torch = "default:torch",
|
|
||||||
diamond = "default:diamond",
|
|
||||||
clay_lump = "default:clay_lump",
|
|
||||||
water_bucket = "bucket:bucket_water",
|
|
||||||
empty_bucket = "bucket:bucket_empty",
|
|
||||||
dye_dark_grey = "dye:dark_grey",
|
|
||||||
dye_black = "dye:black",
|
|
||||||
dye_white = "dye:white",
|
|
||||||
dye_green = "dye:green",
|
|
||||||
dye_red = "dye:red",
|
|
||||||
dye_yellow = "dye:yellow",
|
|
||||||
dye_brown = "dye:brown",
|
|
||||||
dye_blue = "dye:blue",
|
|
||||||
dye_violet = "dye:violet",
|
|
||||||
dye_grey = "dye:grey",
|
|
||||||
dye_dark_green = "dye:dark_green",
|
|
||||||
dye_orange = "dye:orange",
|
|
||||||
dye_pink = "dye:pink",
|
|
||||||
silicon = "mesecons_materials:silicon",
|
|
||||||
string = "farming:string",
|
|
||||||
paper = "default:paper",
|
|
||||||
book = "default:book",
|
|
||||||
iron_lump = "default:iron_lump",
|
|
||||||
wool_grey = "wool:grey",
|
|
||||||
wool_green = "wool:green",
|
|
||||||
wool_dark_green = "wool:dark_green",
|
|
||||||
wool_brown = "wool:brown",
|
|
||||||
wool_black = "wool:black",
|
|
||||||
wool_white = "wool:white",
|
|
||||||
slab_stone = "stairs:slab_stone",
|
|
||||||
slab_wood = "stairs:slab_wood",
|
|
||||||
glass_block = "default:glass",
|
|
||||||
glass_bottle = "vessels:glass_bottle",
|
|
||||||
coal_lump = "default:coal_lump",
|
|
||||||
stone = "default:stone",
|
|
||||||
cobble = "default:cobble",
|
|
||||||
brick = "default:brick",
|
|
||||||
}
|
|
||||||
|
|
||||||
if minetest.get_modpath("moreores") then
|
|
||||||
homedecor.materials.silver_ingot = "moreores:silver_ingot"
|
|
||||||
end
|
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_core") then
|
|
||||||
homedecor.materials = {
|
|
||||||
dirt = "mcl_core:dirt",
|
|
||||||
sand = "mcl_core:sand",
|
|
||||||
gravel = "mcl_core:gravel",
|
|
||||||
copper_ingot = "mcl_copper:copper_ingot",
|
|
||||||
steel_ingot = "mcl_core:iron_ingot",
|
|
||||||
gold_ingot = "mcl_core:gold_ingot",
|
|
||||||
tin_ingot = "mcl_core:iron_ingot",
|
|
||||||
mese_crystal_fragment = "mcl_core:iron_ingot",
|
|
||||||
torch = "mcl_torches:torch",
|
|
||||||
diamond = "mcl_core:diamond",
|
|
||||||
clay_lump = "default:clay_lump",
|
|
||||||
water_bucket = "mcl_buckets:bucket:bucket_water",
|
|
||||||
empty_bucket = "mcl_buckets:bucket_empty",
|
|
||||||
dye_dark_grey = "mcl_dyes:dark_grey",
|
|
||||||
dye_black = "mcl_dyes:black",
|
|
||||||
dye_white = "mcl_dyes:white",
|
|
||||||
dye_green = "mcl_dyes:green",
|
|
||||||
dye_red = "mcl_dyes:red",
|
|
||||||
dye_yellow = "mcl_dyes:yellow",
|
|
||||||
dye_brown = "mcl_dyes:brown",
|
|
||||||
dye_blue = "mcl_dyes:blue",
|
|
||||||
dye_violet = "mcl_dyes:violet",
|
|
||||||
dye_grey = "mcl_dyes:grey",
|
|
||||||
dye_dark_green = "mcl_dyes:dark_green",
|
|
||||||
dye_orange = "mcl_dyes:orange",
|
|
||||||
dye_pink = "mcl_dyes:pink",
|
|
||||||
silicon = "mcl_core:iron_ingot",
|
|
||||||
string = "mcl_mobitems:string",
|
|
||||||
paper = "mcl_core:paper",
|
|
||||||
book = "mcl_core:book",
|
|
||||||
iron_lump = "mcl_core:stone_with_iron",
|
|
||||||
wool_grey = "mcl_wool:grey",
|
|
||||||
wool_green = "mcl_wool:green",
|
|
||||||
wool_dark_green = "mcl_wool:dark_green",
|
|
||||||
wool_brown = "mcl_wool:brown",
|
|
||||||
wool_black = "mcl_wool:black",
|
|
||||||
wool_white = "mcl_wool:white",
|
|
||||||
slab_stone = "mcl_stairs:slab_stone",
|
|
||||||
slab_wood = "mcl_stairs:slab_wood",
|
|
||||||
glass_block = "mcl_core:glass",
|
|
||||||
glass_bottle = "mcl_core:glass_bottle",
|
|
||||||
coal_lump = "mcl_core:coal",
|
|
||||||
stone = "mcl_core:stone",
|
|
||||||
cobble = "mcl_core:cobble",
|
|
||||||
brick = "mcl_core:brick",
|
|
||||||
}
|
|
||||||
elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
|
||||||
homedecor.materials = {
|
|
||||||
dirt = "fl_topsoil:dirt",
|
|
||||||
sand = "fl_stone:sand",
|
|
||||||
gravel = "fl_topsoil:gravel",
|
|
||||||
steel_ingot = "fl_ores:iron_ingot",
|
|
||||||
gold_ingot = "fl_ores:gold_ingot",
|
|
||||||
mese_crystal_fragment = "fl_ores:iron_ingot",
|
|
||||||
torch = "fl_light_sources:torch",
|
|
||||||
diamond = "fl_ores:diamond",
|
|
||||||
clay_lump = "fl_bricks:clay_lump",
|
|
||||||
water_bucket = "fl_bucket:bucket_water",
|
|
||||||
empty_bucket = "fl_bucket:bucket",
|
|
||||||
dye_dark_grey = "fl_dyes:dark_grey_dye",
|
|
||||||
dye_black = "fl_dyes:black_dye",
|
|
||||||
dye_white = "fl_dyes:white_dye",
|
|
||||||
dye_green = "fl_dyes:green_dye",
|
|
||||||
dye_red = "fl_dyes:red_dye",
|
|
||||||
dye_yellow = "fl_dyes:yellow_dye",
|
|
||||||
dye_brown = "fl_dyes:brown_dye",
|
|
||||||
dye_blue = "fl_dyes:blue_dye",
|
|
||||||
dye_violet = "fl_dyes:violet_dye",
|
|
||||||
dye_grey = "fl_dyes:grey_dye",
|
|
||||||
dye_dark_green = "fl_dyes:dark_green_dye",
|
|
||||||
dye_orange = "fl_dyes:orange_dye",
|
|
||||||
dye_pink = "fl_dyes:pink_dye",
|
|
||||||
copper_ingot = "fl_ores:copper_ingot",
|
|
||||||
tin_ingot = "fl_ores:tin_ingot",
|
|
||||||
silver_ingot = "fl_ores:iron_ingot",
|
|
||||||
silicon = "mesecons_materials:silicon",
|
|
||||||
string = "fl_plantlife:oxeye_daisy",
|
|
||||||
paper = "basic_materials:plastic_sheet",
|
|
||||||
iron_lump = "fl_ores:iron_ore",
|
|
||||||
wool_grey = "",
|
|
||||||
wool_green = "",
|
|
||||||
wool_dark_green = "",
|
|
||||||
wool_brown = "",
|
|
||||||
wool_black = "",
|
|
||||||
wool_white = "",
|
|
||||||
slab_stone = "fl_stone:stone_slab",
|
|
||||||
slab_wood = "fl_trees:apple_plank_slab",
|
|
||||||
glass_block = "fl_glass:framed_glass",
|
|
||||||
glass_bottle = "fl_bottles:bottle",
|
|
||||||
coal_lump = "fl_ores:coal_ore",
|
|
||||||
stone = "fl_stone:stone",
|
|
||||||
cobble = "fl_stone:stone_rubble",
|
|
||||||
brick = "",
|
|
||||||
}
|
|
||||||
elseif minetest.get_modpath("hades_core") then
|
|
||||||
homedecor.materials = {
|
|
||||||
sand = "hades_core:fertile_sand",
|
|
||||||
gravel = "hades_core:gravel",
|
|
||||||
copper_ingot = "hades_core:copper_ingot",
|
|
||||||
steel_ingot = "hades_core:steel_ingot",
|
|
||||||
gold_ingot = "hades_core:gold_ingot",
|
|
||||||
tin_ingot = "hades_core:tin_ingot",
|
|
||||||
silver_ingot = "--unknown--",
|
|
||||||
mese_crystal_fragment = "hades_core:mese_crystal_fragment",
|
|
||||||
torch = "hades_torches:torch",
|
|
||||||
diamond = "hades_core:diamond",
|
|
||||||
clay_lump = "hades_core:clay_lump",
|
|
||||||
clay_brick = "hades_core:clay_brick",
|
|
||||||
|
|
||||||
--[[
|
|
||||||
Since hades doesnt have buckets or water for the user,
|
|
||||||
using dirt from near water to pull the water out
|
|
||||||
]]
|
|
||||||
water_bucket = "hades_core:dirt",
|
|
||||||
empty_bucket = "hades_core:fertile_sand",
|
|
||||||
dye_dark_grey = "dye:dark_grey",
|
|
||||||
dye_black = "dye:black",
|
|
||||||
dye_white = "dye:white",
|
|
||||||
dye_green = "dye:green",
|
|
||||||
dye_red = "dye:red",
|
|
||||||
dye_yellow = "dye:yellow",
|
|
||||||
dye_brown = "dye:brown",
|
|
||||||
dye_blue = "dye:blue",
|
|
||||||
dye_violet = "dye:violet",
|
|
||||||
dye_grey = "dye:grey",
|
|
||||||
dye_dark_green = "dye:dark_green",
|
|
||||||
dye_orange = "dye:orange",
|
|
||||||
dye_pink = "dye:pink",
|
|
||||||
silicon = "hades_materials:silicon",
|
|
||||||
string = "hades_farming:string",
|
|
||||||
paper = "hades_core:paper",
|
|
||||||
book = "hades_core:book",
|
|
||||||
iron_lump = "hades_core:iron_lump",
|
|
||||||
wool_grey = "wool:grey",
|
|
||||||
wool_green = "wool:green",
|
|
||||||
wool_dark_green = "wool:dark_green",
|
|
||||||
wool_brown = "wool:brown",
|
|
||||||
wool_black = "wool:black",
|
|
||||||
wool_white = "wool:white",
|
|
||||||
slab_stone = "stairs:slab_stone",
|
|
||||||
slab_wood = "stairs:slab_wood",
|
|
||||||
glass_block = "hades_core:glass",
|
|
||||||
glass_bottle = "vessels:glass_bottle",
|
|
||||||
obsidian_glass = "hades_core:obsidian_glass",
|
|
||||||
coal_lump = "hades_core:coal_lump",
|
|
||||||
stone = "hades_core:stone",
|
|
||||||
cobble = "hades_core:cobble",
|
|
||||||
brick = "hades_core:brick"
|
|
||||||
}
|
|
||||||
|
|
||||||
if minetest.get_modpath("hades_bucket") then
|
|
||||||
homedecor.materials["water_bucket"] = "hades_bucket:bucket_water"
|
|
||||||
homedecor.materials["empty_bucket"] = "hades_bucket:bucket_empty"
|
|
||||||
end
|
|
||||||
if minetest.get_modpath("hades_extraores") then
|
|
||||||
homedecor.materials["silver_ingot"] = "hades_extraores:silver_ingot"
|
|
||||||
end
|
|
||||||
end
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user