Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Commit

Permalink
1.0.1-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
NotoriousPyro committed Oct 29, 2022
1 parent c472769 commit c272e37
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Provides advanced nuclear research to the game.

Currently alpha.
> :warning: **Currently ***alpha***. Buildings and recipes may change...**
Currently provides:
* Fast breeder reactor
Expand Down Expand Up @@ -32,13 +32,17 @@ Download the latest release: https://github.com/NotoriousPyro/NuclearPlus/releas
# How to use
## Basic setup
***COMING SOON...***
## Uranium breeder reactor & fuel recycling
> :warning: **Void producers from CoI.Mod.Better are used as inputs in this example**
In order to extend this to support plutonium rods, simply take the output of the stage 2 distiller to a stage 3 distiller and set up another Chemical Plant II to create the rods.
![Basic setup](docs/basic_setup.png)
## Research
Research is via:
* **Advanced nuclear**: dependant on Nuclear reactor first being completed.
* **Plutonoum power production**: dependant on Robotic III and Advanced nuclear first being completed.
* **Plutonium power production**: dependant on Robotic III and Advanced nuclear first being completed.
![Research](docs/research.png)
![Research Tree](docs/research_tree.png)
12 changes: 6 additions & 6 deletions Recipes/ChemicalPlantData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ private static void registerReprocessingRecipe(
int outputProducts
) => registrator.RecipeProtoBuilder
.Start($"{name} reprocessing", recipeId, machineId)
.AddInput(100, inputProductId)
.AddInput(100, NuclearPlusIds.Products.NitricAcid)
.AddInput(50, inputProductId)
.AddInput(50, NuclearPlusIds.Products.NitricAcid)
.SetDuration(20.Seconds())
.AddOutput(outputProducts, NuclearPlusIds.Products.SpentFuelSolutionT1)
.BuildAndAdd();
Expand All @@ -33,10 +33,10 @@ private static void registerEnrichmentFromNitrateRecipe(
ProductProto.ID outputProductId
) => registrator.RecipeProtoBuilder
.Start($"{name} enrichment", recipeId, machineId)
.AddInput(2, inputProductId)
.AddInput(4, inputProductId)
.SetDuration(20.Seconds())
.AddOutput(2, NuclearPlusIds.Products.NitricAcid)
.AddOutput(2, outputProductId)
.AddOutput(24, outputProductId)
.BuildAndAdd();

public void RegisterData(ProtoRegistrator registrator)
Expand All @@ -54,14 +54,14 @@ public void RegisterData(ProtoRegistrator registrator)
registrator,
recipeId: NuclearPlusIds.Recipes.SpentFuelRecycling,
inputProductId: Ids.Products.SpentFuel,
outputProducts: 200
outputProducts: 100
);
registerReprocessingRecipe(
"Breeder reactor spent fuel",
registrator,
recipeId: NuclearPlusIds.Recipes.BreederSpentFuelRecycling,
inputProductId: NuclearPlusIds.Products.BreederSpentFuel,
outputProducts: 300
outputProducts: 105
);

registerEnrichmentFromNitrateRecipe(
Expand Down
1 change: 0 additions & 1 deletion Research/AdvancedNuclearResearchData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public void RegisterData(ProtoRegistrator registrator)
.AddProductToUnlock(NuclearPlusIds.Products.PlutoniumPellets)
.AddProductToUnlock(NuclearPlusIds.Products.PlutoniumRod)
.AddProductToUnlock(NuclearPlusIds.Products.SpentFuelSolutionT3)
.AddProductToUnlock(NuclearPlusIds.Products.UranylNitrate)
.AddLayoutEntityToUnlock(NuclearPlusIds.Buildings.PlutoniumBreederReactor)
.AddLayoutEntityToUnlock(NuclearPlusIds.Buildings.PlutoniumReactor)
.SetCosts(ResearchCostsTpl.Build.SetDifficulty(45))
Expand Down
Binary file added docs/basic_setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/research.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c272e37

Please sign in to comment.