mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2025-01-11 10:40:24 +01:00
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_on",
|
||||
"computers:printer",
|
||||
"computers:3dprinter_bedflinger",
|
||||
"computers:3dprinter_corexy",
|
||||
"computers:tetris_arcade",
|
||||
|
||||
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_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")
|
||||
|
@ -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")
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -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 ###
|
||||
|
@ -1,3 +1,3 @@
|
||||
name = computers
|
||||
depends = default, basic_materials, unifieddyes
|
||||
depends = default, basic_materials
|
||||
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)
|
||||
|
||||
@ -7,19 +7,19 @@ local cbox = {
|
||||
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)'),
|
||||
inventory_image = "computers_3dprinter_bedflinger_inv.png",
|
||||
inventory_image = "home_workshop_machines_3dprinter_bedflinger_inv.png",
|
||||
tiles = {
|
||||
{ name = "computers_3dprinter.png", color = 0xffffffff },
|
||||
"computers_3dprinter_filament.png"
|
||||
{ name = "home_workshop_machines_3dprinter.png", color = 0xffffffff },
|
||||
"home_workshop_machines_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",
|
||||
mesh = "home_workshop_machines_3dprinter_bedflinger.obj",
|
||||
paramtype2 = "colorwallmounted",
|
||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||
selection_box = cbox,
|
||||
@ -38,18 +38,18 @@ cbox = {
|
||||
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)'),
|
||||
tiles = {
|
||||
{ name = "computers_3dprinter.png", color = 0xffffffff },
|
||||
"computers_3dprinter_filament.png"
|
||||
{ name = "home_workshop_machines_3dprinter.png", color = 0xffffffff },
|
||||
"home_workshop_machines_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",
|
||||
mesh = "home_workshop_machines_3dprinter_corexy.obj",
|
||||
paramtype2 = "colorwallmounted",
|
||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||
selection_box = cbox,
|
||||
@ -60,3 +60,8 @@ minetest.register_node("computers:3dprinter_corexy", {
|
||||
on_dig = unifieddyes.on_dig,
|
||||
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…
Reference in New Issue
Block a user