From dc0689018d27a68ae2987194285558b3add09be2 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Sun, 25 Nov 2018 06:54:27 -0500 Subject: [PATCH] move CNC machine into its own mod --- technic/locale/de.txt | 36 ------------------ technic/locale/es.txt | 35 ----------------- technic/locale/it.txt | 36 ------------------ technic/locale/template.txt | 35 ----------------- technic/machines/LV/init.lua | 5 --- {technic/machines/LV => technic_cnc}/cnc.lua | 7 ++-- .../machines/LV => technic_cnc}/cnc_api.lua | 30 +++++++-------- .../cnc_materials.lua | 0 technic_cnc/depends.txt | 2 + technic_cnc/init.lua | 13 +++++++ technic_cnc/locale/de.txt | 35 +++++++++++++++++ technic_cnc/locale/es.txt | 34 +++++++++++++++++ technic_cnc/locale/it.txt | 35 +++++++++++++++++ technic_cnc/locale/template.txt | 35 +++++++++++++++++ .../models/technic_cnc_cylinder.obj | 0 .../technic_cnc_cylinder_horizontal.obj | 0 .../models/technic_cnc_innercorner.obj | 0 .../technic_cnc_innercorner_upsdown.obj | 0 .../models/technic_cnc_oblate_spheroid.obj | 0 .../models/technic_cnc_one_curved_edge.obj | 0 .../models/technic_cnc_outercorner.obj | 0 .../technic_cnc_outercorner_upsdown.obj | 0 .../models/technic_cnc_pyramid.obj | 0 .../models/technic_cnc_pyramid_spike.obj | 0 .../models/technic_cnc_slope.obj | 0 .../models/technic_cnc_slope_horizontal.obj | 0 .../models/technic_cnc_slope_upsdown.obj | 0 .../models/technic_cnc_sphere.obj | 0 .../models/technic_cnc_two_curved_edge.obj | 0 .../textures/technic_cnc_bottom.png | Bin .../textures/technic_cnc_cylinder.png | Bin .../technic_cnc_cylinder_horizontal.png | Bin .../textures/technic_cnc_element_cross.png | Bin .../textures/technic_cnc_element_edge.png | Bin .../textures/technic_cnc_element_end.png | Bin .../textures/technic_cnc_element_straight.png | Bin .../textures/technic_cnc_element_t.png | Bin .../textures/technic_cnc_front.png | Bin .../textures/technic_cnc_front_active.png | Bin .../textures/technic_cnc_full.png | Bin .../textures/technic_cnc_half.png | Bin .../technic_cnc_milling_background.png | Bin .../textures/technic_cnc_oblate_spheroid.png | Bin .../textures/technic_cnc_onecurvededge.png | Bin .../textures/technic_cnc_pyramid.png | Bin .../textures/technic_cnc_side.png | Bin .../textures/technic_cnc_slope.png | Bin .../textures/technic_cnc_slope_edge.png | Bin .../technic_cnc_slope_edge_upsdwn.png | Bin .../textures/technic_cnc_slope_inner_edge.png | Bin .../technic_cnc_slope_inner_edge_upsdwn.png | Bin .../textures/technic_cnc_slope_lying.png | Bin .../textures/technic_cnc_slope_upsdwn.png | Bin .../textures/technic_cnc_sphere.png | Bin .../textures/technic_cnc_spike.png | Bin .../textures/technic_cnc_stick.png | Bin .../textures/technic_cnc_top.png | Bin .../textures/technic_cnc_top_active.png | Bin .../textures/technic_cnc_twocurvededge.png | Bin 59 files changed, 173 insertions(+), 165 deletions(-) rename {technic/machines/LV => technic_cnc}/cnc.lua (98%) rename {technic/machines/LV => technic_cnc}/cnc_api.lua (94%) rename technic/machines/LV/cnc_nodes.lua => technic_cnc/cnc_materials.lua (100%) create mode 100644 technic_cnc/depends.txt create mode 100644 technic_cnc/init.lua create mode 100644 technic_cnc/locale/de.txt create mode 100644 technic_cnc/locale/es.txt create mode 100644 technic_cnc/locale/it.txt create mode 100644 technic_cnc/locale/template.txt rename technic/models/technic_cylinder.obj => technic_cnc/models/technic_cnc_cylinder.obj (100%) rename technic/models/technic_cylinder_horizontal.obj => technic_cnc/models/technic_cnc_cylinder_horizontal.obj (100%) rename technic/models/technic_innercorner.obj => technic_cnc/models/technic_cnc_innercorner.obj (100%) rename technic/models/technic_innercorner_upsdown.obj => technic_cnc/models/technic_cnc_innercorner_upsdown.obj (100%) rename technic/models/technic_oblate_spheroid.obj => technic_cnc/models/technic_cnc_oblate_spheroid.obj (100%) rename technic/models/technic_one_curved_edge.obj => technic_cnc/models/technic_cnc_one_curved_edge.obj (100%) rename technic/models/technic_outercorner.obj => technic_cnc/models/technic_cnc_outercorner.obj (100%) rename technic/models/technic_outercorner_upsdown.obj => technic_cnc/models/technic_cnc_outercorner_upsdown.obj (100%) rename technic/models/technic_pyramid.obj => technic_cnc/models/technic_cnc_pyramid.obj (100%) rename technic/models/technic_pyramid_spike.obj => technic_cnc/models/technic_cnc_pyramid_spike.obj (100%) rename technic/models/technic_slope.obj => technic_cnc/models/technic_cnc_slope.obj (100%) rename technic/models/technic_slope_horizontal.obj => technic_cnc/models/technic_cnc_slope_horizontal.obj (100%) rename technic/models/technic_slope_upsdown.obj => technic_cnc/models/technic_cnc_slope_upsdown.obj (100%) rename technic/models/technic_sphere.obj => technic_cnc/models/technic_cnc_sphere.obj (100%) rename technic/models/technic_two_curved_edge.obj => technic_cnc/models/technic_cnc_two_curved_edge.obj (100%) rename {technic => technic_cnc}/textures/technic_cnc_bottom.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_cylinder.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_cylinder_horizontal.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_element_cross.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_element_edge.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_element_end.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_element_straight.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_element_t.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_front.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_front_active.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_full.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_half.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_milling_background.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_oblate_spheroid.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_onecurvededge.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_pyramid.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_side.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope_edge.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope_edge_upsdwn.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope_inner_edge.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope_inner_edge_upsdwn.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope_lying.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_slope_upsdwn.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_sphere.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_spike.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_stick.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_top.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_top_active.png (100%) rename {technic => technic_cnc}/textures/technic_cnc_twocurvededge.png (100%) diff --git a/technic/locale/de.txt b/technic/locale/de.txt index 855ec5a..69bcb3d 100644 --- a/technic/locale/de.txt +++ b/technic/locale/de.txt @@ -67,7 +67,6 @@ Disabled = %s Alloy Furnace = %s Legierungsofen %s Battery Box = %s Batteriebox %s Cable = %s Kabel -%s CNC Machine = %s CNC-Maschine %s Compressor = %s Kompressor %s Extractor = %s Extraktor %s Forcefield Emitter = %s Kraftfeld-Emitter @@ -121,41 +120,6 @@ Digging finished = Digging %d m above machine = Digging %d m below machine = -## CNC -Cylinder = Zylinder -Element Cross = Halbes Kreuzelement -Element Cross Double = Kreuzelement -Element Edge = Halbes Eckelement -Element Edge Double = Eckelement -Element End = Halbes Endelement -Element End Double = Endelement -Element Straight = Halbes aufrechtes Element -Element Straight Double = Aufrechtes Element -Element T = Halbes T-Element -Element T Double = T-Element -Horizontal Cylinder = Liegender Zylinder -One Curved Edge Block = Block mit einer abgerundeten Kante -Pyramid = Pyramide -Slope = Schraege -Slope Edge = Schraege mit Ecke -Slope Inner Edge = Schraege mit Innenecke -Slope Lying = Liegende Schraege -Slope Upside Down = Umgedrehte Schraege -Slope Upside Down Edge = Umgedrehte Schraege mit Ecke -Slope Upside Down Inner Edge = Umgedrehte Schraege mit Innenecke -Sphere = Kugel -Spike = Spitze -Stick = Stange -Two Curved Edge Block = Block mit zwei abgerundeten Kanten -Brick = Ziegel: -Cobble = Pflasterstein: -Dirt = Erde: -Leaves = Laub: -Sandstone = Sandstein: -Stone = Stein: -Tree = Baumstamm: -Wooden = Holz: - ## Grinder Recipes # $1: Name %s Dust = %sstaub diff --git a/technic/locale/es.txt b/technic/locale/es.txt index 7945d65..2c1cdca 100644 --- a/technic/locale/es.txt +++ b/technic/locale/es.txt @@ -63,7 +63,6 @@ Disabled = %s Alloy Furnace = Horno de Aleacion %s %s Battery Box = Caja de Bateria %s %s Cable = Cable %s -%s CNC Machine = Maquina CNC %s %s Compressor = Compresor %s %s Extractor = Extractor %s %s Forcefield Emitter = Emisor de Campo de Fuerza %s @@ -115,40 +114,6 @@ Digging finished = Digging %d m above machine = Digging %d m below machine = -## CNC Machine -Element Edge = Elemento Borde -Tree = Arbol -Element Cross Double = Elemento Cruz Doble -Spike = Pica -Element Edge Double = Elemento Borde Doble -Two Curved Edge Block = Dos Bloques de Borde Curvados -Pyramid = Piramide -Slope Upside Down Inner Edge = Borde Interno de Rampa Al Reves -Slope Upside Down Edge = Borde de Rampa Al Reves -Element Straight Double = Elemento Doble Recto -Sphere = Esfera -Element End Double = Doble Fin de Elemento -Element Straight = Recta de Elemento -Horizontal Cylinder = Cilindro Horizontal -Slope Inner Edge = Borde Interno de Rampa -One Curved Edge Block = Un Bloque de Borde Curvado -Element Cross = Cruce de Elementos -Stick = Varita -Element End = Fin de Elemento -Slope Lying = Rampa en Reposo -Slope Upside Down = Rampa Al Reves -Slope Edge = Borde de Rampa -Slope = Rampa -Element T = Elemento T -Cylinder = Cilindro -Cobble = Adoquines -Stone = Piedra -Brick = Ladrillo -Dirt = Tierra -Sandstone = Arenisca -Wooden = Madera -Leaves = Hojas - ## Grinder Recipes # $1: Name %s Dust = Polvo de %s diff --git a/technic/locale/it.txt b/technic/locale/it.txt index a092a53..18b0e4f 100644 --- a/technic/locale/it.txt +++ b/technic/locale/it.txt @@ -64,7 +64,6 @@ Disabled = Disabilitato %s Alloy Furnace = %s Fornace per leghe %s Battery Box = %s Box batterie %s Cable = Cavo %s -%s CNC Machine = Tornio CNC %s %s Compressor = Compressore %s %s Extractor = Estrattore %s %s Forcefield Emitter = Emettitore di campo di forza %s @@ -118,41 +117,6 @@ Digging finished = Scavo finito Digging %d m above machine = Scavo di %d m sopra la macchina Digging %d m below machine = Scavo di %d m sotto la macchina -## CNC -Cylinder = Cilindro -Element Cross = Elemento a croce -Element Cross Double = Elemento a croce doppio -Element Edge = Elemento bordo -Element Edge Double = Elemento bordo doppio -Element End = Elemento finale -Element End Double = Elemento finale doppio -Element Straight = Elemento dritto -Element Straight Double = Elemento dritto doppio -Element T = Elemento a T -Element T Double = Elemento a T doppio -Horizontal Cylinder = Cilindro orizzontale -One Curved Edge Block = Blocco con bordo curvo -Pyramid = Piramide -Slope = Inclinato -Slope Edge = Bordo inclinato -Slope Inner Edge = Bordo interno inclinato -Slope Lying = Pendenza bugiarda -Slope Upside Down = Pendenza capovolta -Slope Upside Down Edge = Bordo inclinato capovolto -Slope Upside Down Inner Edge = Bordo interno inclinato capovolto -Sphere = Sfera -Spike = Spuntone -Stick = Bastone -Two Curved Edge Block = Blocco con bordo a doppia curva -Brick = Mattone -Cobble = Ciottolato -Dirt = Terra -Leaves = Foglie -Sandstone = Arenaria -Stone = Pietra -Tree = Albero -Wooden = Legno - ## Grinder Recipes # $1: Name %s Dust = Polvere di %s diff --git a/technic/locale/template.txt b/technic/locale/template.txt index 0464241..f94ccda 100644 --- a/technic/locale/template.txt +++ b/technic/locale/template.txt @@ -71,7 +71,6 @@ Disabled = %s Alloy Furnace = %s Battery Box = %s Cable = -%s CNC Machine = %s Centrifuge = %s Compressor = %s Extractor = @@ -127,40 +126,6 @@ Digging %d m above machine = Digging %d m below machine = @1 (@2 @3 -> @4 @5) = -## CNC -Cylinder = -Element Cross = -Element Cross Double = -Element Edge = -Element Edge Double = -Element End = -Element End Double = -Element Straight = -Element Straight Double = -Element T = -Element T Double = -Horizontal Cylinder = -One Curved Edge Block = -Pyramid = -Slope = -Slope Edge = -Slope Inner Edge = -Slope Lying = -Slope Upside Down = -Slope Upside Down Edge = -Slope Upside Down Inner Edge = -Sphere = -Spike = -Stick = -Two Curved Edge Block = -Brick = -Cobble = -Dirt = -Leaves = -Sandstone = -Stone = -Tree = -Wooden = ## Grinder Recipes # $1: Name diff --git a/technic/machines/LV/init.lua b/technic/machines/LV/init.lua index 30523c9..fde684d 100644 --- a/technic/machines/LV/init.lua +++ b/technic/machines/LV/init.lua @@ -22,8 +22,3 @@ dofile(path.."/extractor.lua") dofile(path.."/compressor.lua") dofile(path.."/music_player.lua") - -dofile(path.."/cnc.lua") -dofile(path.."/cnc_api.lua") -dofile(path.."/cnc_nodes.lua") - diff --git a/technic/machines/LV/cnc.lua b/technic_cnc/cnc.lua similarity index 98% rename from technic/machines/LV/cnc.lua rename to technic_cnc/cnc.lua index b8eb729..642560f 100644 --- a/technic/machines/LV/cnc.lua +++ b/technic_cnc/cnc.lua @@ -7,8 +7,9 @@ -- I could imagine some form of API allowing modders to come with their own node -- box definitions and easily stuff it in the this machine for production. -local S = technic.getter +local technic_modpath = minetest.get_modpath("technic") +local S = technic.getter minetest.register_craft({ output = 'technic:cnc', @@ -181,7 +182,7 @@ local run = function(pos, node) end -- The actual block inactive state -minetest.register_node("technic:cnc", { +minetest.register_node(":technic:cnc", { description = S("%s CNC Machine"):format("LV"), tiles = {"technic_cnc_top.png", "technic_cnc_bottom.png", "technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_front.png"}, @@ -207,7 +208,7 @@ minetest.register_node("technic:cnc", { }) -- Active state block -minetest.register_node("technic:cnc_active", { +minetest.register_node(":technic:cnc_active", { description = S("%s CNC Machine"):format("LV"), tiles = {"technic_cnc_top_active.png", "technic_cnc_bottom.png", "technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_front_active.png"}, diff --git a/technic/machines/LV/cnc_api.lua b/technic_cnc/cnc_api.lua similarity index 94% rename from technic/machines/LV/cnc_api.lua rename to technic_cnc/cnc_api.lua index f5aae5c..c801fbc 100644 --- a/technic/machines/LV/cnc_api.lua +++ b/technic_cnc/cnc_api.lua @@ -83,7 +83,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_oblate_spheroid", - model = "technic_oblate_spheroid.obj", + model = "technic_cnc_oblate_spheroid.obj", desc = S("Oblate spheroid"), cbox = { type = "fixed", @@ -96,32 +96,32 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_sphere", - model = "technic_sphere.obj", + model = "technic_cnc_sphere.obj", desc = S("Sphere") }, { suffix = "technic_cnc_cylinder_horizontal", - model = "technic_cylinder_horizontal.obj", + model = "technic_cnc_cylinder_horizontal.obj", desc = S("Horizontal Cylinder") }, { suffix = "technic_cnc_cylinder", - model = "technic_cylinder.obj", + model = "technic_cnc_cylinder.obj", desc = S("Cylinder") }, { suffix = "technic_cnc_twocurvededge", - model = "technic_two_curved_edge.obj", + model = "technic_cnc_two_curved_edge.obj", desc = S("Two Curved Edge/Corner Block") }, { suffix = "technic_cnc_onecurvededge", - model = "technic_one_curved_edge.obj", + model = "technic_cnc_one_curved_edge.obj", desc = S("One Curved Edge Block") }, { suffix = "technic_cnc_spike", - model = "technic_pyramid_spike.obj", + model = "technic_cnc_pyramid_spike.obj", desc = S("Spike"), cbox = { type = "fixed", @@ -135,7 +135,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_pyramid", - model = "technic_pyramid.obj", + model = "technic_cnc_pyramid.obj", desc = S("Pyramid"), cbox = { type = "fixed", @@ -149,7 +149,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope_inner_edge_upsdown", - model = "technic_innercorner_upsdown.obj", + model = "technic_cnc_innercorner_upsdown.obj", desc = S("Slope Upside Down Inner Edge/Corner"), sbox = { type = "fixed", @@ -170,7 +170,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope_edge_upsdown", - model = "technic_outercorner_upsdown.obj", + model = "technic_cnc_outercorner_upsdown.obj", desc = S("Slope Upside Down Outer Edge/Corner"), cbox = { type = "fixed", @@ -184,7 +184,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope_inner_edge", - model = "technic_innercorner.obj", + model = "technic_cnc_innercorner.obj", desc = S("Slope Inner Edge/Corner"), sbox = { type = "fixed", @@ -205,7 +205,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope_edge", - model = "technic_outercorner.obj", + model = "technic_cnc_outercorner.obj", desc = S("Slope Outer Edge/Corner"), cbox = { type = "fixed", @@ -219,7 +219,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope_upsdown", - model = "technic_slope_upsdown.obj", + model = "technic_cnc_slope_upsdown.obj", desc = S("Slope Upside Down"), cbox = { type = "fixed", @@ -233,7 +233,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope_lying", - model = "technic_slope_horizontal.obj", + model = "technic_cnc_slope_horizontal.obj", desc = S("Slope Lying"), cbox = { type = "fixed", @@ -247,7 +247,7 @@ technic.cnc.programs = { }, { suffix = "technic_cnc_slope", - model = "technic_slope.obj", + model = "technic_cnc_slope.obj", desc = S("Slope"), cbox = { type = "fixed", diff --git a/technic/machines/LV/cnc_nodes.lua b/technic_cnc/cnc_materials.lua similarity index 100% rename from technic/machines/LV/cnc_nodes.lua rename to technic_cnc/cnc_materials.lua diff --git a/technic_cnc/depends.txt b/technic_cnc/depends.txt new file mode 100644 index 0000000..d684218 --- /dev/null +++ b/technic_cnc/depends.txt @@ -0,0 +1,2 @@ +default +technic diff --git a/technic_cnc/init.lua b/technic_cnc/init.lua new file mode 100644 index 0000000..afdb0b8 --- /dev/null +++ b/technic_cnc/init.lua @@ -0,0 +1,13 @@ +local modpath = minetest.get_modpath("technic_cnc") + +technic_cnc = {} + +if rawget(_G, "intllib") then + technic_cnc.getter = intllib.Getter() +else + technic_cnc.getter = function(s,a,...)if a==nil then return s end a={a,...}return s:gsub("(@?)@(%(?)(%d+)(%)?)",function(e,o,n,c)if e==""then return a[tonumber(n)]..(o==""and c or"")else return"@"..o..n..c end end) end +end + +dofile(modpath.."/cnc.lua") +dofile(modpath.."/cnc_api.lua") +dofile(modpath.."/cnc_materials.lua") diff --git a/technic_cnc/locale/de.txt b/technic_cnc/locale/de.txt new file mode 100644 index 0000000..a8a3962 --- /dev/null +++ b/technic_cnc/locale/de.txt @@ -0,0 +1,35 @@ +## CNC +%s CNC Machine = %s CNC-Maschine +Cylinder = Zylinder +Element Cross = Halbes Kreuzelement +Element Cross Double = Kreuzelement +Element Edge = Halbes Eckelement +Element Edge Double = Eckelement +Element End = Halbes Endelement +Element End Double = Endelement +Element Straight = Halbes aufrechtes Element +Element Straight Double = Aufrechtes Element +Element T = Halbes T-Element +Element T Double = T-Element +Horizontal Cylinder = Liegender Zylinder +One Curved Edge Block = Block mit einer abgerundeten Kante +Pyramid = Pyramide +Slope = Schraege +Slope Edge = Schraege mit Ecke +Slope Inner Edge = Schraege mit Innenecke +Slope Lying = Liegende Schraege +Slope Upside Down = Umgedrehte Schraege +Slope Upside Down Edge = Umgedrehte Schraege mit Ecke +Slope Upside Down Inner Edge = Umgedrehte Schraege mit Innenecke +Sphere = Kugel +Spike = Spitze +Stick = Stange +Two Curved Edge Block = Block mit zwei abgerundeten Kanten +Brick = Ziegel: +Cobble = Pflasterstein: +Dirt = Erde: +Leaves = Laub: +Sandstone = Sandstein: +Stone = Stein: +Tree = Baumstamm: +Wooden = Holz: diff --git a/technic_cnc/locale/es.txt b/technic_cnc/locale/es.txt new file mode 100644 index 0000000..036f987 --- /dev/null +++ b/technic_cnc/locale/es.txt @@ -0,0 +1,34 @@ +## CNC +%s CNC Machine = Maquina CNC %s +Element Edge = Elemento Borde +Tree = Arbol +Element Cross Double = Elemento Cruz Doble +Spike = Pica +Element Edge Double = Elemento Borde Doble +Two Curved Edge Block = Dos Bloques de Borde Curvados +Pyramid = Piramide +Slope Upside Down Inner Edge = Borde Interno de Rampa Al Reves +Slope Upside Down Edge = Borde de Rampa Al Reves +Element Straight Double = Elemento Doble Recto +Sphere = Esfera +Element End Double = Doble Fin de Elemento +Element Straight = Recta de Elemento +Horizontal Cylinder = Cilindro Horizontal +Slope Inner Edge = Borde Interno de Rampa +One Curved Edge Block = Un Bloque de Borde Curvado +Element Cross = Cruce de Elementos +Stick = Varita +Element End = Fin de Elemento +Slope Lying = Rampa en Reposo +Slope Upside Down = Rampa Al Reves +Slope Edge = Borde de Rampa +Slope = Rampa +Element T = Elemento T +Cylinder = Cilindro +Cobble = Adoquines +Stone = Piedra +Brick = Ladrillo +Dirt = Tierra +Sandstone = Arenisca +Wooden = Madera +Leaves = Hojas diff --git a/technic_cnc/locale/it.txt b/technic_cnc/locale/it.txt new file mode 100644 index 0000000..1527f11 --- /dev/null +++ b/technic_cnc/locale/it.txt @@ -0,0 +1,35 @@ +## CNC +%s CNC Machine = Tornio CNC %s +Cylinder = Cilindro +Element Cross = Elemento a croce +Element Cross Double = Elemento a croce doppio +Element Edge = Elemento bordo +Element Edge Double = Elemento bordo doppio +Element End = Elemento finale +Element End Double = Elemento finale doppio +Element Straight = Elemento dritto +Element Straight Double = Elemento dritto doppio +Element T = Elemento a T +Element T Double = Elemento a T doppio +Horizontal Cylinder = Cilindro orizzontale +One Curved Edge Block = Blocco con bordo curvo +Pyramid = Piramide +Slope = Inclinato +Slope Edge = Bordo inclinato +Slope Inner Edge = Bordo interno inclinato +Slope Lying = Pendenza bugiarda +Slope Upside Down = Pendenza capovolta +Slope Upside Down Edge = Bordo inclinato capovolto +Slope Upside Down Inner Edge = Bordo interno inclinato capovolto +Sphere = Sfera +Spike = Spuntone +Stick = Bastone +Two Curved Edge Block = Blocco con bordo a doppia curva +Brick = Mattone +Cobble = Ciottolato +Dirt = Terra +Leaves = Foglie +Sandstone = Arenaria +Stone = Pietra +Tree = Albero +Wooden = Legno diff --git a/technic_cnc/locale/template.txt b/technic_cnc/locale/template.txt new file mode 100644 index 0000000..2b159ea --- /dev/null +++ b/technic_cnc/locale/template.txt @@ -0,0 +1,35 @@ +## CNC +%s CNC Machine = +Cylinder = +Element Cross = +Element Cross Double = +Element Edge = +Element Edge Double = +Element End = +Element End Double = +Element Straight = +Element Straight Double = +Element T = +Element T Double = +Horizontal Cylinder = +One Curved Edge Block = +Pyramid = +Slope = +Slope Edge = +Slope Inner Edge = +Slope Lying = +Slope Upside Down = +Slope Upside Down Edge = +Slope Upside Down Inner Edge = +Sphere = +Spike = +Stick = +Two Curved Edge Block = +Brick = +Cobble = +Dirt = +Leaves = +Sandstone = +Stone = +Tree = +Wooden = diff --git a/technic/models/technic_cylinder.obj b/technic_cnc/models/technic_cnc_cylinder.obj similarity index 100% rename from technic/models/technic_cylinder.obj rename to technic_cnc/models/technic_cnc_cylinder.obj diff --git a/technic/models/technic_cylinder_horizontal.obj b/technic_cnc/models/technic_cnc_cylinder_horizontal.obj similarity index 100% rename from technic/models/technic_cylinder_horizontal.obj rename to technic_cnc/models/technic_cnc_cylinder_horizontal.obj diff --git a/technic/models/technic_innercorner.obj b/technic_cnc/models/technic_cnc_innercorner.obj similarity index 100% rename from technic/models/technic_innercorner.obj rename to technic_cnc/models/technic_cnc_innercorner.obj diff --git a/technic/models/technic_innercorner_upsdown.obj b/technic_cnc/models/technic_cnc_innercorner_upsdown.obj similarity index 100% rename from technic/models/technic_innercorner_upsdown.obj rename to technic_cnc/models/technic_cnc_innercorner_upsdown.obj diff --git a/technic/models/technic_oblate_spheroid.obj b/technic_cnc/models/technic_cnc_oblate_spheroid.obj similarity index 100% rename from technic/models/technic_oblate_spheroid.obj rename to technic_cnc/models/technic_cnc_oblate_spheroid.obj diff --git a/technic/models/technic_one_curved_edge.obj b/technic_cnc/models/technic_cnc_one_curved_edge.obj similarity index 100% rename from technic/models/technic_one_curved_edge.obj rename to technic_cnc/models/technic_cnc_one_curved_edge.obj diff --git a/technic/models/technic_outercorner.obj b/technic_cnc/models/technic_cnc_outercorner.obj similarity index 100% rename from technic/models/technic_outercorner.obj rename to technic_cnc/models/technic_cnc_outercorner.obj diff --git a/technic/models/technic_outercorner_upsdown.obj b/technic_cnc/models/technic_cnc_outercorner_upsdown.obj similarity index 100% rename from technic/models/technic_outercorner_upsdown.obj rename to technic_cnc/models/technic_cnc_outercorner_upsdown.obj diff --git a/technic/models/technic_pyramid.obj b/technic_cnc/models/technic_cnc_pyramid.obj similarity index 100% rename from technic/models/technic_pyramid.obj rename to technic_cnc/models/technic_cnc_pyramid.obj diff --git a/technic/models/technic_pyramid_spike.obj b/technic_cnc/models/technic_cnc_pyramid_spike.obj similarity index 100% rename from technic/models/technic_pyramid_spike.obj rename to technic_cnc/models/technic_cnc_pyramid_spike.obj diff --git a/technic/models/technic_slope.obj b/technic_cnc/models/technic_cnc_slope.obj similarity index 100% rename from technic/models/technic_slope.obj rename to technic_cnc/models/technic_cnc_slope.obj diff --git a/technic/models/technic_slope_horizontal.obj b/technic_cnc/models/technic_cnc_slope_horizontal.obj similarity index 100% rename from technic/models/technic_slope_horizontal.obj rename to technic_cnc/models/technic_cnc_slope_horizontal.obj diff --git a/technic/models/technic_slope_upsdown.obj b/technic_cnc/models/technic_cnc_slope_upsdown.obj similarity index 100% rename from technic/models/technic_slope_upsdown.obj rename to technic_cnc/models/technic_cnc_slope_upsdown.obj diff --git a/technic/models/technic_sphere.obj b/technic_cnc/models/technic_cnc_sphere.obj similarity index 100% rename from technic/models/technic_sphere.obj rename to technic_cnc/models/technic_cnc_sphere.obj diff --git a/technic/models/technic_two_curved_edge.obj b/technic_cnc/models/technic_cnc_two_curved_edge.obj similarity index 100% rename from technic/models/technic_two_curved_edge.obj rename to technic_cnc/models/technic_cnc_two_curved_edge.obj diff --git a/technic/textures/technic_cnc_bottom.png b/technic_cnc/textures/technic_cnc_bottom.png similarity index 100% rename from technic/textures/technic_cnc_bottom.png rename to technic_cnc/textures/technic_cnc_bottom.png diff --git a/technic/textures/technic_cnc_cylinder.png b/technic_cnc/textures/technic_cnc_cylinder.png similarity index 100% rename from technic/textures/technic_cnc_cylinder.png rename to technic_cnc/textures/technic_cnc_cylinder.png diff --git a/technic/textures/technic_cnc_cylinder_horizontal.png b/technic_cnc/textures/technic_cnc_cylinder_horizontal.png similarity index 100% rename from technic/textures/technic_cnc_cylinder_horizontal.png rename to technic_cnc/textures/technic_cnc_cylinder_horizontal.png diff --git a/technic/textures/technic_cnc_element_cross.png b/technic_cnc/textures/technic_cnc_element_cross.png similarity index 100% rename from technic/textures/technic_cnc_element_cross.png rename to technic_cnc/textures/technic_cnc_element_cross.png diff --git a/technic/textures/technic_cnc_element_edge.png b/technic_cnc/textures/technic_cnc_element_edge.png similarity index 100% rename from technic/textures/technic_cnc_element_edge.png rename to technic_cnc/textures/technic_cnc_element_edge.png diff --git a/technic/textures/technic_cnc_element_end.png b/technic_cnc/textures/technic_cnc_element_end.png similarity index 100% rename from technic/textures/technic_cnc_element_end.png rename to technic_cnc/textures/technic_cnc_element_end.png diff --git a/technic/textures/technic_cnc_element_straight.png b/technic_cnc/textures/technic_cnc_element_straight.png similarity index 100% rename from technic/textures/technic_cnc_element_straight.png rename to technic_cnc/textures/technic_cnc_element_straight.png diff --git a/technic/textures/technic_cnc_element_t.png b/technic_cnc/textures/technic_cnc_element_t.png similarity index 100% rename from technic/textures/technic_cnc_element_t.png rename to technic_cnc/textures/technic_cnc_element_t.png diff --git a/technic/textures/technic_cnc_front.png b/technic_cnc/textures/technic_cnc_front.png similarity index 100% rename from technic/textures/technic_cnc_front.png rename to technic_cnc/textures/technic_cnc_front.png diff --git a/technic/textures/technic_cnc_front_active.png b/technic_cnc/textures/technic_cnc_front_active.png similarity index 100% rename from technic/textures/technic_cnc_front_active.png rename to technic_cnc/textures/technic_cnc_front_active.png diff --git a/technic/textures/technic_cnc_full.png b/technic_cnc/textures/technic_cnc_full.png similarity index 100% rename from technic/textures/technic_cnc_full.png rename to technic_cnc/textures/technic_cnc_full.png diff --git a/technic/textures/technic_cnc_half.png b/technic_cnc/textures/technic_cnc_half.png similarity index 100% rename from technic/textures/technic_cnc_half.png rename to technic_cnc/textures/technic_cnc_half.png diff --git a/technic/textures/technic_cnc_milling_background.png b/technic_cnc/textures/technic_cnc_milling_background.png similarity index 100% rename from technic/textures/technic_cnc_milling_background.png rename to technic_cnc/textures/technic_cnc_milling_background.png diff --git a/technic/textures/technic_cnc_oblate_spheroid.png b/technic_cnc/textures/technic_cnc_oblate_spheroid.png similarity index 100% rename from technic/textures/technic_cnc_oblate_spheroid.png rename to technic_cnc/textures/technic_cnc_oblate_spheroid.png diff --git a/technic/textures/technic_cnc_onecurvededge.png b/technic_cnc/textures/technic_cnc_onecurvededge.png similarity index 100% rename from technic/textures/technic_cnc_onecurvededge.png rename to technic_cnc/textures/technic_cnc_onecurvededge.png diff --git a/technic/textures/technic_cnc_pyramid.png b/technic_cnc/textures/technic_cnc_pyramid.png similarity index 100% rename from technic/textures/technic_cnc_pyramid.png rename to technic_cnc/textures/technic_cnc_pyramid.png diff --git a/technic/textures/technic_cnc_side.png b/technic_cnc/textures/technic_cnc_side.png similarity index 100% rename from technic/textures/technic_cnc_side.png rename to technic_cnc/textures/technic_cnc_side.png diff --git a/technic/textures/technic_cnc_slope.png b/technic_cnc/textures/technic_cnc_slope.png similarity index 100% rename from technic/textures/technic_cnc_slope.png rename to technic_cnc/textures/technic_cnc_slope.png diff --git a/technic/textures/technic_cnc_slope_edge.png b/technic_cnc/textures/technic_cnc_slope_edge.png similarity index 100% rename from technic/textures/technic_cnc_slope_edge.png rename to technic_cnc/textures/technic_cnc_slope_edge.png diff --git a/technic/textures/technic_cnc_slope_edge_upsdwn.png b/technic_cnc/textures/technic_cnc_slope_edge_upsdwn.png similarity index 100% rename from technic/textures/technic_cnc_slope_edge_upsdwn.png rename to technic_cnc/textures/technic_cnc_slope_edge_upsdwn.png diff --git a/technic/textures/technic_cnc_slope_inner_edge.png b/technic_cnc/textures/technic_cnc_slope_inner_edge.png similarity index 100% rename from technic/textures/technic_cnc_slope_inner_edge.png rename to technic_cnc/textures/technic_cnc_slope_inner_edge.png diff --git a/technic/textures/technic_cnc_slope_inner_edge_upsdwn.png b/technic_cnc/textures/technic_cnc_slope_inner_edge_upsdwn.png similarity index 100% rename from technic/textures/technic_cnc_slope_inner_edge_upsdwn.png rename to technic_cnc/textures/technic_cnc_slope_inner_edge_upsdwn.png diff --git a/technic/textures/technic_cnc_slope_lying.png b/technic_cnc/textures/technic_cnc_slope_lying.png similarity index 100% rename from technic/textures/technic_cnc_slope_lying.png rename to technic_cnc/textures/technic_cnc_slope_lying.png diff --git a/technic/textures/technic_cnc_slope_upsdwn.png b/technic_cnc/textures/technic_cnc_slope_upsdwn.png similarity index 100% rename from technic/textures/technic_cnc_slope_upsdwn.png rename to technic_cnc/textures/technic_cnc_slope_upsdwn.png diff --git a/technic/textures/technic_cnc_sphere.png b/technic_cnc/textures/technic_cnc_sphere.png similarity index 100% rename from technic/textures/technic_cnc_sphere.png rename to technic_cnc/textures/technic_cnc_sphere.png diff --git a/technic/textures/technic_cnc_spike.png b/technic_cnc/textures/technic_cnc_spike.png similarity index 100% rename from technic/textures/technic_cnc_spike.png rename to technic_cnc/textures/technic_cnc_spike.png diff --git a/technic/textures/technic_cnc_stick.png b/technic_cnc/textures/technic_cnc_stick.png similarity index 100% rename from technic/textures/technic_cnc_stick.png rename to technic_cnc/textures/technic_cnc_stick.png diff --git a/technic/textures/technic_cnc_top.png b/technic_cnc/textures/technic_cnc_top.png similarity index 100% rename from technic/textures/technic_cnc_top.png rename to technic_cnc/textures/technic_cnc_top.png diff --git a/technic/textures/technic_cnc_top_active.png b/technic_cnc/textures/technic_cnc_top_active.png similarity index 100% rename from technic/textures/technic_cnc_top_active.png rename to technic_cnc/textures/technic_cnc_top_active.png diff --git a/technic/textures/technic_cnc_twocurvededge.png b/technic_cnc/textures/technic_cnc_twocurvededge.png similarity index 100% rename from technic/textures/technic_cnc_twocurvededge.png rename to technic_cnc/textures/technic_cnc_twocurvededge.png