Skip to content

Commit

Permalink
Merge pull request #8 from trainvoi/silicon-line
Browse files Browse the repository at this point in the history
Create silicon line.groovy
  • Loading branch information
last8kings authored Sep 7, 2024
2 parents 8240880 + 3db39bd commit 8eb1f3c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions groovy/postInit/processing lines/silicon line.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
recipemap('chemical_reactor').recipeBuilder()
.inputs(ore('dustSilicon') * 1)
.fluidInputs(liquid('hydrochloric_acid') * 3000)
.fluidOutputs(liquid('trichlorosilane') * 1000)
.fluidOutputs(liquid('hydrogen') * 2000)
.duration(160)
.EUt(30)
.buildAndRegister()
recipemap('chemical_reactor').recipeBuilder()
.fluidInputs(liquid('trichlorosilane') * 1000)
.fluidInputs(liquid('hydrogen') * 2000)
.outputs(metaitem('dustSolarGradeSilicon') * 1)
.fluidOutputs(liquid('hydrochloric_acid') * 3000)
.duration(160)
.EUt(30)
.buildAndRegister()
2 changes: 1 addition & 1 deletion groovy/preInit/materials.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ event_manager.listen { MaterialEvent event ->

def Trichlorosilane = new Material.Builder(32006, resource('gcp', 'trichlorosilane'))
.liquid()
.components(material('hydrogen'), material('chlorine') * 3, material('silicon'))
.components( material('silicon'), material('hydrogen'), material('chlorine') * 3)
.color(0x77979e)
.build();

Expand Down

0 comments on commit 8eb1f3c

Please sign in to comment.