move 3d printers to home_workshop_machines mod
and fix-up translation details (hopefully :P )
This commit is contained in:
parent
d0f7baa5af
commit
f6a2fdf428
@ -35,8 +35,6 @@ These are the items currently defined by this mod:
|
|||||||
"computers:server",
|
"computers:server",
|
||||||
"computers:server_on",
|
"computers:server_on",
|
||||||
"computers:printer",
|
"computers:printer",
|
||||||
"computers:3dprinter_bedflinger",
|
|
||||||
"computers:3dprinter_corexy",
|
|
||||||
"computers:tetris_arcade",
|
"computers:tetris_arcade",
|
||||||
|
|
||||||
There's also a `computers:computer' alias to `computers:babytower'.
|
There's also a `computers:computer' alias to `computers:babytower'.
|
||||||
|
@ -21,6 +21,4 @@ minetest.register_alias("computer:tower_on", "computers:tower")
|
|||||||
minetest.register_alias("computer:server", "computers:server")
|
minetest.register_alias("computer:server", "computers:server")
|
||||||
minetest.register_alias("computer:server_on", "computers:server_on")
|
minetest.register_alias("computer:server_on", "computers:server_on")
|
||||||
minetest.register_alias("computer:printer", "computers:printer")
|
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")
|
minetest.register_alias("computer:tetris_arcade", "computers:tetris_arcade")
|
||||||
|
@ -93,7 +93,6 @@ end
|
|||||||
|
|
||||||
local MODPATH = minetest.get_modpath("computers")
|
local MODPATH = minetest.get_modpath("computers")
|
||||||
dofile(MODPATH.."/computers.lua")
|
dofile(MODPATH.."/computers.lua")
|
||||||
dofile(MODPATH.."/printers.lua")
|
|
||||||
dofile(MODPATH.."/recipes.lua")
|
dofile(MODPATH.."/recipes.lua")
|
||||||
dofile(MODPATH.."/gaming.lua")
|
dofile(MODPATH.."/gaming.lua")
|
||||||
dofile(MODPATH.."/aliases.lua")
|
dofile(MODPATH.."/aliases.lua")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=Z Inspektor
|
|||||||
SheFriendSOO=Freundin S00
|
SheFriendSOO=Freundin S00
|
||||||
Snapple Piepad=Apfel-Ei-Pat
|
Snapple Piepad=Apfel-Ei-Pat
|
||||||
WIFI Router=WiFi-Router
|
WIFI Router=WiFi-Router
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=3D Drucker ("Bettschubser")
|
|
||||||
Printer-Scanner Combo=Multifunktionsdrucker
|
Printer-Scanner Combo=Multifunktionsdrucker
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=Enrutador WIFI
|
WIFI Router=Enrutador WIFI
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=Impresora y escáner combinados
|
Printer-Scanner Combo=Impresora y escáner combinados
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=Routeur WiFi
|
WIFI Router=Routeur WiFi
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=Imprimante multi-fonction
|
Printer-Scanner Combo=Imprimante multi-fonction
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=
|
WIFI Router=
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=
|
Printer-Scanner Combo=
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=Penghala WIFI
|
WIFI Router=Penghala WIFI
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=Pencetak Semua Dalam Satu
|
Printer-Scanner Combo=Pencetak Semua Dalam Satu
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=Roteador WIFI
|
WIFI Router=Roteador WIFI
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=Roteador WIFI
|
WIFI Router=Roteador WIFI
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
Printer-Scanner Combo=Tudo em Um Impressora-Scaner
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=WIFI-роутер
|
WIFI Router=WIFI-роутер
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=МФУ
|
Printer-Scanner Combo=МФУ
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=无线路由器
|
WIFI Router=无线路由器
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=打印扫描一体机
|
Printer-Scanner Combo=打印扫描一体机
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: computer
|
# textdomain: computers
|
||||||
|
|
||||||
|
|
||||||
### computers.lua ###
|
### computers.lua ###
|
||||||
@ -18,10 +18,6 @@ SX Specter=
|
|||||||
SheFriendSOO=
|
SheFriendSOO=
|
||||||
Snapple Piepad=
|
Snapple Piepad=
|
||||||
WIFI Router=
|
WIFI Router=
|
||||||
|
|
||||||
### printers.lua ###
|
|
||||||
|
|
||||||
3D Printer ("bedflinger")=
|
|
||||||
Printer-Scanner Combo=
|
Printer-Scanner Combo=
|
||||||
|
|
||||||
### tetris.lua ###
|
### tetris.lua ###
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
name = computers
|
name = computers
|
||||||
depends = default, basic_materials, unifieddyes
|
depends = default, basic_materials
|
||||||
optional_depends = screwdriver
|
optional_depends = screwdriver
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
local S = minetest.get_translator("computers")
|
local S = minetest.get_translator("home_workshop_machines")
|
||||||
|
|
||||||
-- "bedflinger" style 3D Printer (Prusa i3 or equivalent)
|
-- "bedflinger" style 3D Printer (Prusa i3 or equivalent)
|
||||||
|
|
||||||
@ -7,19 +7,19 @@ local cbox = {
|
|||||||
fixed = {-0.25, -0.25, -0.5, 0.3, 0.3, 0.25 }
|
fixed = {-0.25, -0.25, -0.5, 0.3, 0.3, 0.25 }
|
||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node("computers:3dprinter_bedflinger", {
|
minetest.register_node("home_workshop_machines:3dprinter_bedflinger", {
|
||||||
description = S('3D Printer ("bedflinger" design)'),
|
description = S('3D Printer ("bedflinger" design)'),
|
||||||
inventory_image = "computers_3dprinter_bedflinger_inv.png",
|
inventory_image = "home_workshop_machines_3dprinter_bedflinger_inv.png",
|
||||||
tiles = {
|
tiles = {
|
||||||
{ name = "computers_3dprinter.png", color = 0xffffffff },
|
{ name = "home_workshop_machines_3dprinter.png", color = 0xffffffff },
|
||||||
"computers_3dprinter_filament.png"
|
"home_workshop_machines_3dprinter_filament.png"
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {snappy=3, ud_param2_colorable = 1},
|
groups = {snappy=3, ud_param2_colorable = 1},
|
||||||
sound = default.node_sound_wood_defaults(),
|
sound = default.node_sound_wood_defaults(),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "computers_3dprinter_bedflinger.obj",
|
mesh = "home_workshop_machines_3dprinter_bedflinger.obj",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||||
selection_box = cbox,
|
selection_box = cbox,
|
||||||
@ -38,18 +38,18 @@ cbox = {
|
|||||||
fixed = {-0.4375, -0.5, -0.5, 0.4375, 0.5, 0.375 }
|
fixed = {-0.4375, -0.5, -0.5, 0.4375, 0.5, 0.375 }
|
||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node("computers:3dprinter_corexy", {
|
minetest.register_node("home_workshop_machines:3dprinter_corexy", {
|
||||||
description = S('3D Printer (CoreXY design)'),
|
description = S('3D Printer (CoreXY design)'),
|
||||||
tiles = {
|
tiles = {
|
||||||
{ name = "computers_3dprinter.png", color = 0xffffffff },
|
{ name = "home_workshop_machines_3dprinter.png", color = 0xffffffff },
|
||||||
"computers_3dprinter_filament.png"
|
"home_workshop_machines_3dprinter_filament.png"
|
||||||
},
|
},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {snappy=3, ud_param2_colorable = 1},
|
groups = {snappy=3, ud_param2_colorable = 1},
|
||||||
sound = default.node_sound_wood_defaults(),
|
sound = default.node_sound_wood_defaults(),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "computers_3dprinter_corexy.obj",
|
mesh = "home_workshop_machines_3dprinter_corexy.obj",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||||
selection_box = cbox,
|
selection_box = cbox,
|
||||||
@ -60,3 +60,8 @@ minetest.register_node("computers:3dprinter_corexy", {
|
|||||||
on_dig = unifieddyes.on_dig,
|
on_dig = unifieddyes.on_dig,
|
||||||
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
|
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_alias("computer:3dprinter_bedflinger", "home_workshop_machines:3dprinter_bedflinger")
|
||||||
|
minetest.register_alias("computers:3dprinter_bedflinger", "home_workshop_machines:3dprinter_bedflinger")
|
||||||
|
minetest.register_alias("computer:3dprinter_corexy", "home_workshop_machines:3dprinter_corexy")
|
||||||
|
minetest.register_alias("computers:3dprinter_corexy", "home_workshop_machines:3dprinter_corexy")
|
@ -0,0 +1,6 @@
|
|||||||
|
# textdomain: home_workshop_machines
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
3D Printer ("bedflinger" design)=3D Drucker ("Bettschubser")
|
||||||
|
3D Printer (CoreXY design)=
|
6
home_workshop_machines/locale/template.txt
Normal file
6
home_workshop_machines/locale/template.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# textdomain: home_workshop_machines
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
3D Printer ("bedflinger" design)=
|
||||||
|
3D Printer (CoreXY design)=
|
3
home_workshop_machines/mod.conf
Normal file
3
home_workshop_machines/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = home_workshop_machines
|
||||||
|
depends = default, unifieddyes
|
||||||
|
optional_depends = screwdriver
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 216 B |
Loading…
x
Reference in New Issue
Block a user