From dc11f2d37c8bb997616b6ae8424365c61ed33251 Mon Sep 17 00:00:00 2001 From: v3ect0rgames <164247766+v3ect0rgames@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:57:17 -0500 Subject: [PATCH] Add Other Materials for Bromine Line (#38) --- .../material/registry/LabsMaterials.java | 13 ++++++ .../registry/register/LabsBromineLine.java | 44 +++++++++++++++++++ .../resources/assets/nomilabs/lang/en_us.lang | 6 +++ 3 files changed, 63 insertions(+) create mode 100644 src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/register/LabsBromineLine.java diff --git a/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/LabsMaterials.java b/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/LabsMaterials.java index a21143db..a2fd597e 100644 --- a/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/LabsMaterials.java +++ b/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/LabsMaterials.java @@ -91,6 +91,16 @@ public class LabsMaterials { public static Material HeliumHydride; // ID: 107; HM only public static Material DioxygenDifluoride; // ID: 108; HM only + /** + * Bromine Line Materials + */ + public static Material MineralRichBrine; // ID: 200 + public static Material DepletedBrine; // ID: 201 + public static Material AlkalineBromineSolution; // ID: 202 + public static Material DebrominatedWaste; // ID: 203 + public static Material CrudeBromine; // ID: 204; HM only + public static Material BromineChlorineMixture; // ID: 205 + /** * Platinum Line Materials */ @@ -201,6 +211,9 @@ public static void init() { /* Taranium Line Materials */ LabsTaraniumLine.initTaraniumLine(); + /* Bromine Line Materials */ + LabsBromineLine.initBromineLine(); + /* Platinum Line Materials */ LabsPlatLine.initPlatLine(); diff --git a/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/register/LabsBromineLine.java b/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/register/LabsBromineLine.java new file mode 100644 index 00000000..73683920 --- /dev/null +++ b/src/main/java/com/nomiceu/nomilabs/gregtech/material/registry/register/LabsBromineLine.java @@ -0,0 +1,44 @@ +package com.nomiceu.nomilabs.gregtech.material.registry.register; + +import static com.nomiceu.nomilabs.gregtech.material.registry.LabsMaterials.*; +import static com.nomiceu.nomilabs.util.LabsNames.makeLabsName; +import static gregtech.api.unification.material.Materials.*; +import static gregtech.api.unification.material.info.MaterialFlags.*; +import static gregtech.api.unification.material.info.MaterialIconSet.*; + +import gregtech.api.unification.material.Material; + +public class LabsBromineLine { + + public static void initBromineLine() { + MineralRichBrine = new Material.Builder(200, makeLabsName("mineralrichbrine")) + .liquid() + .color(0xd3dea0) + .build(); + + DepletedBrine = new Material.Builder(201, makeLabsName("depletedbrine")) + .liquid() + .color(0xb4b57d) + .build(); + + AlkalineBromineSolution = new Material.Builder(202, makeLabsName("alkalinebrominesolution")) + .liquid() + .color(0xd11a0d) + .build(); + + DebrominatedWaste = new Material.Builder(203, makeLabsName("debrominatedwaste")) + .liquid() + .color(0xd13b0d) + .build(); + + CrudeBromine = new Material.Builder(204, makeLabsName("crudebromine")) // Hardmode Material + .liquid() + .color(0xd64d22) + .build(); + + BromineChlorineMixture = new Material.Builder(205, makeLabsName("brominechlorinemixture")) + .liquid() + .color(0xff4f00) + .build(); + } +} diff --git a/src/main/resources/assets/nomilabs/lang/en_us.lang b/src/main/resources/assets/nomilabs/lang/en_us.lang index 29fb39d8..feeabbde 100644 --- a/src/main/resources/assets/nomilabs/lang/en_us.lang +++ b/src/main/resources/assets/nomilabs/lang/en_us.lang @@ -245,6 +245,12 @@ nomilabs.material.osmiridium_8020=Osmiridium 80/20 nomilabs.material.iridosmine_8020=Iridosmine 80/20 nomilabs.material.kaemanite=Kaemanite +nomilabs.material.mineralrichbrine=Mineral Rich Brine +nomilabs.material.brominechlorinemixture=Bromine Chlorine Vapor Mixture +nomilabs.material.alkalinebrominesolution=Alkaline Bromine Solution +nomilabs.material.debrominatedwaste=Debrominated Waste +nomilabs.material.crudebromine=Crude Bromine +nomilabs.material.depletedbrine=Depleted Brine nomilabs.material.tungsten_trioxide=Tungsten Trioxide nomilabs.material.beryllium_oxide=Beryllium Oxide nomilabs.material.niobium_pentoxide=Niobium Pentoxide