Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuel reprocessing and more recipes, cleanup of bad itemstack functions #3

Merged
merged 7 commits into from
Oct 19, 2024

Conversation

funions123
Copy link
Contributor

@funions123 funions123 commented Oct 18, 2024

I still cant run spotless on my machine btw

TODO:

  1. fill out recipe stubs for basic reactor components
  2. cleanup lang for depleted rods, add the missing ones
  3. create new textures for the basic fuel and depleted rods and add them
  4. properly recolor all crafting ingredient components
  5. add recipes for phosporyl chloride, TBP, distilled water, naq coolant, centrifuging fission product mixture dust
  6. design work and recipes for advanced components (post ic2 vents and such)
  7. add LHE recipes for hot coolants
  8. centrifuging fission product mixture dust, electrolyzing sodium fluoride

funions123 and others added 7 commits October 14, 2024 21:21
Adds the ability to pump distilled water directly into a reactor core and get steam.
Efficiency (configurable) currently set at 2x compared to LHE 5x
Maximum output per reactor set at around 600 HU/s, based on the size of the output buffer tank.
-Uraninite ore processing and enrichment chain
-werkstoff materials support for gregtech crafting items and fluids
-gregtech recipe support
-fuel rod product class
recipe stubs for basic components and blocks, going to add the regular GTNH recipes to these
@RecursivePineapple
Copy link
Owner

The chem balance for this is really tricky. I'm sure I've made a mistake with one of my comments, so I'd like to see a simple spreadsheet with all of the recipes and the net mols of each chemical (or a doc outlining them all, doesn't matter how you verify it). I'll merge this for now though.

//natural uranium hexafluoride
GTValues.RA.stdBuilder()
.itemInputs(MaterialsNuclear.NATURAL_URANIUM_TETRAFLUORIDE.get(OrePrefixes.dust, 1))
.fluidInputs(Materials.Fluorine.getGas(2000))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it should take 6 fluorine instead of 2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:clueless: I didn't notice that the dust came with fluorine

.fluidInputs(MaterialsNuclear.KEROSENE_URANIUM233_SOLUTION.getFluidOrGas(9000))
.itemOutputs(MaterialsNuclear.URANIUM_233_DIOXIDE.get(OrePrefixes.dust, 3))
.fluidOutputs(
new FluidStack(FluidRegistry.getFluid("fluid.kerosene"), 3000), //gt++ moment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to delete 6000 kerosene?

Copy link
Contributor Author

@funions123 funions123 Oct 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I'm leaning towards both kerosene and TBP being deleted in small amounts as a catalyst, as they are relatively simple to produce. I believe platline deletes ammonia among other inputs so it's not without precedent.
Although deleting 6k kerosene per loop might be too much. I'll probably change it to 2k.

public static final Werkstoff TRANSPLUTONIC_WASTE_MIXTURE = new Werkstoff(
new short[] { 132, 224, 219 },
"Transplutonic Waste Mixture",
subscriptNumbers("?Am?"),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Americium is an important progression material. We'll need to either gimp its production here, or gate it behind a ZPM/UV recipe.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'm not gonna add a recipe to actually get the americium out until I talk to another dev about gating it properly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UV electrolyzer/centrifuge is a possibility, since those machines should be post MK3

MaterialsNuclear.PLUTONIUM_239_DIOXIDE.get(OrePrefixes.dust, 1),
MaterialsNuclear.PLUTONIUM_241_DIOXIDE.get(OrePrefixes.dust, 1))
.fluidOutputs(
MaterialsNuclear.TRIBUTYL_PHOSPHATE.getFluidOrGas(2000),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be 4k Tributyl Phosphate unless the loss is intentional.
8k tributyl -> 24k treated solution (1x)
24k solution -> 3k aq pu + 21k kerosene uranium (3x)
21k kerosene uranium -> 6k tributyl (1x)
3k aq pu -> 1k tributyl (0.5x)
results in a loss of 1k tributyl per loop

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with no2. It's got a loss of 1k.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above comment regarding losses.

GTValues.RA.stdBuilder()
.itemInputs(
GTOreDictUnificator.get(OrePrefixes.dust, Materials.Uraninite, 3))
.fluidInputs(Materials.HydrofluoricAcid.getFluid(8000))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be 16k HF. The stoic on the output dust is 4 HF per dust for 4 dust, meaning it requires 16 F. The extra hydrogen can just be voided, it's basically free.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I think the output is wrong. The uranite input only has 1 mol of uranium but the recipe outputs 4 mol of ?UF4, leading to duplications down the line since the other recipes assume 1 mol of the uranium compounds = 3 uranite / 1 mol uranium.

Copy link
Contributor Author

@funions123 funions123 Oct 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stoic here was in error. I've corrected this to use 16000 HF, and changed the centrifuging recipes to turn 36000 H2O and 12000 UF6->4 mol U (1:3 u235/natural and 2:2 u238/natural) and 72000 HF

@RecursivePineapple RecursivePineapple merged commit 25e9bc2 into RecursivePineapple:master Oct 19, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants