move 3d printers to home_workshop_machines mod

and fix-up translation details (hopefully :P )
This commit is contained in:
Vanessa Dannenberg
2021-03-02 03:54:16 -05:00
parent d0f7baa5af
commit f6a2fdf428
23 changed files with 41 additions and 66 deletions

View File

@ -35,8 +35,6 @@ These are the items currently defined by this mod:
"computers:server",
"computers:server_on",
"computers:printer",
"computers:3dprinter_bedflinger",
"computers:3dprinter_corexy",
"computers:tetris_arcade",
There's also a `computers:computer' alias to `computers:babytower'.

View File

@ -21,6 +21,4 @@ minetest.register_alias("computer:tower_on", "computers:tower")
minetest.register_alias("computer:server", "computers:server")
minetest.register_alias("computer:server_on", "computers:server_on")
minetest.register_alias("computer:printer", "computers:printer")
minetest.register_alias("computer:3dprinter_bedflinger", "computers:3dprinter_bedflinger")
minetest.register_alias("computer:3dprinter_corexy", "computers:3dprinter_corexy")
minetest.register_alias("computer:tetris_arcade", "computers:tetris_arcade")

View File

@ -93,7 +93,6 @@ end
local MODPATH = minetest.get_modpath("computers")
dofile(MODPATH.."/computers.lua")
dofile(MODPATH.."/printers.lua")
dofile(MODPATH.."/recipes.lua")
dofile(MODPATH.."/gaming.lua")
dofile(MODPATH.."/aliases.lua")

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ 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 ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=Enrutador WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Impresora y escáner combinados
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=Routeur WiFi
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Imprimante multi-fonction
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=Penghala WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Pencetak Semua Dalam Satu
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=Roteador WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=Roteador WIFI
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=WIFI-роутер
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=МФУ
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=无线路由器
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=打印扫描一体机
### tetris.lua ###

View File

@ -1,4 +1,4 @@
# textdomain: computer
# textdomain: computers
### computers.lua ###
@ -18,10 +18,6 @@ SX Specter=
SheFriendSOO=
Snapple Piepad=
WIFI Router=
### printers.lua ###
3D Printer ("bedflinger")=
Printer-Scanner Combo=
### tetris.lua ###

View File

@ -1,3 +1,3 @@
name = computers
depends = default, basic_materials, unifieddyes
depends = default, basic_materials
optional_depends = screwdriver

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,62 +0,0 @@
local S = minetest.get_translator("computers")
-- "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("computers:3dprinter_bedflinger", {
description = S('3D Printer ("bedflinger" design)'),
inventory_image = "computers_3dprinter_bedflinger_inv.png",
tiles = {
{ name = "computers_3dprinter.png", color = 0xffffffff },
"computers_3dprinter_filament.png"
},
paramtype = "light",
walkable = true,
groups = {snappy=3, ud_param2_colorable = 1},
sound = default.node_sound_wood_defaults(),
drawtype = "mesh",
mesh = "computers_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,
})
-- COreXY style printer (Hypercube or similar)
cbox = {
type = "fixed",
fixed = {-0.4375, -0.5, -0.5, 0.4375, 0.5, 0.375 }
}
minetest.register_node("computers:3dprinter_corexy", {
description = S('3D Printer (CoreXY design)'),
tiles = {
{ name = "computers_3dprinter.png", color = 0xffffffff },
"computers_3dprinter_filament.png"
},
paramtype = "light",
walkable = true,
groups = {snappy=3, ud_param2_colorable = 1},
sound = default.node_sound_wood_defaults(),
drawtype = "mesh",
mesh = "computers_3dprinter_corexy.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,
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B