changed all fluid tags to the new format
This commit is contained in:
parent
3119919a47
commit
e83833bcf5
17 changed files with 107 additions and 101 deletions
|
|
@ -16,14 +16,21 @@ const registerGTCEURecipes = (event) => {
|
|||
|
||||
//#region Выход: Удобрение
|
||||
// В обычном миксере
|
||||
event.recipes.gtceu.mixer('fertilizer')
|
||||
event.recipes.gtceu.mixer('tfg:fertilizer')
|
||||
.itemInputs(
|
||||
'#tfc:dirt',
|
||||
'2x #tfg:wood_dusts',
|
||||
'4x #forge:sand'
|
||||
)
|
||||
.circuit(1)
|
||||
.inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfg:clean_water" }}))
|
||||
.inputFluids("#tfg:clean_water 1000")
|
||||
.itemOutputs('4x gtceu:fertilizer')
|
||||
.duration(300)
|
||||
.EUt(30)
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:fertilizer_2')
|
||||
.itemInputs('tfc:compost')
|
||||
.inputFluids('#tfg:clean_water 1000')
|
||||
.itemOutputs('4x gtceu:fertilizer')
|
||||
.duration(300)
|
||||
.EUt(30)
|
||||
|
|
@ -209,56 +216,56 @@ const registerGTCEURecipes = (event) => {
|
|||
|
||||
event.recipes.gtceu.brewery('biomass_from_tfc_seeds')
|
||||
.itemInputs('#tfc:seeds')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_tfc_food')
|
||||
.itemInputs('#tfc:foods')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_tfc_plants')
|
||||
.itemInputs('#tfc:plants')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_tfc_corals')
|
||||
.itemInputs('#tfc:corals')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_spider_eyes')
|
||||
.itemInputs('minecraft:spider_eye')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_leaves')
|
||||
.itemInputs('#minecraft:leaves')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_fallen_leaves')
|
||||
.itemInputs('#tfc:fallen_leaves')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
event.recipes.gtceu.brewery('biomass_from_minecraft_plants')
|
||||
.itemInputs('#createaddition:plants')
|
||||
.inputFluids(JsonIO.of({ amount: 20, value: { tag: "tfc:any_water" }}))
|
||||
.inputFluids("#tfc:any_water 20")
|
||||
.outputFluids(Fluid.of('gtceu:biomass', 20))
|
||||
.duration(128)
|
||||
.EUt(3)
|
||||
|
|
@ -288,13 +295,13 @@ const registerGTCEURecipes = (event) => {
|
|||
//#region Выход: Цемент
|
||||
|
||||
generateMixerRecipe(event, ['2x #tfg:stone_dusts', 'gtceu:marble_dust', 'gtceu:gypsum_dust'],
|
||||
JsonIO.of({ amount: 1000, value: { tag: "tfg:clean_water" }}), [], null, Fluid.of('gtceu:concrete', 1152), 40, 16, 64, 'concrete_from_marble')
|
||||
"#tfg:clean_water 1000", [], null, 'gtceu:concrete 1152', 40, 16, 64, 'concrete_from_marble')
|
||||
|
||||
generateMixerRecipe(event, ['3x #tfg:stone_dusts', 'gtceu:clay_dust'],
|
||||
JsonIO.of({ amount: 500, value: { tag: "tfg:clean_water" }}), [], null, Fluid.of('gtceu:concrete', 576), 20, 16, 64, 'concrete_from_clay')
|
||||
"#tfg:clean_water 500", [], null, 'gtceu:concrete 576', 20, 16, 64, 'concrete_from_clay')
|
||||
|
||||
generateMixerRecipe(event, ['3x #tfg:stone_dusts', 'gtceu:calcite_dust', 'gtceu:gypsum_dust'],
|
||||
JsonIO.of({ amount: 1000, value: { tag: "tfg:clean_water" }}), [], null, Fluid.of('gtceu:concrete', 1152), 40, 16, 64, 'concrete_from_calcite')
|
||||
"#tfg:clean_water 1000", [], null, 'gtceu:concrete 1152', 40, 16, 64, 'concrete_from_calcite')
|
||||
|
||||
//GT light/dark concrete recipe fix
|
||||
|
||||
|
|
@ -356,18 +363,8 @@ const registerGTCEURecipes = (event) => {
|
|||
|
||||
//#region Выход: Бурильная жидкость
|
||||
|
||||
generateMixerRecipe(
|
||||
event,
|
||||
['2x #tfg:stone_dusts'],
|
||||
[Fluid.of('gtceu:lubricant', 20), JsonIO.of({ amount: 4000, value: { tag: "tfg:clean_water" }})],
|
||||
[],
|
||||
null,
|
||||
Fluid.of('gtceu:drilling_fluid', 5000),
|
||||
40,
|
||||
16,
|
||||
64,
|
||||
'drilling_fluid'
|
||||
)
|
||||
generateMixerRecipe(event, ['2x #tfg:stone_dusts'], ['gtceu:lubricant 20', "#tfg:clean_water 4000"],
|
||||
[], null, Fluid.of('gtceu:drilling_fluid', 5000), 40, 16, 64, 'drilling_fluid')
|
||||
|
||||
//#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -77,32 +77,36 @@ function generateGreenHouseRecipe(event, input, fluid_amount, output, id, dimens
|
|||
let r = event.recipes.gtceu.greenhouse(id)
|
||||
.notConsumable(input)
|
||||
.circuit(1)
|
||||
.inputFluids(JsonIO.of({ amount: fluid_amount, value: { tag: "tfg:clean_water" }}))
|
||||
.inputFluids(`#tfg:clean_water ${fluid_amount}`)
|
||||
.itemOutputs(output)
|
||||
.chancedOutput(input, 750, 0)
|
||||
.chancedOutput(input, 500, 0)
|
||||
.duration(36000) // 30 mins
|
||||
.EUt(EUt)
|
||||
|
||||
|
||||
if (dimension !== null)r.dimension(dimension)
|
||||
if (output_secondary !== null) r.chancedOutput(output_secondary, 750, 0)
|
||||
if (dimension !== null)
|
||||
r.dimension(dimension)
|
||||
if (output_secondary !== null)
|
||||
r.chancedOutput(output_secondary, 750, 0)
|
||||
|
||||
r.EUt(EUt)
|
||||
|
||||
// С удобрением (With fertilizer)
|
||||
r = event.recipes.gtceu.greenhouse(`${id}_fertilized`)
|
||||
.notConsumable(input)
|
||||
.itemInputs(Item.of('gtceu:fertilizer', fertiliser_count))
|
||||
.circuit(2)
|
||||
.inputFluids(JsonIO.of({ amount: fluid_amount, value: { tag: "tfg:clean_water" }}))
|
||||
.inputFluids(`#tfg:clean_water ${fluid_amount}`)
|
||||
.itemOutputs(output)
|
||||
.chancedOutput(input, 4000, 0)
|
||||
.chancedOutput(input, 3000, 0)
|
||||
.duration(12000) // 10 mins
|
||||
.EUt(EUt)
|
||||
|
||||
if (dimension !== null) r.dimension(dimension)
|
||||
if (output_secondary !== null) r.chancedOutput(output_secondary, 4000, 0)
|
||||
r.EUt(EUt)
|
||||
if (dimension !== null)
|
||||
r.dimension(dimension)
|
||||
if (output_secondary !== null)
|
||||
r.chancedOutput(output_secondary, 4000, 0)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue