From 4a9ea713421486403897ccd251ef3f7c3d447f77 Mon Sep 17 00:00:00 2001 From: Gardon Klimm Date: Wed, 25 Mar 2020 23:27:14 +0000 Subject: [PATCH 1/3] allow crafting of brass_ingot without moreores --- metals.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/metals.lua b/metals.lua index cae56d7..8686cab 100644 --- a/metals.lua +++ b/metals.lua @@ -245,6 +245,15 @@ minetest.register_craft( { }, }) +minetest.register_craft( { + output = "basic_materials:brass_ingot 9", + recipe = { + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, + {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}, + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, + }, +}) + minetest.register_craft( { type = "shapeless", output = "basic_materials:brass_ingot 9", From bbdfd041fb1d1db30332d7569689dd61ecaba36e Mon Sep 17 00:00:00 2001 From: Gardon Klimm Date: Wed, 25 Mar 2020 23:31:12 +0000 Subject: [PATCH 2/3] Add new german translation --- locale/basic_materials.de.tr | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 locale/basic_materials.de.tr diff --git a/locale/basic_materials.de.tr b/locale/basic_materials.de.tr new file mode 100644 index 0000000..e661fcd --- /dev/null +++ b/locale/basic_materials.de.tr @@ -0,0 +1,33 @@ +# textdomain: basic_materials +Silicon lump=Silikonklumpen +Simple Integrated Circuit=einfacher Integrierter Schaltkreis +Simple Motor=einfacher Motor +Heating element=Heizelement +Simple energy crystal=einfacher Energiekristall + +Spool of steel wire=Spule mit Stahldraht +Spool of copper wire=Spule mit Kupferdraht +Spool of silver wire=Spule mit Silberdraht +Spool of gold wire=Spule mit Golddraht +Steel Strip=Stahlstreifen +Copper Strip=Kupferstreifen +Steel Bar=Stahlstab +Chainlinks (brass)=Messing-Kettenglieder +Chainlinks (steel)=Stahl-Kettenglieder +Brass Ingot=Messingbarren +Steel gear=Stahlzahnrad +Padlock=Vorhängeschloss +Chain (steel, hanging)=Stahlkette +Chain (brass, hanging)=Messingkette +Brass Block=Messingblock + +Oil extract=raffiniertes Öl +Unprocessed paraffin=unbearbeitetes Paraffin +Uncooked Terracotta Base=ungebranntes Terrakotta +Wet Cement=nasser Zement +Cement=Zement +Concrete Block=Betonblock + +Plastic sheet=Kunststoffplatte +Plastic strips=Kunststoffstreifen +Empty wire spool=leere Drahtspule From b4571bac3375a30bcc8700fa9051e5658987f854 Mon Sep 17 00:00:00 2001 From: Gardon Klimm Date: Thu, 26 Mar 2020 20:11:23 +0000 Subject: [PATCH 3/3] Update metals.lua --- metals.lua | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/metals.lua b/metals.lua index 8686cab..37685f8 100644 --- a/metals.lua +++ b/metals.lua @@ -245,14 +245,17 @@ minetest.register_craft( { }, }) -minetest.register_craft( { - output = "basic_materials:brass_ingot 9", - recipe = { - {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, - {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"}, - {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, - }, -}) +if not minetest.get_modpath("moreores") then + -- Without moreores, there still should be a way to create brass. + minetest.register_craft( { + output = "basic_materials:brass_ingot 9", + recipe = { + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, + {"default:gold_ingot", "default:copper_ingot", "default:gold_ingot"}, + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, + }, + }) +end minetest.register_craft( { type = "shapeless",