Compare commits
117 Commits
2019-06-02
...
2021-02-25
Author | SHA1 | Date | |
---|---|---|---|
cc0887cfb4 | |||
968d706e9b | |||
bc55cde65c | |||
e049380408 | |||
e57c4a55e6 | |||
e73b4affe7 | |||
62cdcc5795 | |||
fd596ea83b | |||
9ab3cb361f | |||
4b05c86486 | |||
f9ca183f2a | |||
a57723df7d | |||
af808c7586 | |||
99d5d96113 | |||
93bf5d76ae | |||
ec06010320 | |||
96a0862833 | |||
77bb9636bc | |||
77af2295ae | |||
f2cd1fbd49 | |||
43de5b79ae | |||
0678ecdafc | |||
ec1be77d7e | |||
1ecde7e278 | |||
47a029923c | |||
c2122a634a | |||
98b281aade | |||
1090c9139c | |||
1c7ceb2e90 | |||
f0ab7a6c78 | |||
0800810530 | |||
b88d76d07f | |||
3bc711b9e3 | |||
4a72054c78 | |||
204beaaaac | |||
f7412c6191 | |||
0e52553b8a | |||
a9809998bf | |||
ea6e75fa6a | |||
661636bb5c | |||
77df83e161 | |||
92649fad62 | |||
e3ec030468 | |||
4f23eeec3e | |||
efba9e0648 | |||
eae0f6cb3c | |||
57d51e4596 | |||
6f383c66b0 | |||
9d28edc3ff | |||
22e4e0c42b | |||
1675a93fec | |||
facee91684 | |||
07e42fb2f5 | |||
512ae9ec67 | |||
4d6458b684 | |||
6b18347fb0 | |||
c1d9cc1de2 | |||
fc28c4385a | |||
c6e35a4e5c | |||
ea73ff6f6e | |||
1faa55a89e | |||
2b7905e12d | |||
55e1714cac | |||
9a814da186 | |||
b72c15076e | |||
18744ee66d | |||
7f67f4a035 | |||
8417cddf71 | |||
117bcddab9 | |||
377fb58c38 | |||
5aecf5f2c7 | |||
9be79ec6d0 | |||
4c0f068909 | |||
ce3c77564c | |||
43333687bd | |||
9ec3eab6f4 | |||
9f5cc15e62 | |||
ed41161554 | |||
77933d9dc3 | |||
c118b43711 | |||
f6da0f7329 | |||
e84a184946 | |||
0c9d883f28 | |||
97e7a31830 | |||
d897e6d97c | |||
8532dee8ed | |||
356f872327 | |||
6c07a31857 | |||
daef49a255 | |||
1072598701 | |||
60be4a6320 | |||
67f2065408 | |||
f90834ff06 | |||
c871e0d388 | |||
d17ec1d978 | |||
9dcc6c2b4d | |||
80352d69e1 | |||
1d59c2258d | |||
11e6b5d92a | |||
7e7b2bcabb | |||
b28f1314da | |||
17ea2040e2 | |||
ed9fb6a34d | |||
13862c1a48 | |||
e289e79aea | |||
80ab12710b | |||
1b94c940d7 | |||
df44dd3dad | |||
bff90189fc | |||
b407f06dc4 | |||
e6dc2c5508 | |||
bde2bf2bf6 | |||
ea160a6519 | |||
631813bb2d | |||
f33636d473 | |||
cbb41f7d98 | |||
c98ec41ba7 |
21
building_blocks/.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_comment_line_length = 999
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest", "core",
|
||||
"unpack",
|
||||
"dump",
|
||||
table = { fields = { "copy", "getn" } },
|
||||
"vector", "nodeupdate",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"stairsplus",
|
||||
"default",
|
||||
"stairs",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("building_blocks")
|
||||
|
||||
if minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs") then
|
||||
minetest.register_alias("building_blocks:slab_tar", "stairs:slab_Tar")
|
||||
|
@ -1,5 +0,0 @@
|
||||
default
|
||||
homedecor_common
|
||||
moreblocks?
|
||||
gloopblocks?
|
||||
stairs?
|
@ -1,4 +1,3 @@
|
||||
local S = homedecor.gettext
|
||||
local modpath = minetest.get_modpath("building_blocks")
|
||||
|
||||
dofile(modpath.."/alias.lua")
|
||||
|
48
building_blocks/locale/building_blocks.de.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granit
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Adobe
|
||||
Adobe Slab=Adobestufe
|
||||
Adobe Stair=Adobetreppe
|
||||
Brobble Spread=Ziesterboden
|
||||
Chess board tiling=Schachbrettkacheln
|
||||
Fake Grass=Falsches Gras
|
||||
Fake Grass Slab=Falsches-Gras-Stufe
|
||||
Fake Grass Stair=Falsches-Gras-Treppe
|
||||
Fireplace=Kamin
|
||||
Grate=Rost
|
||||
Grate Slab=Roststufe
|
||||
Grate Stair=Rosttreppe
|
||||
Gravel Spread=Kiesboden
|
||||
Hardwood=Hartholz
|
||||
Hardwood Slab=Hartholzstufe
|
||||
Hardwood Stair=Hartholztreppe
|
||||
Marble=Marmor
|
||||
Marble Slab=Marmorstufe
|
||||
Marble Stair=Marmortreppe
|
||||
Roof block=Dachblock
|
||||
Roof block Slab=Dachblockstufe
|
||||
Roof block Stair=Dachblocktreppe
|
||||
Streak Free Glass=Schlierenfreies Glas
|
||||
Streak Free Glass Slab=Schlierenfreies-Glas-Stufe
|
||||
Streak Free Glass Stair=Schlierenfreies-Glas-Treppe
|
||||
Tar=Teer
|
||||
Tar Slab=Teerstufe
|
||||
Tar Stair=Teertreppe
|
||||
Tarmac Spread=Asphaltboden
|
||||
Terrycloth towel=Frottiertuch
|
||||
Wood Framed Glass=Holzrahmenglas
|
||||
Wood Framed Glass Slab=Holzrahmenglasstufe
|
||||
Wood Framed Glass Stair=Holzrahmenglastreppe
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Kleines Bündel Stöcke
|
||||
Tar Knife=Teermesser
|
||||
Tar base=Teerbase
|
48
building_blocks/locale/building_blocks.es.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granito
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Adobe
|
||||
Adobe Slab=Losa de adobe
|
||||
Adobe Stair=Escaleras de adobe
|
||||
Brobble Spread=Mezcla de Ladroquines
|
||||
Chess board tiling=Azulejos de ajedrez
|
||||
Fake Grass=Hierba falsa
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Chimenea
|
||||
Grate=Reja
|
||||
Grate Slab=Losa de rejas
|
||||
Grate Stair=Escaleras de rejas
|
||||
Gravel Spread=Mezcla de gravilla
|
||||
Hardwood=Madera dura
|
||||
Hardwood Slab=Losa de madera dura
|
||||
Hardwood Stair=Escaleras de madera dura
|
||||
Marble=Mármol
|
||||
Marble Slab=Losa de mármol
|
||||
Marble Stair=Escaleras de mármol
|
||||
Roof block=Bloque de techo
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Vídrio sin rayas
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Alquitrán
|
||||
Tar Slab=Losa de alquitrán
|
||||
Tar Stair=Escaleras de alquitrán
|
||||
Tarmac Spread=Mezcla de asfalto
|
||||
Terrycloth towel=Toalla
|
||||
Wood Framed Glass=Vídrio enmarcado en madera
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Manojo de palitos
|
||||
Tar Knife=Cuchillo de alquitrán
|
||||
Tar base=Base de alquitrán
|
48
building_blocks/locale/building_blocks.fr.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granit
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Pisé
|
||||
Adobe Slab=Dalle en pisé
|
||||
Adobe Stair=Escalier en pisé
|
||||
Brobble Spread=Tapis rouge
|
||||
Chess board tiling=Pavage en échiquier
|
||||
Fake Grass=Herbe synthétique
|
||||
Fake Grass Slab=Dalle en herbe synthétique
|
||||
Fake Grass Stair=Escalier en herbe synthétique
|
||||
Fireplace=Cheminée
|
||||
Grate=Grille
|
||||
Grate Slab=Dalle en métal déployé
|
||||
Grate Stair=Escalier en métal déployé
|
||||
Gravel Spread=Tapis de gravier
|
||||
Hardwood=Bois dur (feuillu)
|
||||
Hardwood Slab=Dalle en bois dur (feuillu)
|
||||
Hardwood Stair=Escalier en bois dur (feuillu)
|
||||
Marble=Marbre
|
||||
Marble Slab=Dalle en marbre
|
||||
Marble Stair=Marche en marbre
|
||||
Roof block=Bloc de toit
|
||||
Roof block Slab=Dalle en bloc de toit
|
||||
Roof block Stair=Escalier en bloc de toit
|
||||
Streak Free Glass=Verre anti-rayures
|
||||
Streak Free Glass Slab=Dalle en verre anti-rayures
|
||||
Streak Free Glass Stair=Escalier en verre anti-rayures
|
||||
Tar=Goudron
|
||||
Tar Slab=Dalle en goudron
|
||||
Tar Stair=Marche en goudron
|
||||
Tarmac Spread=Tapis de goudron
|
||||
Terrycloth towel=Serviette éponge
|
||||
Wood Framed Glass=Verre encadré de bois
|
||||
Wood Framed Glass Slab=Dalle en verre encadré de bois
|
||||
Wood Framed Glass Stair=Escalier en verre encadré de bois
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Petit fagot de brindilles
|
||||
Tar Knife=Couteau à goudron
|
||||
Tar base=Pâte de goudron
|
48
building_blocks/locale/building_blocks.ms.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granit
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Adob
|
||||
Adobe Slab=Bidur Adob
|
||||
Adobe Stair=Tangga Adob
|
||||
Brobble Spread=Sebaran Batu Merah
|
||||
Chess board tiling=Jubin Papan Catur
|
||||
Fake Grass=Rumput Tiruan
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Pendiangan
|
||||
Grate=Jeriji
|
||||
Grate Slab=Bidur Jeriji
|
||||
Grate Stair=Tangga Jeriji
|
||||
Gravel Spread=Sebaran Kelikir
|
||||
Hardwood=Kayu Keras
|
||||
Hardwood Slab=Bidur Kayu Keras
|
||||
Hardwood Stair=Tangga Kayu Keras
|
||||
Marble=Marmar
|
||||
Marble Slab=Bidur Marmar
|
||||
Marble Stair=Tangga Marmar
|
||||
Roof block=Blok Bumbung
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Kaca Bebas Calar
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Tar
|
||||
Tar Slab=Bidur Tar
|
||||
Tar Stair=Tangga Tar
|
||||
Tarmac Spread=Sebaran Tar
|
||||
Terrycloth towel=Kain Tuala
|
||||
Wood Framed Glass=Kaca Berbingkai Kayu
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Seberkas Kecil Serpihan Kayu
|
||||
Tar Knife=Pisau Tar
|
||||
Tar base=Campuran Tar
|
48
building_blocks/locale/building_blocks.pt.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granito
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Argila
|
||||
Adobe Slab=Placa de argila
|
||||
Adobe Stair=Escada de Argila
|
||||
Brobble Spread=Calçado
|
||||
Chess board tiling=Revestimento de xadrez
|
||||
Fake Grass=Grama Falsa
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Lareira
|
||||
Grate=Grelha
|
||||
Grate Slab=Placa de Grelha
|
||||
Grate Stair=Escade de Grelha
|
||||
Gravel Spread=Espalhamento de Cascalho
|
||||
Hardwood=Madeira
|
||||
Hardwood Slab=Placa de madeira
|
||||
Hardwood Stair=Escada de madeira
|
||||
Marble=Mármore
|
||||
Marble Slab=Placa de Mármore
|
||||
Marble Stair=Escada de mármore
|
||||
Roof block=Bloco de telhado
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Vidro Sem Riscos
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Alcatrão
|
||||
Tar Slab=Placa de alcatrão
|
||||
Tar Stair=Escada de alcatrão
|
||||
Tarmac Spread=Espalhamento das Estradas
|
||||
Terrycloth towel=Toalha de Roupinha
|
||||
Wood Framed Glass=Vidro com Bordas de Madeira
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Pequeno amontoado de gravetos
|
||||
Tar Knife=Faca de Alcatrão
|
||||
Tar base=Base para alcatrão
|
48
building_blocks/locale/building_blocks.pt_BR.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Granito
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Argila
|
||||
Adobe Slab=Placa de argila
|
||||
Adobe Stair=Escada de Argila
|
||||
Brobble Spread=Calçado
|
||||
Chess board tiling=Revestimento de xadrez
|
||||
Fake Grass=Grama Falsa
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Lareira
|
||||
Grate=Grelha
|
||||
Grate Slab=Placa de Grelha
|
||||
Grate Stair=Escade de Grelha
|
||||
Gravel Spread=Espalhamento de Cascalho
|
||||
Hardwood=Madeira
|
||||
Hardwood Slab=Placa de madeira
|
||||
Hardwood Stair=Escada de madeira
|
||||
Marble=Mármore
|
||||
Marble Slab=Placa de Mármore
|
||||
Marble Stair=Escada de mármore
|
||||
Roof block=Bloco de telhado
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Vidro Sem Riscos
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Alcatrão
|
||||
Tar Slab=Placa de alcatrão
|
||||
Tar Stair=Escada de alcatrão
|
||||
Tarmac Spread=Espalhamento das Estradas
|
||||
Terrycloth towel=Toalha de Roupinha
|
||||
Wood Framed Glass=Vidro com Bordas de Madeira
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Pequeno amontoado de gravetos
|
||||
Tar Knife=Faca de Alcatrão
|
||||
Tar base=Base para alcatrão
|
48
building_blocks/locale/building_blocks.ru.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=Гранит
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=Саман
|
||||
Adobe Slab=Саманная плита
|
||||
Adobe Stair=Саманная ступенька
|
||||
Brobble Spread=Настил кирпичного булыжника
|
||||
Chess board tiling=Шахматная плитка
|
||||
Fake Grass=Псевдо трава
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=Камин
|
||||
Grate=Каминная решётка
|
||||
Grate Slab=Решётчатая плита
|
||||
Grate Stair=Решётчатая ступенька
|
||||
Gravel Spread=Настил гравия
|
||||
Hardwood=Твёрдая древесина
|
||||
Hardwood Slab=Плита из твёрдой древесины
|
||||
Hardwood Stair=Ступенька из твёрдой древесины
|
||||
Marble=Мрамор
|
||||
Marble Slab=Мраморная блита
|
||||
Marble Stair=Мраморная ступенька
|
||||
Roof block=Кровельный блок
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=Стекло без стыков
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=Смола
|
||||
Tar Slab=Плита из смолы
|
||||
Tar Stair=Ступенька из смолы
|
||||
Tarmac Spread=Покрытие гудронной смолой
|
||||
Terrycloth towel=Махровое полотенце
|
||||
Wood Framed Glass=Деревянное окно
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=Небольшая связка палок
|
||||
Tar Knife=Смоляной нож
|
||||
Tar base=Смоляная основа
|
48
building_blocks/locale/building_blocks.zh_CN.tr
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=花岗岩
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=土砖
|
||||
Adobe Slab=
|
||||
Adobe Stair=
|
||||
Brobble Spread=石砖路面
|
||||
Chess board tiling=棋盘铺贴
|
||||
Fake Grass=塑料草
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=壁炉
|
||||
Grate=磨碎
|
||||
Grate Slab=
|
||||
Grate Stair=
|
||||
Gravel Spread=碎石路面
|
||||
Hardwood=硬木
|
||||
Hardwood Slab=
|
||||
Hardwood Stair=
|
||||
Marble=大理石
|
||||
Marble Slab=
|
||||
Marble Stair=
|
||||
Roof block=天台
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=无条纹玻璃
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=焦油
|
||||
Tar Slab=
|
||||
Tar Stair=
|
||||
Tarmac Spread=柏油路面
|
||||
Terrycloth towel=毛巾
|
||||
Wood Framed Glass=木框玻璃
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=小捆棍子
|
||||
Tar Knife=焦油刀
|
||||
Tar base=焦油基
|
48
building_blocks/locale/template.txt
Normal file
@ -0,0 +1,48 @@
|
||||
# textdomain: building_blocks
|
||||
|
||||
|
||||
### alias.lua ###
|
||||
|
||||
Granite=
|
||||
|
||||
### node_stairs.lua ###
|
||||
|
||||
Adobe=
|
||||
Adobe Slab=
|
||||
Adobe Stair=
|
||||
Brobble Spread=
|
||||
Chess board tiling=
|
||||
Fake Grass=
|
||||
Fake Grass Slab=
|
||||
Fake Grass Stair=
|
||||
Fireplace=
|
||||
Grate=
|
||||
Grate Slab=
|
||||
Grate Stair=
|
||||
Gravel Spread=
|
||||
Hardwood=
|
||||
Hardwood Slab=
|
||||
Hardwood Stair=
|
||||
Marble=
|
||||
Marble Slab=
|
||||
Marble Stair=
|
||||
Roof block=
|
||||
Roof block Slab=
|
||||
Roof block Stair=
|
||||
Streak Free Glass=
|
||||
Streak Free Glass Slab=
|
||||
Streak Free Glass Stair=
|
||||
Tar=
|
||||
Tar Slab=
|
||||
Tar Stair=
|
||||
Tarmac Spread=
|
||||
Terrycloth towel=
|
||||
Wood Framed Glass=
|
||||
Wood Framed Glass Slab=
|
||||
Wood Framed Glass Stair=
|
||||
|
||||
### others.lua ###
|
||||
|
||||
Small bundle of sticks=
|
||||
Tar Knife=
|
||||
Tar base=
|
3
building_blocks/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = building_blocks
|
||||
depends = default
|
||||
optional_depends = moreblocks, gloopblocks, stairs
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("building_blocks")
|
||||
|
||||
local stairs_groups_names = {"cracky","choppy","flammable","crumbly","snappy"}
|
||||
|
||||
@ -29,9 +29,11 @@ local function building_blocks_stairs(nodename, def)
|
||||
stairs.register_stair_and_slab(name,nodename,
|
||||
stairs_groups,
|
||||
def.tiles,
|
||||
("%s Stair"):format(def.description),
|
||||
("%s Slab"):format(def.description),
|
||||
def.stair_desc,
|
||||
def.slab_desc,
|
||||
def.sounds
|
||||
--FIXME: Missing descriptions for Inner and Outer stairs
|
||||
-- See https://github.com/minetest/minetest_game/pull/2584
|
||||
)
|
||||
end
|
||||
end
|
||||
@ -40,6 +42,8 @@ end
|
||||
building_blocks_stairs("building_blocks:grate", {
|
||||
drawtype = "glasslike",
|
||||
description = S("Grate"),
|
||||
stair_desc = S("Grate Stair"),
|
||||
slab = S("Grate Slab"),
|
||||
tiles = {"building_blocks_grate.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
@ -50,6 +54,8 @@ building_blocks_stairs("building_blocks:grate", {
|
||||
building_blocks_stairs("building_blocks:smoothglass", {
|
||||
drawtype = "glasslike",
|
||||
description = S("Streak Free Glass"),
|
||||
stair_desc = S("Streak Free Glass Stair"),
|
||||
slab_desc = S("Streak Free Glass Slab"),
|
||||
tiles = {"building_blocks_sglass.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
@ -60,6 +66,8 @@ building_blocks_stairs("building_blocks:smoothglass", {
|
||||
building_blocks_stairs("building_blocks:woodglass", {
|
||||
drawtype = "glasslike",
|
||||
description = S("Wood Framed Glass"),
|
||||
stair_desc = S("Wood Framed Glass Stair"),
|
||||
slab_desc = S("Wood Framed Glass Slab"),
|
||||
tiles = {"building_blocks_wglass.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
@ -71,6 +79,8 @@ building_blocks_stairs("building_blocks:woodglass", {
|
||||
building_blocks_stairs("building_blocks:Adobe", {
|
||||
tiles = {"building_blocks_Adobe.png"},
|
||||
description = S("Adobe"),
|
||||
stair_desc = S("Adobe Stair"),
|
||||
slab_desc = S("Adobe Slab"),
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
@ -78,6 +88,8 @@ building_blocks_stairs("building_blocks:Adobe", {
|
||||
building_blocks_stairs("building_blocks:fakegrass", {
|
||||
tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
|
||||
description = S("Fake Grass"),
|
||||
stair_desc = S("Fake Grass Stair"),
|
||||
slab_desc = S("Fake Grass Slab"),
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=3},
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
@ -88,6 +100,8 @@ building_blocks_stairs("building_blocks:hardwood", {
|
||||
tiles = {"building_blocks_hardwood.png"},
|
||||
is_ground_content = true,
|
||||
description = S("Hardwood"),
|
||||
stair_desc = S("Hardwood Stair"),
|
||||
slab_desc = S("Hardwood Slab"),
|
||||
groups = {choppy=1,flammable=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
@ -95,11 +109,15 @@ building_blocks_stairs("building_blocks:Roofing", {
|
||||
tiles = {"building_blocks_Roofing.png"},
|
||||
is_ground_content = true,
|
||||
description = S("Roof block"),
|
||||
stair_desc = S("Roof block Stair"),
|
||||
slab_desc = S("Roof block Slab"),
|
||||
groups = {snappy=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
building_blocks_stairs("building_blocks:Tar", {
|
||||
description = S("Tar"),
|
||||
stair_desc = S("Tar Stair"),
|
||||
slab_desc = S("Tar Slab"),
|
||||
tiles = {"building_blocks_tar.png"},
|
||||
is_ground_content = true,
|
||||
groups = {crumbly=1, tar_block = 1},
|
||||
@ -107,6 +125,8 @@ building_blocks_stairs("building_blocks:Tar", {
|
||||
})
|
||||
building_blocks_stairs("building_blocks:Marble", {
|
||||
description = S("Marble"),
|
||||
stair_desc = S("Marble Stair"),
|
||||
slab_desc = S("Marble Slab"),
|
||||
tiles = {"building_blocks_marble.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3, marble = 1},
|
||||
|
@ -1,4 +1,4 @@
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("building_blocks")
|
||||
|
||||
minetest.register_craftitem("building_blocks:sticks", {
|
||||
description = S("Small bundle of sticks"),
|
||||
|
@ -1,5 +1,3 @@
|
||||
local S = homedecor.gettext
|
||||
|
||||
if minetest.get_modpath("moreblocks") then
|
||||
minetest.register_craft({
|
||||
output = 'building_blocks:sticks 2',
|
||||
@ -43,7 +41,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = 'building_blocks:fakegrass 2',
|
||||
recipe = {
|
||||
{'default:leaves'},
|
||||
{'group:leaves'},
|
||||
{"default:dirt"},
|
||||
}
|
||||
})
|
||||
@ -141,7 +139,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = 'building_blocks:woodglass 1',
|
||||
recipe = {
|
||||
{"default:wood"},
|
||||
{"group:wood"},
|
||||
{"default:glass"},
|
||||
}
|
||||
})
|
||||
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 581 B After Width: | Height: | Size: 532 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 751 B |
21
computer/.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
unused_args = false
|
||||
allow_defined_top = true
|
||||
max_comment_line_length = 999
|
||||
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest", "core",
|
||||
"unpack",
|
||||
"dump",
|
||||
table = { fields = { "copy", "getn" } },
|
||||
"vector", "nodeupdate",
|
||||
"VoxelManip", "VoxelArea",
|
||||
"PseudoRandom", "ItemStack",
|
||||
"default",
|
||||
"unifieddyes",
|
||||
"screwdriver",
|
||||
}
|
||||
|
||||
globals = {
|
||||
}
|
||||
|
@ -1,9 +1,8 @@
|
||||
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("computer")
|
||||
|
||||
-- Amiga 500 lookalike
|
||||
computer.register("computer:shefriendSOO", {
|
||||
description = "SheFriendSOO",
|
||||
description = S("SheFriendSOO"),
|
||||
tiles_off = { front=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
@ -17,7 +16,7 @@ computer.register("computer:shefriendSOO", {
|
||||
minetest.register_node("computer:vanio", {
|
||||
drawtype = "mesh",
|
||||
mesh = "computer_laptop.obj",
|
||||
description = "Pony Vanio",
|
||||
description = S("Pony Vanio"),
|
||||
inventory_image = "computer_laptop_inv.png",
|
||||
tiles = {"computer_laptop.png"},
|
||||
paramtype = "light",
|
||||
@ -58,7 +57,7 @@ minetest.register_node("computer:vanio_off", {
|
||||
|
||||
-- Sony PlayStation lookalike
|
||||
computer.register("computer:slaystation", {
|
||||
description = "Pony SlayStation",
|
||||
description = S("Pony SlayStation"),
|
||||
inventory_image = "computer_ps1_inv.png",
|
||||
tiles_off = { top=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -75,7 +74,7 @@ computer.register("computer:slaystation", {
|
||||
|
||||
-- Sony PlayStation 2 lookalike
|
||||
computer.register("computer:slaystation2", {
|
||||
description = "Pony SlayStation 2",
|
||||
description = S("Pony SlayStation 2"),
|
||||
inventory_image = "computer_ps2_inv.png",
|
||||
tiles_off = { front=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -93,7 +92,7 @@ computer.register("computer:slaystation2", {
|
||||
|
||||
-- Sinclair ZX Spectrum lookalike
|
||||
computer.register("computer:specter", {
|
||||
description = "SX Specter",
|
||||
description = S("SX Specter"),
|
||||
inventory_image = "computer_specter_inv.png",
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -105,7 +104,7 @@ computer.register("computer:specter", {
|
||||
|
||||
-- Nintendo Wii lookalike
|
||||
computer.register("computer:wee", {
|
||||
description = "Nientiendo Wee",
|
||||
description = S("Nientiendo Wee"),
|
||||
inventory_image = "computer_wii_inv.png",
|
||||
tiles_off = { front=true },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -117,7 +116,7 @@ computer.register("computer:wee", {
|
||||
|
||||
-- Apple iPad lookalike
|
||||
minetest.register_node("computer:piepad", {
|
||||
description = "Snapple Piepad",
|
||||
description = S("Snapple Piepad"),
|
||||
drawtype = "signlike",
|
||||
tiles = {"computer_piepad_inv.png"},
|
||||
inventory_image = "computer_piepad_inv.png",
|
||||
@ -133,7 +132,7 @@ minetest.register_node("computer:piepad", {
|
||||
|
||||
-- Commodore 64 lookalike
|
||||
computer.register("computer:admiral64", {
|
||||
description = "Admiral64",
|
||||
description = S("Admiral64"),
|
||||
inventory_image = "computer_ad64_inv.png",
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -144,7 +143,7 @@ computer.register("computer:admiral64", {
|
||||
|
||||
-- Commodore 128 lookalike
|
||||
computer.register("computer:admiral128", {
|
||||
description = "Admiral128",
|
||||
description = S("Admiral128"),
|
||||
inventory_image = "computer_ad128_inv.png",
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
@ -155,7 +154,7 @@ computer.register("computer:admiral128", {
|
||||
|
||||
-- XBox lookalike
|
||||
computer.register("computer:hueg_box", {
|
||||
description = "HUEG Box",
|
||||
description = S("HUEG Box"),
|
||||
tiles_off = { },
|
||||
node_box = computer.pixelnodebox(16, {
|
||||
-- X Y Z W H L
|
||||
@ -217,8 +216,17 @@ minetest.register_alias("computer:monitor_desktop", "computer:monitor")
|
||||
minetest.register_node("computer:router", {
|
||||
description = S("WIFI Router"),
|
||||
inventory_image = "computer_router_inv.png",
|
||||
tiles = {"computer_router_t.png","computer_router_bt.png","computer_router_l.png","computer_router_r.png","computer_router_b.png",
|
||||
{name="computer_router_f_animated.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}},}, --"computer_router_f.png"},
|
||||
tiles = {
|
||||
"computer_router_t.png",
|
||||
"computer_router_bt.png",
|
||||
"computer_router_l.png",
|
||||
"computer_router_r.png",
|
||||
"computer_router_b.png",
|
||||
{
|
||||
name = "computer_router_f_animated.png",
|
||||
animation = {type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}
|
||||
},
|
||||
}, --"computer_router_f.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = false,
|
||||
@ -258,33 +266,6 @@ minetest.register_node("computer:tower", {
|
||||
|
||||
minetest.register_alias("computer:tower_on", "computer:tower")
|
||||
|
||||
-- Printer/scaner combo
|
||||
minetest.register_node("computer:printer", {
|
||||
description = S("Printer-Scanner Combo"),
|
||||
inventory_image = "computer_printer_inv.png",
|
||||
tiles = {"computer_printer_t.png","computer_printer_bt.png","computer_printer_l.png",
|
||||
"computer_printer_r.png","computer_printer_b.png","computer_printer_f.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = {snappy=3},
|
||||
sound = default.node_sound_wood_defaults(),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4375, -0.3125, -0.125, 0.4375, -0.0625, 0.375},
|
||||
{-0.4375, -0.5, -0.125, 0.4375, -0.4375, 0.375},
|
||||
{-0.4375, -0.5, -0.125, -0.25, -0.0625, 0.375},
|
||||
{0.25, -0.5, -0.125, 0.4375, -0.0625, 0.375},
|
||||
{-0.4375, -0.5, -0.0625, 0.4375, -0.0625, 0.375},
|
||||
{-0.375, -0.4375, 0.25, 0.375, -0.0625, 0.4375},
|
||||
{-0.25, -0.25, 0.4375, 0.25, 0.0625, 0.5},
|
||||
{-0.25, -0.481132, -0.3125, 0.25, -0.4375, 0}
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
--Rack Server
|
||||
minetest.register_node("computer:server", {
|
||||
drawtype = "nodebox",
|
||||
|
@ -1,2 +0,0 @@
|
||||
default
|
||||
homedecor_common
|
@ -1,5 +1,4 @@
|
||||
computer = {}
|
||||
screwdriver = screwdriver or {}
|
||||
|
||||
computer.register = function (name, def)
|
||||
if (name:sub(1, 1) == ":") then name = name:sub(2) end
|
||||
@ -94,6 +93,6 @@ end
|
||||
|
||||
local MODPATH = minetest.get_modpath("computer")
|
||||
dofile(MODPATH.."/computers.lua")
|
||||
dofile(MODPATH.."/miscitems.lua")
|
||||
dofile(MODPATH.."/printers.lua")
|
||||
dofile(MODPATH.."/recipes.lua")
|
||||
dofile(MODPATH.."/tetris.lua")
|
||||
|
35
computer/locale/computer.de.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=Admiral 128
|
||||
Admiral64=Admiral 64
|
||||
Computer Tower=Computerturm
|
||||
HUEG Box=YBOX
|
||||
Monitor and keyboard=Bildschirm und Tastatur
|
||||
Nientiendo Wee=Tinnendo iiW
|
||||
Not enough vertical space to place a server!=Es gibt nicht genug vertikalen Platz, um einen Server zu platzieren!
|
||||
Pony SlayStation=Pony Slaystation
|
||||
Pony SlayStation 2=Pony Slaystation 2
|
||||
Pony Vanio=Pony Oiva
|
||||
Rack Server=Serverschrank
|
||||
SX Specter=Z Inspektor
|
||||
SheFriendSOO=Freundin S00
|
||||
Snapple Piepad=Apfel-Ei-Pat
|
||||
WIFI Router=WiFi-Router
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=3D Drucker ("Bettschubser")
|
||||
Printer-Scanner Combo=Multifunktionsdrucker
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=L
|
||||
New Game=Neues Spiel
|
||||
Next...=Nächster…
|
||||
No room for place the Arcade!=Kein Platz, um den Arkadeautomaten zu platzieren!
|
||||
R=R
|
||||
Score: =Punktzahl:
|
||||
Tetris Arcade=Tetris-Arkadeautomat
|
35
computer/locale/computer.es.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Torre de ordenador
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Monitor y teclado
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=¡No hay suficiente espacio para colocar un servidor!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Servidor en rack
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Enrutador WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Impresora y escáner combinados
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Juego Nuevo
|
||||
Next...=
|
||||
No room for place the Arcade!=¡No hay lugar para colocar el arcade!
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=Arcade Tetris
|
35
computer/locale/computer.fr.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Ordinateur (tour)
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Écran et clavier
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Pas assez d'espace vertical pour placer un serveur !
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Serveur en rack
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Routeur WiFi
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Imprimante multi-fonction
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=G
|
||||
New Game=Nouveau Jeu
|
||||
Next...=Suivant…
|
||||
No room for place the Arcade!=Pas assez de place pour placer la borne d'arcade !
|
||||
R=D
|
||||
Score: =Score :
|
||||
Tetris Arcade=Borne Tetris
|
35
computer/locale/computer.it.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=
|
||||
HUEG Box=
|
||||
Monitor and keyboard=
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Non c'è abbastanza spazio verticale per mettere un frigorifero!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=
|
||||
Next...=
|
||||
No room for place the Arcade!=
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=
|
35
computer/locale/computer.ms.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Sistem Unit
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Monitor dan Papan Kekunci
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Tidak cukup ruang menegak untuk letak rak pelayan!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Rak Pelayan
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Penghala WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Pencetak Semua Dalam Satu
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Main Baru
|
||||
Next...=Seterusnya...
|
||||
No room for place the Arcade!=Tiada ruang untuk letak Arked!
|
||||
R=
|
||||
Score: =Markah:
|
||||
Tetris Arcade=Arked Tetris
|
35
computer/locale/computer.pt.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Gabinete do Computador
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Tela e teclado
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Sem espaço vertical suficiente para colocar um servidor.
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Rack para Servidor
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Roteador WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Novo Jogo
|
||||
Next...=
|
||||
No room for place the Arcade!=Sem espaço para colocar o Fliperama!
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=Fliperama Tetris
|
35
computer/locale/computer.pt_BR.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Gabinete do Computador
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Tela e teclado
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Sem espaço vertical suficiente para colocar um servidor.
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Rack para Servidor
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=Roteador WIFI
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Novo Jogo
|
||||
Next...=
|
||||
No room for place the Arcade!=Sem espaço para colocar o Fliperama!
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=Fliperama Tetris
|
35
computer/locale/computer.ru.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=Системный блок
|
||||
HUEG Box=
|
||||
Monitor and keyboard=Монитор и клавиатура
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=Недостаточно вертикального пространства для размещения сервера!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=Стоечный сервер
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=WIFI-роутер
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=МФУ
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=Новая игра
|
||||
Next...=Далее...
|
||||
No room for place the Arcade!=Недостаточно места для размещения игрового автомата!
|
||||
R=
|
||||
Score: =Счёт:
|
||||
Tetris Arcade=Игровой автомат Тетрис
|
35
computer/locale/computer.zh_CN.tr
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=计算机箱
|
||||
HUEG Box=
|
||||
Monitor and keyboard=显示器和键盘
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=高度不足,无法放置服务器!
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=机架式服务器
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=无线路由器
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=打印扫描一体机
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=新游戏
|
||||
Next...=下一个。。。
|
||||
No room for place the Arcade!=没有地方放游戏机!
|
||||
R=
|
||||
Score: =分数:
|
||||
Tetris Arcade=俄罗斯方块游戏机
|
35
computer/locale/template.txt
Normal file
@ -0,0 +1,35 @@
|
||||
# textdomain: computer
|
||||
|
||||
|
||||
### computers.lua ###
|
||||
|
||||
Admiral128=
|
||||
Admiral64=
|
||||
Computer Tower=
|
||||
HUEG Box=
|
||||
Monitor and keyboard=
|
||||
Nientiendo Wee=
|
||||
Not enough vertical space to place a server!=
|
||||
Pony SlayStation=
|
||||
Pony SlayStation 2=
|
||||
Pony Vanio=
|
||||
Rack Server=
|
||||
SX Specter=
|
||||
SheFriendSOO=
|
||||
Snapple Piepad=
|
||||
WIFI Router=
|
||||
|
||||
### printers.lua ###
|
||||
|
||||
3D Printer ("bedflinger")=
|
||||
Printer-Scanner Combo=
|
||||
|
||||
### tetris.lua ###
|
||||
|
||||
L=
|
||||
New Game=
|
||||
Next...=
|
||||
No room for place the Arcade!=
|
||||
R=
|
||||
Score: =
|
||||
Tetris Arcade=
|
@ -1,68 +0,0 @@
|
||||
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
||||
|
||||
-- This file defines some items in order to not have to depend on other mods.
|
||||
|
||||
local S = homedecor.gettext
|
||||
|
||||
if (not minetest.get_modpath("homedecor")) then
|
||||
|
||||
minetest.register_craftitem(":basic_materials:plastic_sheet", {
|
||||
description = S("Plastic sheet"),
|
||||
inventory_image = "homedecor_plastic_sheeting.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":homedecor:plastic_base", {
|
||||
description = S("Unprocessed Plastic base"),
|
||||
wield_image = "homedecor_plastic_base.png",
|
||||
inventory_image = "homedecor_plastic_base_inv.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'homedecor:plastic_base 6',
|
||||
recipe = { "default:junglegrass",
|
||||
"default:junglegrass",
|
||||
"default:junglegrass"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'homedecor:plastic_base 3',
|
||||
recipe = { "default:dry_shrub",
|
||||
"default:dry_shrub",
|
||||
"default:dry_shrub"
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'homedecor:plastic_base 4',
|
||||
recipe = { "default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "basic_materials:plastic_sheet",
|
||||
recipe = "homedecor:plastic_base",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:plastic_base',
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'basic_materials:plastic_sheet',
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
end -- not homedecor
|
3
computer/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = computer
|
||||
depends = default, basic_materials, unifieddyes
|
||||
optional_depends = screwdriver
|
9831
computer/models/computer_3dprinter_bedflinger.obj
Normal file
@ -1,86 +1,81 @@
|
||||
# Blender v2.69 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib computer_laptop.mtl
|
||||
o Cube.001
|
||||
v -0.340277 0.022636 0.335290
|
||||
v -0.340277 0.013075 0.362499
|
||||
v 0.332320 0.022636 0.335292
|
||||
v 0.332320 -0.432772 0.182772
|
||||
v 0.332320 0.013075 0.362501
|
||||
v -0.340276 -0.499994 -0.312651
|
||||
v -0.340276 -0.432772 -0.312651
|
||||
v 0.332321 -0.499994 -0.312650
|
||||
v -0.340277 -0.499994 0.182771
|
||||
v 0.332320 -0.499994 0.182772
|
||||
v -0.340277 -0.432772 0.182771
|
||||
v -0.340278 -0.432772 0.209979
|
||||
v 0.332320 -0.432772 0.209981
|
||||
v 0.332320 -0.499994 0.209981
|
||||
v -0.340278 -0.499994 0.209979
|
||||
v -0.319957 -0.417924 0.194820
|
||||
v -0.319957 -0.001053 0.334433
|
||||
v 0.312000 -0.417925 0.194821
|
||||
v -0.340277 -0.432772 -0.159321
|
||||
v 0.332321 -0.432772 -0.312650
|
||||
v 0.311999 -0.001054 0.334434
|
||||
v 0.332321 -0.432772 -0.159320
|
||||
vt 0.682604 0.005242
|
||||
vt 0.682603 0.021207
|
||||
vt 0.310265 0.005245
|
||||
vt 0.044426 0.009206
|
||||
vt 0.310266 0.021211
|
||||
vt 0.753340 0.119988
|
||||
vt 0.810356 0.119988
|
||||
vt 0.753340 0.597765
|
||||
vt 0.856851 0.982221
|
||||
vt 0.745750 0.982220
|
||||
vt 0.856851 0.831387
|
||||
vt 0.948453 0.009205
|
||||
vt 0.878028 0.982221
|
||||
vt 0.878028 0.831387
|
||||
vt 0.983700 0.982221
|
||||
vt 0.862953 0.831387
|
||||
vt 0.862953 0.982221
|
||||
vt 0.728292 0.490807
|
||||
vt 0.728292 0.989869
|
||||
vt 0.010900 0.490807
|
||||
vt 0.831643 0.129995
|
||||
vt 0.982007 0.129995
|
||||
vt 0.831643 0.789586
|
||||
vt 0.758249 0.754841
|
||||
vt 0.758228 0.812823
|
||||
vt 0.756060 0.752868
|
||||
vt 0.798519 0.812617
|
||||
vt 0.756052 0.814797
|
||||
vt 0.798577 0.754909
|
||||
vt 0.800285 0.814587
|
||||
vt 0.707729 0.114386
|
||||
vt 0.707729 0.471212
|
||||
vt 0.006162 0.114385
|
||||
vt 0.345650 0.099088
|
||||
vt 0.497058 0.032709
|
||||
vt 0.497058 0.099088
|
||||
vt 0.990661 0.099453
|
||||
vt 0.838275 0.032645
|
||||
vt 0.990661 0.032645
|
||||
vt 0.007709 0.008663
|
||||
vt 0.012705 0.022873
|
||||
vt 0.983559 0.009737
|
||||
vt 0.943457 0.023414
|
||||
vt 0.049421 0.023416
|
||||
vt 0.810356 0.597766
|
||||
vt 0.745750 0.831387
|
||||
vt 0.983700 0.831387
|
||||
vt 0.010900 0.989869
|
||||
vt 0.982007 0.789586
|
||||
vt 0.800332 0.752938
|
||||
vt 0.006162 0.471212
|
||||
vt 0.007844 0.099088
|
||||
vt 0.007844 0.032709
|
||||
vt 0.498289 0.099453
|
||||
vt 0.498289 0.032646
|
||||
vt 0.978563 0.023946
|
||||
usemtl Material.001
|
||||
v -0.34 0.023 0.335
|
||||
v -0.34 0.013 0.362
|
||||
v 0.332 0.023 0.335
|
||||
v 0.332 -0.433 0.183
|
||||
v 0.332 0.013 0.363
|
||||
v -0.34 -0.5 -0.313
|
||||
v -0.34 -0.433 -0.313
|
||||
v 0.332 -0.5 -0.313
|
||||
v -0.34 -0.5 0.183
|
||||
v 0.332 -0.5 0.183
|
||||
v -0.34 -0.433 0.183
|
||||
v -0.34 -0.433 0.21
|
||||
v 0.332 -0.433 0.21
|
||||
v 0.332 -0.5 0.21
|
||||
v -0.34 -0.5 0.21
|
||||
v -0.32 -0.418 0.195
|
||||
v -0.32 -0.001 0.334
|
||||
v 0.312 -0.418 0.195
|
||||
v -0.34 -0.433 -0.159
|
||||
v 0.332 -0.433 -0.313
|
||||
v 0.312 -0.001 0.334
|
||||
v 0.332 -0.433 -0.159
|
||||
vt 0.683 0.005
|
||||
vt 0.683 0.021
|
||||
vt 0.31 0.005
|
||||
vt 0.044 0.009
|
||||
vt 0.31 0.021
|
||||
vt 0.753 0.12
|
||||
vt 0.81 0.12
|
||||
vt 0.753 0.598
|
||||
vt 0.857 0.982
|
||||
vt 0.746 0.982
|
||||
vt 0.857 0.831
|
||||
vt 0.948 0.009
|
||||
vt 0.878 0.982
|
||||
vt 0.878 0.831
|
||||
vt 0.984 0.982
|
||||
vt 0.863 0.831
|
||||
vt 0.863 0.982
|
||||
vt 0.728 0.491
|
||||
vt 0.728 0.99
|
||||
vt 0.011 0.491
|
||||
vt 0.832 0.13
|
||||
vt 0.982 0.13
|
||||
vt 0.832 0.79
|
||||
vt 0.758 0.755
|
||||
vt 0.758 0.813
|
||||
vt 0.756 0.753
|
||||
vt 0.799 0.813
|
||||
vt 0.756 0.815
|
||||
vt 0.799 0.755
|
||||
vt 0.8 0.815
|
||||
vt 0.708 0.114
|
||||
vt 0.708 0.471
|
||||
vt 0.006 0.114
|
||||
vt 0.346 0.099
|
||||
vt 0.497 0.033
|
||||
vt 0.497 0.099
|
||||
vt 0.991 0.099
|
||||
vt 0.838 0.033
|
||||
vt 0.991 0.033
|
||||
vt 0.008 0.009
|
||||
vt 0.013 0.023
|
||||
vt 0.984 0.01
|
||||
vt 0.943 0.023
|
||||
vt 0.049 0.023
|
||||
vt 0.81 0.598
|
||||
vt 0.746 0.831
|
||||
vt 0.984 0.831
|
||||
vt 0.011 0.99
|
||||
vt 0.982 0.79
|
||||
vt 0.8 0.753
|
||||
vt 0.006 0.471
|
||||
vt 0.008 0.099
|
||||
vt 0.008 0.033
|
||||
vt 0.498 0.099
|
||||
vt 0.498 0.033
|
||||
vt 0.979 0.024
|
||||
s off
|
||||
f 1/1 2/2 3/3
|
||||
f 4/4 3/3 5/5
|
||||
|
@ -1,98 +1,93 @@
|
||||
# Blender v2.69 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib computer_laptop_closed.mtl
|
||||
o Cube.001
|
||||
v 0.332320 -0.432772 0.182772
|
||||
v -0.340276 -0.499994 -0.312651
|
||||
v -0.340276 -0.432772 -0.312651
|
||||
v 0.332321 -0.499994 -0.312650
|
||||
v -0.340277 -0.499994 0.182771
|
||||
v 0.332320 -0.499994 0.182772
|
||||
v -0.340277 -0.432772 0.182771
|
||||
v -0.340278 -0.432772 0.209979
|
||||
v 0.332320 -0.432772 0.209981
|
||||
v 0.332320 -0.499994 0.209981
|
||||
v -0.340278 -0.499994 0.209979
|
||||
v -0.340277 -0.432772 -0.159321
|
||||
v 0.332321 -0.432772 -0.312650
|
||||
v 0.332321 -0.432772 -0.159320
|
||||
v -0.339100 -0.432290 -0.312591
|
||||
v -0.339100 -0.401111 -0.312123
|
||||
v 0.331143 -0.432288 -0.312592
|
||||
v 0.331143 -0.432434 0.206702
|
||||
v 0.331143 -0.401109 -0.312123
|
||||
v -0.339100 -0.432435 0.206702
|
||||
v -0.339101 -0.404537 0.197368
|
||||
v 0.331143 -0.404535 0.197367
|
||||
v -0.318852 -0.425175 0.187344
|
||||
v -0.318852 -0.425042 -0.288007
|
||||
v 0.310895 -0.425173 0.187344
|
||||
v 0.310894 -0.425040 -0.288006
|
||||
vt 0.753340 0.119988
|
||||
vt 0.810356 0.119988
|
||||
vt 0.753340 0.597765
|
||||
vt 0.856851 0.982221
|
||||
vt 0.745750 0.982220
|
||||
vt 0.856851 0.831387
|
||||
vt 0.878028 0.831387
|
||||
vt 0.878028 0.982221
|
||||
vt 0.862953 0.831387
|
||||
vt 0.862953 0.982221
|
||||
vt 0.858063 0.829423
|
||||
vt 0.885587 0.829423
|
||||
vt 0.858063 0.950158
|
||||
vt 0.935597 0.852882
|
||||
vt 0.935597 0.922715
|
||||
vt 0.798294 0.852882
|
||||
vt 0.345650 0.099088
|
||||
vt 0.497058 0.032709
|
||||
vt 0.497058 0.099088
|
||||
vt 0.990661 0.099453
|
||||
vt 0.838275 0.032645
|
||||
vt 0.990661 0.032645
|
||||
vt 0.007709 0.008663
|
||||
vt 0.044426 0.009206
|
||||
vt 0.012705 0.022873
|
||||
vt 0.948453 0.009205
|
||||
vt 0.983559 0.009737
|
||||
vt 0.943457 0.023414
|
||||
vt 0.810356 0.597766
|
||||
vt 0.745750 0.831387
|
||||
vt 0.885587 0.950158
|
||||
vt 0.912135 0.962581
|
||||
vt 0.785835 0.838012
|
||||
vt 0.886333 0.908011
|
||||
vt 0.922048 0.840165
|
||||
vt 0.798294 0.922715
|
||||
vt 0.007844 0.099088
|
||||
vt 0.007844 0.032709
|
||||
vt 0.498289 0.099453
|
||||
vt 0.498289 0.032646
|
||||
vt 0.049421 0.023416
|
||||
vt 0.978563 0.023946
|
||||
vt 0.682604 0.005242
|
||||
vt 0.682603 0.021207
|
||||
vt 0.310265 0.005245
|
||||
vt 0.310266 0.021211
|
||||
vt 0.983700 0.982221
|
||||
vt 0.922420 0.868181
|
||||
vt 0.922420 0.951695
|
||||
vt 0.802372 0.868181
|
||||
vt 0.758249 0.754841
|
||||
vt 0.758228 0.812823
|
||||
vt 0.756060 0.752868
|
||||
vt 0.798519 0.812617
|
||||
vt 0.756052 0.814797
|
||||
vt 0.798577 0.754909
|
||||
vt 0.800285 0.814587
|
||||
vt 0.983700 0.831387
|
||||
vt 0.802372 0.951695
|
||||
vt 0.800332 0.752938
|
||||
vt 0.896350 0.948981
|
||||
vt 0.903598 0.848845
|
||||
vt 0.888354 0.925385
|
||||
vt 0.811076 0.850308
|
||||
usemtl Material.001
|
||||
v 0.332 -0.433 0.183
|
||||
v -0.34 -0.5 -0.313
|
||||
v -0.34 -0.433 -0.313
|
||||
v 0.332 -0.5 -0.313
|
||||
v -0.34 -0.5 0.183
|
||||
v 0.332 -0.5 0.183
|
||||
v -0.34 -0.433 0.183
|
||||
v -0.34 -0.433 0.21
|
||||
v 0.332 -0.433 0.21
|
||||
v 0.332 -0.5 0.21
|
||||
v -0.34 -0.5 0.21
|
||||
v -0.34 -0.433 -0.159
|
||||
v 0.332 -0.433 -0.313
|
||||
v 0.332 -0.433 -0.159
|
||||
v -0.339 -0.432 -0.313
|
||||
v -0.339 -0.401 -0.312
|
||||
v 0.331 -0.432 -0.313
|
||||
v 0.331 -0.432 0.207
|
||||
v 0.331 -0.401 -0.312
|
||||
v -0.339 -0.432 0.207
|
||||
v -0.339 -0.405 0.197
|
||||
v 0.331 -0.405 0.197
|
||||
v -0.319 -0.425 0.187
|
||||
v -0.319 -0.425 -0.288
|
||||
v 0.311 -0.425 0.187
|
||||
v 0.311 -0.425 -0.288
|
||||
vt 0.753 0.12
|
||||
vt 0.81 0.12
|
||||
vt 0.753 0.598
|
||||
vt 0.857 0.982
|
||||
vt 0.746 0.982
|
||||
vt 0.857 0.831
|
||||
vt 0.878 0.831
|
||||
vt 0.878 0.982
|
||||
vt 0.863 0.831
|
||||
vt 0.863 0.982
|
||||
vt 0.858 0.829
|
||||
vt 0.886 0.829
|
||||
vt 0.858 0.95
|
||||
vt 0.936 0.853
|
||||
vt 0.936 0.923
|
||||
vt 0.798 0.853
|
||||
vt 0.346 0.099
|
||||
vt 0.497 0.033
|
||||
vt 0.497 0.099
|
||||
vt 0.991 0.099
|
||||
vt 0.838 0.033
|
||||
vt 0.991 0.033
|
||||
vt 0.008 0.009
|
||||
vt 0.044 0.009
|
||||
vt 0.013 0.023
|
||||
vt 0.948 0.009
|
||||
vt 0.984 0.01
|
||||
vt 0.943 0.023
|
||||
vt 0.81 0.598
|
||||
vt 0.746 0.831
|
||||
vt 0.886 0.95
|
||||
vt 0.912 0.963
|
||||
vt 0.786 0.838
|
||||
vt 0.886 0.908
|
||||
vt 0.922 0.84
|
||||
vt 0.798 0.923
|
||||
vt 0.008 0.099
|
||||
vt 0.008 0.033
|
||||
vt 0.498 0.099
|
||||
vt 0.498 0.033
|
||||
vt 0.049 0.023
|
||||
vt 0.979 0.024
|
||||
vt 0.683 0.005
|
||||
vt 0.683 0.021
|
||||
vt 0.31 0.005
|
||||
vt 0.31 0.021
|
||||
vt 0.984 0.982
|
||||
vt 0.922 0.868
|
||||
vt 0.922 0.952
|
||||
vt 0.802 0.868
|
||||
vt 0.758 0.755
|
||||
vt 0.758 0.813
|
||||
vt 0.756 0.753
|
||||
vt 0.799 0.813
|
||||
vt 0.756 0.815
|
||||
vt 0.799 0.755
|
||||
vt 0.8 0.815
|
||||
vt 0.984 0.831
|
||||
vt 0.802 0.952
|
||||
vt 0.8 0.753
|
||||
vt 0.896 0.949
|
||||
vt 0.904 0.849
|
||||
vt 0.888 0.925
|
||||
vt 0.811 0.85
|
||||
s off
|
||||
f 2/1 3/2 4/3
|
||||
f 5/4 2/5 6/6
|
||||
|
@ -1,29 +1,24 @@
|
||||
# Blender v2.72 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib computer_tower.mtl
|
||||
o Cube.001
|
||||
v -0.182508 -0.499998 0.450000
|
||||
v -0.182508 -0.499998 -0.349946
|
||||
v 0.182508 -0.499998 -0.349946
|
||||
v 0.182508 -0.499998 0.450000
|
||||
v -0.182508 0.335734 0.450000
|
||||
v 0.182508 0.335734 0.450000
|
||||
v 0.182508 0.335734 -0.349946
|
||||
v -0.182508 0.335734 -0.349947
|
||||
vt 0.999994 0.750017
|
||||
vt 0.500006 0.749983
|
||||
vt 0.500002 0.499996
|
||||
vt 0.999997 0.500009
|
||||
vt 0.499989 0.999941
|
||||
vt 0.999986 0.999931
|
||||
vt 0.500005 0.000003
|
||||
vt 0.000007 0.500002
|
||||
vt -0.000003 0.000003
|
||||
vt 0.250005 0.999991
|
||||
vt 0.250005 0.499995
|
||||
vt 0.999993 0.000002
|
||||
vt 0.000017 0.999997
|
||||
usemtl Material.001
|
||||
v -0.183 -0.5 0.45
|
||||
v -0.183 -0.5 -0.35
|
||||
v 0.183 -0.5 -0.35
|
||||
v 0.183 -0.5 0.45
|
||||
v -0.183 0.336 0.45
|
||||
v 0.183 0.336 0.45
|
||||
v 0.183 0.336 -0.35
|
||||
v -0.183 0.336 -0.35
|
||||
vt 1 0.75
|
||||
vt 0.5 0.75
|
||||
vt 0.5 0.5
|
||||
vt 1 0.5
|
||||
vt 0.5 1
|
||||
vt 1 1
|
||||
vt 0.5 0
|
||||
vt 0 0.5
|
||||
vt 0 0
|
||||
vt 0.25 1
|
||||
vt 0.25 0.5
|
||||
vt 1 0
|
||||
vt 0 1
|
||||
s off
|
||||
f 1/1 2/2 3/3 4/4
|
||||
f 5/5 6/2 7/1 8/6
|
||||
|
@ -1,129 +1,123 @@
|
||||
# Blender v2.66 (sub 1) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib tetris_arcade.mtl
|
||||
o Cube.001
|
||||
v -0.450000 1.299500 -0.450000
|
||||
v -0.450000 1.299500 -0.500000
|
||||
v 0.450000 1.299500 -0.500000
|
||||
v 0.450000 1.299500 -0.450000
|
||||
v -0.450000 1.499500 -0.450000
|
||||
v -0.450000 1.499500 -0.500000
|
||||
v 0.450000 1.499500 -0.500000
|
||||
v 0.450000 1.499500 -0.450000
|
||||
v 0.450000 -0.495000 -0.500000
|
||||
v 0.450000 0.305000 -0.500001
|
||||
v -0.450000 -0.495000 -0.499999
|
||||
v -0.450000 0.305000 -0.500000
|
||||
v 0.450000 -0.498500 0.500000
|
||||
v 0.450000 -0.498500 -0.500000
|
||||
v 0.500000 -0.498500 -0.500000
|
||||
v 0.500000 -0.498500 0.500000
|
||||
v 0.450000 1.498500 0.500000
|
||||
v 0.450000 1.498500 -0.500000
|
||||
v 0.500000 1.498500 -0.500000
|
||||
v 0.500000 1.498500 0.500000
|
||||
v 0.499998 -0.499998 -0.499998
|
||||
v 0.499998 -0.499998 0.499998
|
||||
v -0.499998 -0.499998 0.499998
|
||||
v -0.499998 -0.499998 -0.499998
|
||||
v 0.499998 1.499994 -0.499998
|
||||
v -0.499998 1.499994 -0.499998
|
||||
v -0.499998 1.499994 0.499998
|
||||
v 0.499998 1.499994 0.499998
|
||||
v -0.500000 -0.498500 0.500000
|
||||
v -0.500000 -0.498500 -0.500000
|
||||
v -0.450000 -0.498500 -0.500000
|
||||
v -0.450000 -0.498500 0.500000
|
||||
v -0.500000 1.498500 0.500000
|
||||
v -0.500000 1.498500 -0.500000
|
||||
v -0.450000 1.498500 -0.500000
|
||||
v -0.450000 1.498500 0.500000
|
||||
v 0.450000 0.304976 -0.499762
|
||||
v 0.450000 0.474024 -0.137239
|
||||
v -0.450000 0.304976 -0.499761
|
||||
v -0.450000 0.474024 -0.137238
|
||||
v 0.450000 0.472946 -0.138083
|
||||
v 0.450000 0.613900 -0.086780
|
||||
v -0.450000 0.472946 -0.138082
|
||||
v -0.450000 0.613900 -0.086779
|
||||
v 0.450000 0.610884 -0.085130
|
||||
v 0.450000 1.398731 0.053788
|
||||
v -0.450000 0.610884 -0.085130
|
||||
v -0.450000 1.398731 0.053789
|
||||
v 0.450000 1.395000 0.055138
|
||||
v 0.450000 1.495000 0.055138
|
||||
v -0.450000 1.395000 0.055138
|
||||
v -0.450000 1.495000 0.055138
|
||||
vt 0.250108 0.745030
|
||||
vt 0.250224 0.516409
|
||||
vt 0.494888 0.516008
|
||||
vt 0.495027 0.744660
|
||||
vt 0.500090 0.744658
|
||||
vt 0.250080 0.744698
|
||||
vt 0.250023 0.693307
|
||||
vt 0.500163 0.693337
|
||||
vt 0.244872 0.999900
|
||||
vt 0.000100 0.999900
|
||||
vt 0.000100 0.925965
|
||||
vt 0.244701 0.925965
|
||||
vt -0.000234 0.985285
|
||||
vt 0.246386 0.985398
|
||||
vt 0.246568 0.999900
|
||||
vt 0.254685 0.396330
|
||||
vt 0.255312 0.252326
|
||||
vt 0.489851 0.252497
|
||||
vt 0.489923 0.396494
|
||||
vt 0.746604 0.251526
|
||||
vt 1.000599 0.251553
|
||||
vt 1.000481 0.749319
|
||||
vt 0.748216 0.749150
|
||||
vt 0.971448 0.251053
|
||||
vt 0.999396 0.251108
|
||||
vt 1.000262 0.749144
|
||||
vt 0.972149 0.748806
|
||||
vt 0.250110 0.749633
|
||||
vt 0.000464 0.749633
|
||||
vt 0.001279 0.251648
|
||||
vt 0.250023 0.251690
|
||||
vt 0.742499 0.744632
|
||||
vt 0.500700 0.744632
|
||||
vt 0.500700 0.255368
|
||||
vt 0.742499 0.255368
|
||||
vt 0.951737 0.252687
|
||||
vt 0.999900 0.252686
|
||||
vt 0.999900 0.748679
|
||||
vt 0.951737 0.748679
|
||||
vt 1.000029 0.749233
|
||||
vt 0.744529 0.749104
|
||||
vt 0.745177 0.251367
|
||||
vt 1.001019 0.251067
|
||||
vt 0.255742 0.485017
|
||||
vt 0.255492 0.401623
|
||||
vt 0.494936 0.401277
|
||||
vt 0.495186 0.485021
|
||||
vt 0.260753 0.515705
|
||||
vt 0.260629 0.484664
|
||||
vt 0.494387 0.484878
|
||||
vt 0.494282 0.515673
|
||||
vt -0.000037 0.745106
|
||||
vt 0.000017 0.703328
|
||||
vt 0.245542 0.703882
|
||||
vt 0.245632 0.745399
|
||||
vt 0.250050 0.250050
|
||||
vt 0.000100 0.250050
|
||||
vt 0.000100 0.000100
|
||||
vt 0.250050 0.000100
|
||||
vt 0.250050 0.749950
|
||||
vt 0.250050 0.999900
|
||||
vt 0.000100 0.749950
|
||||
vt 0.999900 0.250049
|
||||
vt 0.999900 0.749949
|
||||
vt 0.749950 0.749950
|
||||
vt 0.749950 0.250050
|
||||
usemtl Material.001
|
||||
v -0.45 1.3 -0.45
|
||||
v -0.45 1.3 -0.5
|
||||
v 0.45 1.3 -0.5
|
||||
v 0.45 1.3 -0.45
|
||||
v -0.45 1.5 -0.45
|
||||
v -0.45 1.5 -0.5
|
||||
v 0.45 1.5 -0.5
|
||||
v 0.45 1.5 -0.45
|
||||
v 0.45 -0.495 -0.5
|
||||
v 0.45 0.305 -0.5
|
||||
v -0.45 -0.495 -0.5
|
||||
v -0.45 0.305 -0.5
|
||||
v 0.45 -0.498 0.5
|
||||
v 0.45 -0.498 -0.5
|
||||
v 0.5 -0.498 -0.5
|
||||
v 0.5 -0.498 0.5
|
||||
v 0.45 1.499 0.5
|
||||
v 0.45 1.499 -0.5
|
||||
v 0.5 1.499 -0.5
|
||||
v 0.5 1.499 0.5
|
||||
v 0.5 -0.5 -0.5
|
||||
v 0.5 -0.5 0.5
|
||||
v -0.5 -0.5 0.5
|
||||
v -0.5 -0.5 -0.5
|
||||
v 0.5 1.5 -0.5
|
||||
v -0.5 1.5 -0.5
|
||||
v -0.5 1.5 0.5
|
||||
v 0.5 1.5 0.5
|
||||
v -0.5 -0.498 0.5
|
||||
v -0.5 -0.498 -0.5
|
||||
v -0.45 -0.498 -0.5
|
||||
v -0.45 -0.498 0.5
|
||||
v -0.5 1.499 0.5
|
||||
v -0.5 1.499 -0.5
|
||||
v -0.45 1.499 -0.5
|
||||
v -0.45 1.499 0.5
|
||||
v 0.45 0.305 -0.5
|
||||
v 0.45 0.474 -0.137
|
||||
v -0.45 0.305 -0.5
|
||||
v -0.45 0.474 -0.137
|
||||
v 0.45 0.473 -0.138
|
||||
v 0.45 0.614 -0.087
|
||||
v -0.45 0.473 -0.138
|
||||
v -0.45 0.614 -0.087
|
||||
v 0.45 0.611 -0.085
|
||||
v 0.45 1.399 0.054
|
||||
v -0.45 0.611 -0.085
|
||||
v -0.45 1.399 0.054
|
||||
v 0.45 1.395 0.055
|
||||
v 0.45 1.495 0.055
|
||||
v -0.45 1.395 0.055
|
||||
v -0.45 1.495 0.055
|
||||
vt 0.25 0.745
|
||||
vt 0.25 0.516
|
||||
vt 0.495 0.516
|
||||
vt 0.495 0.745
|
||||
vt 0.5 0.745
|
||||
vt 0.25 0.745
|
||||
vt 0.25 0.693
|
||||
vt 0.5 0.693
|
||||
vt 0.245 1
|
||||
vt 0 1
|
||||
vt 0 0.926
|
||||
vt 0.245 0.926
|
||||
vt 0 0.985
|
||||
vt 0.246 0.985
|
||||
vt 0.247 1
|
||||
vt 0.255 0.396
|
||||
vt 0.255 0.252
|
||||
vt 0.49 0.252
|
||||
vt 0.49 0.396
|
||||
vt 0.747 0.252
|
||||
vt 1.001 0.252
|
||||
vt 1 0.749
|
||||
vt 0.748 0.749
|
||||
vt 0.971 0.251
|
||||
vt 0.999 0.251
|
||||
vt 1 0.749
|
||||
vt 0.972 0.749
|
||||
vt 0.25 0.75
|
||||
vt 0 0.75
|
||||
vt 0.001 0.252
|
||||
vt 0.25 0.252
|
||||
vt 0.742 0.745
|
||||
vt 0.501 0.745
|
||||
vt 0.501 0.255
|
||||
vt 0.742 0.255
|
||||
vt 0.952 0.253
|
||||
vt 1 0.253
|
||||
vt 1 0.749
|
||||
vt 0.952 0.749
|
||||
vt 1 0.749
|
||||
vt 0.745 0.749
|
||||
vt 0.745 0.251
|
||||
vt 1.001 0.251
|
||||
vt 0.256 0.485
|
||||
vt 0.255 0.402
|
||||
vt 0.495 0.401
|
||||
vt 0.495 0.485
|
||||
vt 0.261 0.516
|
||||
vt 0.261 0.485
|
||||
vt 0.494 0.485
|
||||
vt 0.494 0.516
|
||||
vt 0 0.745
|
||||
vt 0 0.703
|
||||
vt 0.246 0.704
|
||||
vt 0.246 0.745
|
||||
vt 0.25 0.25
|
||||
vt 0 0.25
|
||||
vt 0 0
|
||||
vt 0.25 0
|
||||
vt 0.25 0.75
|
||||
vt 0.25 1
|
||||
vt 0 0.75
|
||||
vt 1 0.25
|
||||
vt 1 0.75
|
||||
vt 0.75 0.75
|
||||
vt 0.75 0.25
|
||||
s off
|
||||
f 46/1 45/2 47/3 48/4
|
||||
usemtl Material.001_tetris_arcade.png
|
||||
f 6/5 7/6 3/7 2/8
|
||||
f 8/9 5/10 1/11 4/12
|
||||
f 1/10 2/13 3/14 4/15
|
||||
@ -137,7 +131,6 @@ f 35/40 36/41 32/42 31/43
|
||||
f 38/44 37/45 39/46 40/47
|
||||
f 42/48 41/49 43/50 44/51
|
||||
f 50/52 49/53 51/54 52/55
|
||||
usemtl Material.001_NONE
|
||||
f 21/56 22/57 23/58 24/59
|
||||
f 25/60 26/61 27/10 28/62
|
||||
f 22/63 28/64 27/65 23/66
|
||||
|
61
computer/printers.lua
Normal file
@ -0,0 +1,61 @@
|
||||
-- Printers of some kind or another
|
||||
|
||||
local S = minetest.get_translator("computer")
|
||||
|
||||
minetest.register_node("computer:printer", {
|
||||
description = S("Printer-Scanner Combo"),
|
||||
inventory_image = "computer_printer_inv.png",
|
||||
tiles = {"computer_printer_t.png","computer_printer_bt.png","computer_printer_l.png",
|
||||
"computer_printer_r.png","computer_printer_b.png","computer_printer_f.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = {snappy=3},
|
||||
sound = default.node_sound_wood_defaults(),
|
||||
drawtype = "nodebox",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.4375, -0.3125, -0.125, 0.4375, -0.0625, 0.375},
|
||||
{-0.4375, -0.5, -0.125, 0.4375, -0.4375, 0.375},
|
||||
{-0.4375, -0.5, -0.125, -0.25, -0.0625, 0.375},
|
||||
{0.25, -0.5, -0.125, 0.4375, -0.0625, 0.375},
|
||||
{-0.4375, -0.5, -0.0625, 0.4375, -0.0625, 0.375},
|
||||
{-0.375, -0.4375, 0.25, 0.375, -0.0625, 0.4375},
|
||||
{-0.25, -0.25, 0.4375, 0.25, 0.0625, 0.5},
|
||||
{-0.25, -0.481132, -0.3125, 0.25, -0.4375, 0}
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- "bedflinger" style 3D Printer (Prusa i3 or equivalent)
|
||||
|
||||
local cbox = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.25, -0.5, 0.3, 0.3, 0.25 }
|
||||
}
|
||||
|
||||
minetest.register_node("computer:3dprinter_bedflinger", {
|
||||
description = S('3D Printer ("bedflinger")'),
|
||||
inventory_image = "computer_3dprinter_bedflinger_inv.png",
|
||||
tiles = {
|
||||
{ name = "computer_3dprinter_bedflinger.png", color = 0xffffffff },
|
||||
"computer_3dprinter_filament.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
walkable = true,
|
||||
groups = {snappy=3, ud_param2_colorable = 1},
|
||||
sound = default.node_sound_wood_defaults(),
|
||||
drawtype = "mesh",
|
||||
mesh = "computer_3dprinter_bedflinger.obj",
|
||||
paramtype2 = "colorwallmounted",
|
||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||
selection_box = cbox,
|
||||
collision_box = cbox,
|
||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
||||
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
|
||||
end,
|
||||
on_dig = unifieddyes.on_dig,
|
||||
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
|
||||
})
|
||||
|
@ -134,8 +134,8 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = "computer:tetris_arcade",
|
||||
recipe = {
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal", "basic_materials:plastic_sheet", },
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal_simple", "basic_materials:plastic_sheet", },
|
||||
{ "dye:black", "default:glass", "dye:black" },
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal", "basic_materials:plastic_sheet" }
|
||||
{ "basic_materials:plastic_sheet", "basic_materials:energy_crystal_simple", "basic_materials:plastic_sheet" }
|
||||
}
|
||||
})
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("computer")
|
||||
|
||||
local shapes = {
|
||||
{ { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } },
|
||||
@ -220,10 +219,10 @@ local function step(pos, fields)
|
||||
if fields then
|
||||
if fields.new then
|
||||
new_game(pos)
|
||||
else
|
||||
elseif t then
|
||||
key(fields)
|
||||
end
|
||||
else
|
||||
elseif t then
|
||||
run = tick()
|
||||
end
|
||||
|
||||
@ -251,7 +250,7 @@ minetest.register_node("computer:tetris_arcade", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=3},
|
||||
on_rotate = screwdriver.rotate_simple,
|
||||
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
|
||||
|
BIN
computer/textures/computer_3dprinter_bedflinger.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
computer/textures/computer_3dprinter_bedflinger_inv.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
computer/textures/computer_3dprinter_filament.png
Normal file
After Width: | Height: | Size: 216 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 115 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 483 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 103 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 113 B |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 103 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 107 B |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 67 B |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 122 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 123 B |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 102 B |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 89 B |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 100 B After Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 80 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 101 B |
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 115 B |