From 633803c289bfc0427671d400fe65ecf3d0fef0a3 Mon Sep 17 00:00:00 2001 From: Konstantin Kompan Date: Mon, 23 Dec 2024 21:53:07 +0500 Subject: [PATCH] Add LiNO3 (#1183) --- groovy/material/FirstDegreeMaterials.groovy | 14 +++++++++++++ groovy/material/SuSyMaterials.groovy | 2 ++ .../s_block/group1/LithiumChain.groovy | 21 ++++++++++++++++++- resources/langfiles/lang/en_us.lang | 2 ++ resources/langfiles/lang/ru_RU.lang | 2 ++ 5 files changed, 40 insertions(+), 1 deletion(-) diff --git a/groovy/material/FirstDegreeMaterials.groovy b/groovy/material/FirstDegreeMaterials.groovy index 732bbf5cb..80d3e274b 100644 --- a/groovy/material/FirstDegreeMaterials.groovy +++ b/groovy/material/FirstDegreeMaterials.groovy @@ -3580,5 +3580,19 @@ public class FirstDegreeMaterials { .components(CobaltSulfate * 1, Water * 1) .colorAverage() .build() + + // 8638: Co3O4 + + LithiumNitrate = new Material.Builder(8639, SuSyUtility.susyId('lithium_nitrate')) + .dust() + .components(Lithium * 1, Nitrogen * 1, Oxygen * 3) + .color(0xffffff) + .build() + + LithiumNitrateSolution = new Material.Builder(8640, SuSyUtility.susyId('lithium_nitrate_solution')) + .liquid() + .components(LithiumNitrate * 2, Water * 1) + .colorAverage() + .build() } } diff --git a/groovy/material/SuSyMaterials.groovy b/groovy/material/SuSyMaterials.groovy index d486ed319..0a8aea276 100644 --- a/groovy/material/SuSyMaterials.groovy +++ b/groovy/material/SuSyMaterials.groovy @@ -1188,6 +1188,8 @@ class SuSyMaterials { public static Material FoodGradeStainlessSteel; public static Material CobaltSulfate; public static Material CobaltSulfateSolution; + public static Material LithiumNitrate; + public static Material LithiumNitrateSolution; // HP Materials diff --git a/groovy/postInit/chemistry/inorganic_chemistry/elements/s_block/group1/LithiumChain.groovy b/groovy/postInit/chemistry/inorganic_chemistry/elements/s_block/group1/LithiumChain.groovy index 0d4c2ddb4..43a0d0f1a 100644 --- a/groovy/postInit/chemistry/inorganic_chemistry/elements/s_block/group1/LithiumChain.groovy +++ b/groovy/postInit/chemistry/inorganic_chemistry/elements/s_block/group1/LithiumChain.groovy @@ -250,4 +250,23 @@ CRYSTALLIZER.recipeBuilder() .fluidOutputs(fluid('wastewater') * 1000) .duration(120) .EUt(200) - .buildAndRegister() \ No newline at end of file + .buildAndRegister() + +// LiNO3 + +BR.recipeBuilder() + .inputs(ore('dustLithiumCarbonate') * 6) + .fluidInputs(fluid('nitric_acid') * 2000) + .fluidOutputs(fluid('lithium_nitrate_solution') * 1000) + .fluidOutputs(fluid('carbon_dioxide') * 1000) + .EUt(30) + .duration(80) + .buildAndRegister() + +DISTILLERY.recipeBuilder() + .fluidInputs(fluid('lithium_nitrate_solution') * 1000) + .outputs(metaitem('dustLithiumNitrate') * 10) + .fluidOutputs(fluid('water') * 1000) + .EUt(30) + .duration(80) + .buildAndRegister() diff --git a/resources/langfiles/lang/en_us.lang b/resources/langfiles/lang/en_us.lang index af43d5b5c..48c725d37 100644 --- a/resources/langfiles/lang/en_us.lang +++ b/resources/langfiles/lang/en_us.lang @@ -1999,6 +1999,8 @@ susy.material.pyrolysis_gasoline=Pyrolysis Gasoline susy.material.galvanized_steel=Galvanized Steel susy.material.cobalt_sulfate=Cobalt Sulfate susy.material.cobalt_sulfate_solution=Cobalt Sulfate Solution +susy.material.lithium_nitrate=Lithium Nitrate +susy.material.lithium_nitrate_solution=Lithium Nitrate Solution susy.material.chlorided_alumina=Chlorided Alumina susy.material.sulfated_metal_oxide=Sulfated Metal Oxide (SMO) susy.material.solid_phosphoric_acid=Solid Phosphoric Acid (SPA) diff --git a/resources/langfiles/lang/ru_RU.lang b/resources/langfiles/lang/ru_RU.lang index 7b6cb3721..5f9260367 100644 --- a/resources/langfiles/lang/ru_RU.lang +++ b/resources/langfiles/lang/ru_RU.lang @@ -1985,6 +1985,8 @@ susy.material.cryogenic_solder=Криогенный припой susy.material.oxidized_manganate_solution=Раствор окисленного манганата susy.material.cobalt_sulfate=Сульфат кобальта susy.material.cobalt_sulfate_solution=Раствор сульфата кобальта +susy.material.lithium_nitrate=Нитрат лития +susy.material.lithium_nitrate_solution=Раство нитрата лития # Изотопы