Merge pull request #642 from Pyritie/patch-4

Added quern recipes for graphite
This commit is contained in:
Dmitry 2024-12-29 15:47:56 +07:00 committed by GitHub
commit 58f2a04505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -967,6 +967,9 @@ global.TFC_QUERN_POWDER_RECIPE_COMPONENTS = [
{ input: '#forge:dusts/borax', output: '4x tfc:powder/flux', name: 'flux_powder' },
{ input: '#forge:dusts/soda_ash', output: '4x tfc:powder/soda_ash', name: 'soda_ash' },
{ input: 'minecraft:charcoal', output: '2x tfc:powder/charcoal', name: 'charcoal' },
{ input: 'gtceu:raw_graphite', output: 'gtceu:graphite_dust', name: 'raw_graphite_to_dust' },
{ input: 'gtceu:poor_raw_graphite', output: '5x gtceu:tiny_graphite_dust', name: 'poor_raw_graphite_to_dust' },
{ input: 'gtceu:rich_raw_graphite', output: '2x gtceu:graphite_dust', name: 'rich_graphite_to_dust' },
];
global.TFC_QUERN_GRAIN_RECIPE_COMPONENTS = [
@ -1060,4 +1063,4 @@ global.TFC_GREENHOUSE_BERRY_RECIPE_COMPONENTS = [
global.calcAmountOfMetal = (defaultAmount, percents) => {
const value = defaultAmount / (100 / percents)
return (value % 2 == 0) ? value : Math.round(value) - 1
}
}