Skip to content

Commit

Permalink
Merge pull request #656 from SymmetricDevs/fuel-additives
Browse files Browse the repository at this point in the history
Fuel & lubricant additives (requires susycore 0.1.11)
  • Loading branch information
planetme authored Jan 3, 2024
2 parents 43cbf86 + bef8d23 commit 731a991
Show file tree
Hide file tree
Showing 27 changed files with 3,860 additions and 1,125 deletions.
5 changes: 4 additions & 1 deletion groovy/globals/Globals.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class Globals {

public static lubricants = [
new Lubricant('lubricating_oil', 1, 1.1),
new Lubricant('lubricant', 2, 1.2)
new Lubricant('lubricant', 2, 1.2),
new Lubricant('midgrade_lubricant', 2, 1.3),
new Lubricant('premium_lubricant', 1, 1.4),
new Lubricant('supreme_lubricant', 1, 1.5)
]
}
38 changes: 34 additions & 4 deletions groovy/material/FirstDegreeMaterials.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ public class FirstDegreeMaterials{

VeryDilutedSulfuricAcid = new Material.Builder(8219, SuSyUtility.susyId('very_diluted_sulfuric_acid'))
.fluid(FluidTypes.ACID)
.components(Water, 2, SulfuricAcid, 1)
.components(SulfuricAcid, 1, Water, 2)
.color(0x54362c)
.build()

Expand Down Expand Up @@ -2014,7 +2014,7 @@ public class FirstDegreeMaterials{
.build()
.setFormula("Mn(NO3)2", true)

PurifiedManganeseDioxide = new Material.Builder(8395, SuSyUtility.susyId('purified_manganese_dioxide'))
ManganeseDioxide = new Material.Builder(8395, SuSyUtility.susyId('manganese_dioxide'))
.dust()
.iconSet('SHINY')
.components(Manganese, 1, Oxygen, 2)
Expand Down Expand Up @@ -3274,13 +3274,43 @@ public class FirstDegreeMaterials{

CobaltIIAcetate.setFormula("Co(C2H3O2)2", true)

AcrylicCatalyst = new Material.Builder(8578, SuSyUtility.susyId("acrylic_catalyst"))
ChlorosulfuricAcid = new Material.Builder(8578, SuSyUtility.susyId("chlorosulfuric_acid"))
.fluid(FluidTypes.ACID)
.components(Hydrogen, 1, Sulfur, 1, Oxygen, 3, Chlorine, 1)
.colorAverage()
.build();

ManganeseIIChloride = new Material.Builder(8579, SuSyUtility.susyId("manganese_ii_chloride"))
.dust()
.components(Manganese, 1, Chlorine, 2)
.colorAverage()
.build();

ChloroplatinicAcidSolution = new Material.Builder(8580, SuSyUtility.susyId("chloroplatinic_acid_solution"))
.fluid(FluidTypes.ACID)
.components(Hydrogen, 2, Platinum, 1, Chlorine, 6, Water, 4)
.colorAverage()
.build();

MolybdenumDisulfide = new Material.Builder(8581, SuSyUtility.susyId("molybdenum_disulfide"))
.dust()
.components(Molybdenum, 1, Sulfur, 2)
.colorAverage()
.build();

FluorinatedGraphite = new Material.Builder(8582, SuSyUtility.susyId("fluorinated_graphite"))
.dust()
.components(Carbon, 1, Fluorine, 1)
.colorAverage()
.build();

AcrylicCatalyst = new Material.Builder(8583, SuSyUtility.susyId("acrylic_catalyst"))
.dust()
.components(Copper, 1, Nickel, 1, Bromine, 4)
.colorAverage()
.build();

GelatinSolution = new Material.Builder(8579, SuSyUtility.susyId("gelatin_solution"))
GelatinSolution = new Material.Builder(8584, SuSyUtility.susyId("gelatin_solution"))
.fluid()
.fluidTemp(323)
.components(Gelatin, 1, Water, 1)
Expand Down
Loading

0 comments on commit 731a991

Please sign in to comment.