diff --git a/changelog.md b/changelog.md index 010965b..198f97a 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,41 @@ ## [Credits](https://github.com/oitsjustjose/Harmonious-Engineering/blob/v3.0/CREDITS.md) +# 3.1.11 + +## Added: + +- Advanced Generators +- `[Library]` BDLib +- `[Library]` ScalableCatsForce + +### Advanced Generators + +Advanced Generators has been placed as post-Space mod locked behind at least one trip to the Moon and Mars. I've also re-textured the entire mod to fit in with the post-Space theme and you should find it fits your base better. A new quest chapter has been created centered around upping your power generation to meet and exceed the needs of your Mekasuit and Infinity Gear, since AdvGen's wiki is very early-2010s + +## Changed + +- Reorganized a couple of quests in the Fluxical Evolution chapter +- Organized and consolidated redundant fluids. Please check your setups and make sure that any storage tanks / buffers you have are cleared or will end up adjusting automatically - they should eventually work fine because I did **not** remove any recipes that *take* the now hidden fluids, but you should no longer be producing these fluids going forwards. TL;DR: once your fluid buffers empty with the old fluids (which should happen automatically), new fluids may take their place. + +## Updated: + +- Configured +- Dave's Building Extended +- Framed Blocks +- KubeJS +- Neko's Enchanted Books +- Stack Refill +- Supplementaries +- Thermal Mods +- Xaero's World Map + +## Fixed: + +- Fixed boars, elephants, giraffes, hippos, lions, rhinos, vultures and zebras *technically* being able to spawn in space... 🤔 +- Doesn't apply to most users, but Andesite Alloy's recipe now accepts any `#forge:ingots/zinc` rather than `create:zinc_ingot` +- Many fluids still showing up in JEI - should be much better now, still haven't been able to get Gasses/Slurries/Pigments/Infuse Types to work due to a bug in KubeJS + # 3.1.10 ## Added: diff --git a/config/advgenerators-common.toml b/config/advgenerators-common.toml new file mode 100644 index 0000000..a4ba6c2 --- /dev/null +++ b/config/advgenerators-common.toml @@ -0,0 +1,199 @@ + +[TurbineFuel] + #Required modules for the machine to function + Required = ["Turbine:1"] + #Modules that can connect to the machine + Modules = ["EfficiencyUpgradeTier2:1", "Control:10", "PowerCapacitor:10", "FuelTank:10", "Turbine:50", "Sensor:10", "PowerOutput:6", "EfficiencyUpgradeTier1:1", "FluidInput:5"] + #Internal fuel capacity (mB) - this is the base value, expandable by tanks + #Range: > 1 + InternalFuelCapacity = 1000 + #Internal energy capacity (FE) - this is the base value, expandable by capacitors + #Range: > 1 + InternalEnergyCapacity = 100000 + + #Fuel Efficiency + [TurbineFuel.FuelEfficiency] + #Base value + #Range: 0.0 ~ 100.0 + Base = 1.100000023841858 + #With tier 1 upgrade + #Range: 0.0 ~ 100.0 + Tier1 = 1.350000023841858 + #With tier 2 upgrade + #Range: 0.0 ~ 100.0 + Tier2 = 1.850000023841858 + +[TurbineSteam] + #Required modules for the machine to function + Required = ["Turbine:1"] + #Modules that can connect to the machine + Modules = ["FluidInput:5", "Control:10", "PowerCapacitor:10", "Turbine:50", "Sensor:10", "PowerOutput:6"] + #Maximum rotation speed + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + MaxRPM = 5000.0 + #FE/mB + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + SteamEnergyDensity = 2.0 + #Internal steam capacity (mB) + #Range: > 1 + InternalSteamCapacity = 16000 + #Internal energy capacity (FE) - this is the base value, expandable by capacitors + #Range: > 1 + InternalEnergyCapacity = 100000 + + #Base RPM delta is capped to MaxRPM * InertiaFunctionMultiplier * e^(InertiaFunctionExponent * CurrentRPM / MaxRPM) + [TurbineSteam.Inertia] + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + InertiaFunctionMultiplier = 0.025 + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + InertiaFunctionExponent = -2.0 + + #SpinUpMultiplier must be > BaseDragMultiplier + CoilDragMultiplier + [TurbineSteam.Drag] + #Affects how fast a turbine spins up to it's target RPM + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + SpinUpMultiplier = 1.0 + #Base constant RPM loss + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + BaseDragMultiplier = 0.2 + #RPM loss when generating power + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + CoilDragMultiplier = 0.75 + +[SyngasProducer] + #Required modules for the machine to function + Required = ["MixingChamber:1"] + #Modules that can connect to the machine + Modules = ["FluidInput:5", "FluidOutputSelect:6", "Control:10", "MixingChamber:25", "HeatingChamber:10", "ItemInput:5", "Sensor:10"] + #Internal steam/water/syngas/carbon capacity + #Range: > 1 + InternalTankCapacity = 32000 + #Heat level required for conversion to start + #Range: 1.0 ~ 1.7976931348623157E308 + WorkHeat = 150.0 + #Maximum heat level + #Range: 1.0 ~ 1.7976931348623157E308 + MaxHeat = 200.0 + #Carbon consumed to produce 1mB of syngas + #Range: 0.01 ~ 1.7976931348623157E308 + CarbonPerMBSyngas = 50.0 + #Steam consumed to produce 1mB of syngas + #Range: 0.01 ~ 1.7976931348623157E308 + SteamPerMBSyngas = 10.0 + #Water to steam conversion ratio + #Range: 0.01 ~ 1.7976931348623157E308 + WaterSteamRatio = 3.0 + #Syngas mB per tick + #Range: 0.01 ~ 1.7976931348623157E308 + MixingChamberThroughput = 1.0 + #Steam mB per tick + #Range: 0.01 ~ 1.7976931348623157E308 + HeatingChamberThroughput = 50.0 + #Heat Units per tick + #Range: 0.001 ~ 1.7976931348623157E308 + HeatingChamberHeating = 0.1 + #Heat Units per tick + #Range: 0.001 ~ 1.7976931348623157E308 + HeatingChamberLoss = 0.02 + #Carbon consumed per Heat Unit produced + #Range: 0.1 ~ 1.7976931348623157E308 + CarbonPerHeat = 20.0 + +[HeatExchanger] + #Required modules for the machine to function + Required = ["HeatExchanger:1"] + #Modules that can connect to the machine + Modules = ["ItemOutput:6", "FluidInput:5", "Control:10", "FluidOutputSelect:6", "HeatExchanger:50", "ItemInput:5", "Sensor:10"] + #Range: > -2147483648 + InternalTankCapacity = 16000 + #Should be > StartHeating + (max HeatTransfer), otherwise weirdness will ensue + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + MaxHeat = 1000.0 + #Start heating above this temperature + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + StartHeating = 150.0 + #Decay per tick + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + HeatDecay = 0.05 + +[Modules] + + [Modules.FuelTank] + #Capacity (mB) + #Range: > -2147483648 + Capacity = 16000 + + [Modules.HeatExchanger] + #Heat Units per tick + #Range: -1.7976931348623157E308 ~ 1.7976931348623157E308 + HeatTransfer = 16.0 + + #Turbine module configuration + [Modules.Turbines] + + #Basic Turbine + [Modules.Turbines.Tier1] + #Maximum FE generated per tick + #Range: > 1 + MaxFEPerTick = 128 + #Maximum FE generated per tick + #Range: 0.0 ~ 100.0 + Inertia = 1.0 + + #Enhanced Turbine + [Modules.Turbines.Tier2] + #Maximum FE generated per tick + #Range: > 1 + MaxFEPerTick = 256 + #Maximum FE generated per tick + #Range: 0.0 ~ 100.0 + Inertia = 1.1 + + #Advanced Turbine + [Modules.Turbines.Tier3] + #Maximum FE generated per tick + #Range: > 1 + MaxFEPerTick = 512 + #Maximum FE generated per tick + #Range: 0.0 ~ 100.0 + Inertia = 1.2 + + #Reinforced Turbine + [Modules.Turbines.Tier4] + #Maximum FE generated per tick + #Range: > 1 + MaxFEPerTick = 1024 + #Maximum FE generated per tick + #Range: 0.0 ~ 100.0 + Inertia = 1.25 + + #Composite Turbine + [Modules.Turbines.Tier5] + #Maximum FE generated per tick + #Range: > 1 + MaxFEPerTick = 2048 + #Maximum FE generated per tick + #Range: 0.0 ~ 100.0 + Inertia = 1.4 + + #Capacitor module configuration + [Modules.Capacitors] + + #Basic Capacitor + [Modules.Capacitors.Tier1] + #Capacity (FE) + #Range: > 1 + Capacity = 1000000 + + #Advanced Capacitor + [Modules.Capacitors.Tier2] + #Capacity (FE) + #Range: > 1 + Capacity = 5000000 + + #High Density Capacitor + [Modules.Capacitors.Tier3] + #Capacity (FE) + #Range: > 1 + Capacity = 25000000 + diff --git a/config/forge-common.toml b/config/forge-common.toml index c01fb4b..bef1dd9 100644 --- a/config/forge-common.toml +++ b/config/forge-common.toml @@ -4,10 +4,4 @@ #Defines a default world type to use. The vanilla default world type is represented by 'default'. #The modded world types are registry names which should include the registry namespace, such as 'examplemod:example_world_type'. defaultWorldType = "default" - #Set this to true to cache resource listings in resource and data packs - cachePackAccess = true - #Set this to true to index vanilla resource and data packs on thread - indexVanillaPackCachesOnThread = false - #Set this to true to index mod resource and data packs on thread - indexModPackCachesOnThread = false diff --git a/config/ftbquests/quests/chapters/builders_delight.snbt b/config/ftbquests/quests/chapters/builders_delight.snbt index 748601a..7c6d59a 100644 --- a/config/ftbquests/quests/chapters/builders_delight.snbt +++ b/config/ftbquests/quests/chapters/builders_delight.snbt @@ -230,33 +230,32 @@ items: [ { id: "buildinggadgets:gadget_building" - Count: 1b tag: { state: { + data: { } state: { Name: "minecraft:air" } - data: { } serializer: "buildinggadgets:dummy_serializer" } } + Count: 1b } { id: "buildinggadgets:gadget_exchanging" - Count: 1b tag: { state: { + data: { } state: { Name: "minecraft:air" } - data: { } serializer: "buildinggadgets:dummy_serializer" } } + Count: 1b } { id: "buildinggadgets:gadget_copy_paste" - Count: 1b tag: { template_id: [I; -444425108 @@ -266,14 +265,15 @@ ] mode: 0b } + Count: 1b } { id: "buildinggadgets:gadget_destruction" - Count: 1b tag: { overlay: 1b fuzzy: 1b } + Count: 1b } ] } diff --git a/config/ftbquests/quests/chapters/immersive_engineering.snbt b/config/ftbquests/quests/chapters/immersive_engineering.snbt index 8ec7704..fcf0524 100644 --- a/config/ftbquests/quests/chapters/immersive_engineering.snbt +++ b/config/ftbquests/quests/chapters/immersive_engineering.snbt @@ -11,7 +11,7 @@ { title: "Factory Ready" x: 0.0d - y: 0.0d + y: 0.75d shape: "diamond" subtitle: "Like a True Engineer" description: ["Our research indicates that you could use a hammer - perhaps one of Andesite Alloy will suffice?"] @@ -40,7 +40,7 @@ title: "Coke Ovens" icon: "immersiveengineering:coke_oven" x: 0.0d - y: 1.5d + y: 2.5d shape: "hexagon" subtitle: "Extracting Impurities from Coal" description: [ @@ -78,7 +78,7 @@ title: "Blasting" icon: "immersiveengineering:blast_furnace" x: 0.0d - y: 3.0d + y: 4.0d shape: "hexagon" subtitle: "Imbuing Iron with Carbon" description: ["You find that the high amounts of heat that Coked Coal produces can be used to infuse Iron with Carbon to produce Steel."] @@ -111,8 +111,8 @@ { title: "Alloys via Arc" icon: "immersiveengineering:arc_furnace" - x: 2.0d - y: 4.5d + x: 0.0d + y: 7.5d shape: "octagon" subtitle: "Brassification" description: [ @@ -120,7 +120,10 @@ "" "Perhaps you can combine these molten metals to form some new alloys which you haven't yet explored?" ] - dependencies: ["686B8A3E779BCF3D"] + dependencies: [ + "76695500DD40840A" + "4B3F996C7BABD3D2" + ] size: 1.25d id: "4E9BFC9573DF2929" tasks: [ @@ -157,7 +160,7 @@ title: "Low Voltage" icon: "immersiveengineering:wirecoil_copper" x: 0.0d - y: 4.5d + y: 5.5d subtitle: "Crudely transfer of electricity" description: [ "By utilizing a dynamo, you've found a way to hrness rotational energy through charging a copper coil." @@ -214,8 +217,8 @@ { title: "Viable Crushing" icon: "immersiveengineering:crusher" - x: -2.0d - y: 4.5d + x: 2.0d + y: 6.5d shape: "octagon" subtitle: "Optimal Ore Processing" description: [ @@ -379,7 +382,7 @@ { title: "Automated Hydroponics" x: -2.0d - y: 6.0d + y: 4.5d subtitle: "Cloches are alsy very pretty!" description: [ "In your research, you have found a way to fix together a mini greenhouse of sorts. Such a structure capable of emitting light, hydrating and fertilizing the soil, this cloche you've fashioned together is even able to automatically harvest these crops!" @@ -404,8 +407,9 @@ { title: "Metal Pressing" icon: "immersiveengineering:metal_press" - x: 2.0d - y: 6.0d + x: -2.0d + y: 6.5d + shape: "octagon" subtitle: "Good for more than plates!" description: [ "You're finding that there are certain materials, such as gears and rods, that you simply cannot craft efficiently enough using rotational energy alone." @@ -413,6 +417,7 @@ "This metal press is an easily automated device capable of quickly processing several different types of metals and gems into gears, plates, rods and more." ] dependencies: ["686B8A3E779BCF3D"] + size: 1.25d id: "4B3F996C7BABD3D2" tasks: [ { @@ -446,8 +451,8 @@ } { title: "Immersive Arsenal" - x: 0.0d - y: 7.0d + x: 2.0d + y: 4.5d subtitle: "Steampunk enough for you?" description: [ "As a saavy engineer, you may be finding the process of repairing and your gear to be a tiresome process." @@ -466,61 +471,61 @@ tag: { items: [ { - tag: { - bullets: { - Items: [ ] - } - } - Count: 1b + id: "immersiveengineering:revolver" ForgeCaps: { Parent: { Size: 21 Items: [ ] } } - id: "immersiveengineering:revolver" - } - { - tag: { } Count: 1b - ForgeCaps: { - Parent: { - Size: 5 + tag: { + bullets: { Items: [ ] } } + } + { id: "immersiveengineering:buzzsaw" - } - { - tag: { } - Count: 1b ForgeCaps: { Parent: { Size: 5 Items: [ ] } } + Count: 1b + tag: { } + } + { id: "immersiveengineering:drill" + ForgeCaps: { + Parent: { + Size: 5 + Items: [ ] + } + } + Count: 1b + tag: { } } { id: "immersiveengineering:railgun" - Count: 1b ForgeCaps: { Parent: { Size: 3 Items: [ ] } } + Count: 1b } { id: "immersiveengineering:chemthrower" - Count: 1b ForgeCaps: { Parent: { Size: 4 Items: [ ] } } + Count: 1b } ] } diff --git a/config/ftbquests/quests/chapters/survivalism.snbt b/config/ftbquests/quests/chapters/survivalism.snbt index 640488a..9a24713 100644 --- a/config/ftbquests/quests/chapters/survivalism.snbt +++ b/config/ftbquests/quests/chapters/survivalism.snbt @@ -58,48 +58,48 @@ ItemInv: [ { Slot: 0b - Count: 57b id: "minecraft:sweet_berries" + Count: 57b } { Slot: 1b - Count: 9b id: "create:honeyed_apple" + Count: 9b } { Slot: 2b - Count: 30b id: "nethersdelight:hoglin_ear" + Count: 30b } { Slot: 3b - Count: 5b id: "farmersdelight:sweet_berry_cookie" + Count: 5b } { Slot: 4b - Count: 1b id: "farmersdelight:hamburger" + Count: 1b } { Slot: 5b - Count: 2b id: "farmersdelight:sweet_berry_cookie" + Count: 2b } { Slot: 6b - Count: 19b id: "create:honeyed_apple" + Count: 19b } { Slot: 7b - Count: 1b id: "farmersdelight:hamburger" + Count: 1b } { Slot: 8b - Count: 6b id: "farmersdelight:sweet_berry_cookie" + Count: 6b } ] } diff --git a/config/modelfix-client.toml b/config/modelfix-client.toml new file mode 100644 index 0000000..23bd71f --- /dev/null +++ b/config/modelfix-client.toml @@ -0,0 +1,7 @@ +#quad x/y offset. simply put moves the quad toward the center of the item. Use to hide gaps +#Range: -0.1 ~ 0.1 +quad_recess = 0.007 +#quad expansion increment. enlarges each quad. Use to hide gaps +#Range: -0.1 ~ 0.1 +quad_expansion = 0.008 + diff --git a/kubejs/client_scripts/EnoughItems.js b/kubejs/client_scripts/EnoughItems.js index 3efc69f..9e83a13 100644 --- a/kubejs/client_scripts/EnoughItems.js +++ b/kubejs/client_scripts/EnoughItems.js @@ -51,6 +51,7 @@ const items = [ 'beyond_earth:iron_plate', 'beyond_earth:iron_stick', 'beyond_earth:oil_bucket', + 'beyond_earth:oil_bucket', 'beyond_earth:solar_panel', 'beyond_earth:steel_block', 'beyond_earth:steel_ingot', @@ -88,6 +89,7 @@ const items = [ 'create:iron_sheet', 'create:unprocessed_obsidian_sheet', 'createaddition:accumulator', + 'createaddition:bioethanol_bucket', 'createaddition:brass_rod', 'createaddition:capacitor', 'createaddition:connector', @@ -102,6 +104,7 @@ const items = [ 'createaddition:iron_wire', 'createaddition:redstone_relay', 'createaddition:rolling_mill', + 'createaddition:seed_oil_bucket', 'createaddition:spool', 'createaddition:tesla_coil', 'createaddition:zinc_sheet', @@ -294,6 +297,9 @@ const items = [ 'minecraft:sculk_sensor', 'moreminecarts:silica_steel_mix', 'pipez:gas_pipe', + 'pneumaticcraft:biodiesel_bucket', + 'pneumaticcraft:ethanol_bucket', + 'pneumaticcraft:vegetable_oil_bucket', 'refinedstorage:black_controller', 'refinedstorage:black_crafter_manager', 'refinedstorage:black_crafter', @@ -551,11 +557,13 @@ const items = [ 'supplementaries:bomb_blue_projectile', 'supplementaries:bomb_projectile', 'supplementaries:bomb_spiky_projectile', - 'thermal:apatite', 'thermal:apatite_block', 'thermal:apatite_dust', + 'thermal:apatite', 'thermal:beetroot_block', 'thermal:carrot_block', + 'thermal:creosote_bucket', + 'thermal:crude_oil_bucket', 'thermal:deepslate_ruby_ore', 'thermal:deepslate_sapphire_ore', 'thermal:drill_head', @@ -767,6 +775,8 @@ onEvent('jei.hide.fluids', event => { 'beyond_earth:flowing_oil', 'beyond_earth:fuel', 'beyond_earth:oil', + 'createaddition:bioethanol', + 'createaddition:seed_oil', 'mekanism:brine', 'mekanism:chlorine', 'mekanism:ethene', @@ -803,6 +813,11 @@ onEvent('jei.hide.fluids', event => { 'mekanism:superheated_sodium', 'mekanism:uranium_hexafluoride', 'mekanism:uranium_oxide', + 'pneumaticcraft:biodiesel', + 'pneumaticcraft:ethanol', + 'pneumaticcraft:vegetable_oil', + 'thermal:creosote', + 'thermal:crude_oil', ]; fluids.forEach(fluid => { @@ -814,6 +829,7 @@ onEvent('jei.hide.fluids', event => { }); }); +// TODO: Re-enable when fixed // onEvent('jei.hide.custom', event => { // const MekanismJEI = java('mekanism.client.jei.MekanismJEI'); diff --git a/kubejs/server_scripts/Init.js b/kubejs/server_scripts/Init.js index abdacd5..e6429bb 100644 --- a/kubejs/server_scripts/Init.js +++ b/kubejs/server_scripts/Init.js @@ -4,7 +4,7 @@ settings.logInvalidRecipeHandlers = false; global.validateInput = x => (Item.of(x) === Item.empty ? 'minecraft:air' : tmp); -global.duplicateResources = [ +global.duplicateItemResources = [ {tag: 'forge:coal_coke', item: 'immersiveengineering:coal_coke'}, {tag: 'forge:dusts/constantan', item: 'immersiveengineering:dust_constantan'}, {tag: 'forge:dusts/copper', item: 'immersiveengineering:dust_copper'}, diff --git a/kubejs/server_scripts/integration/Duplicates.js b/kubejs/server_scripts/integration/Duplicates.js index c4fa639..82cc260 100644 --- a/kubejs/server_scripts/integration/Duplicates.js +++ b/kubejs/server_scripts/integration/Duplicates.js @@ -1,19 +1,147 @@ onEvent('recipes', event => { - global.duplicateResources.forEach(x => { - event.remove({output: x.item}); - }); + const DeDuplicateItems = () => { + global.duplicateItemResources.forEach(x => { + event.remove({output: x.item}); + }); - event.replaceInput({}, 'immersiveengineering:slag', '#forge:slag'); - event.replaceInput({}, 'industrialforegoing:plastic', '#forge:plastic'); - event.replaceInput({}, 'pneumaticcraft:plastic', '#forge:plastic'); + event.replaceInput({}, 'immersiveengineering:slag', '#forge:slag'); + event.replaceInput({}, 'industrialforegoing:plastic', '#forge:plastic'); + event.replaceInput({}, 'pneumaticcraft:plastic', '#forge:plastic'); - event.replaceInput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust'); - event.replaceOutput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust'); + event.replaceInput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust'); + event.replaceOutput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust'); - event.remove({input: '#forge:nuggets/copper', output: '#forge:ingots/copper'}); - event.shaped('minecraft:copper_ingot', ['XXX', 'XXX', 'XXX'], {X: '#forge:nuggets/copper'}); + event.remove({input: '#forge:nuggets/copper', output: '#forge:ingots/copper'}); + event.shaped('minecraft:copper_ingot', ['XXX', 'XXX', 'XXX'], {X: '#forge:nuggets/copper'}); - event.remove({output: 'thermal:carrot_block'}); - event.remove({output: 'thermal:potato_block'}); - event.remove({output: 'thermal:beetroot_block'}); + event.remove({output: 'thermal:carrot_block'}); + event.remove({output: 'thermal:potato_block'}); + event.remove({output: 'thermal:beetroot_block'}); + + /* Syngas recipes that are broken */ + event.remove({id: 'advgenerators:carbon/coal_dust'}); + event.remove({id: 'advgenerators:carbon/carbon_dust'}); + event.remove({id: 'advgenerators:carbon/charcoal_dust'}); + }; + + const DeDuplicateFluids = () => { + /* Pyrolize Creosote from Logs */ + event.remove({id: 'thermal:machines/pyrolyzer/pyrolyzer_logs'}); + event.recipes.thermal.pyrolyzer( + [Item.of('minecraft:charcoal'), Fluid.of('immersiveengineering:creosote', 250)], + Item.of('#minecraft:logs') + ); + + /* Pyrolize Creosote from Coal */ + event.remove({id: 'thermal:machines/pyrolyzer/pyrolyzer_coal'}); + event.recipes.thermal.pyrolyzer( + [ + Item.of('thermal:coal_coke'), + Item.of('thermal:tar'), + Fluid.of('immersiveengineering:creosote', 500), + ], + Item.of('minecraft:coal') + ); + + /* Crude Oil from Bituminous Sands */ + event.remove({id: 'thermal:machines/centrifuge/centrifuge_oil_sand'}); + event.remove({id: 'thermal:machines/centrifuge/centrifuge_oil_red_sand'}); + event.recipes.thermal.centrifuge( + [ + Item.of('minecraft:red_sand'), + Item.of('thermal:bitumen'), + Item.of('thermal:tar'), + Fluid.of('pneumaticcraft:oil', 100), + ], + Item.of('thermal:oil_red_sand') + ); + event.recipes.thermal.centrifuge( + [ + Item.of('minecraft:sand'), + Item.of('thermal:bitumen'), + Item.of('thermal:tar'), + Fluid.of('pneumaticcraft:oil', 100), + ], + Item.of('thermal:oil_sand') + ); + + /* PnC's Biodiesel -- cya! */ + event.remove({id: 'pneumaticcraft:fluid_mixer/biodiesel'}); + event.custom({ + type: 'pneumaticcraft:fluid_mixer', + input1: {type: 'pneumaticcraft:fluid', tag: 'forge:plantoil', amount: 25}, + input2: {type: 'pneumaticcraft:fluid', tag: 'forge:ethanol', amount: 25}, + fluid_output: {fluid: 'immersiveengineering:biodiesel', amount: 50}, + item_output: {item: 'pneumaticcraft:glycerol'}, + pressure: 2.0, + time: 300, + }); + + /* PnC's Ethanol */ + event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_poisonous_potato'}); + event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_melon'}); + event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_sweet_berries'}); + event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_apple'}); + event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_sugar'}); + event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_potato'}); + [ + {item: 'minecraft:sugar', amt: 50}, + {item: 'minecraft:poisonous_potato', amt: 50}, + {item: 'minecraft:potato', amt: 25}, + {item: 'minecraft:sweet_berries', amt: 20}, + {item: 'minecraft:apple', amt: 50}, + {item: 'minecraft:melon_slice', amt: 10}, + ].forEach(x => + event.custom({ + type: 'pneumaticcraft:thermo_plant', + item_input: {item: x.item}, + fluid_input: { + type: 'pneumaticcraft:fluid', + tag: 'pneumaticcraft:yeast_culture', + amount: 100, + }, + fluid_output: {fluid: 'immersiveengineering:ethanol', amount: x.amt}, + temperature: {min_temp: 303, max_temp: 333}, + speed: 0.4, + exothermic: true, + }) + ); + + /* CCnA Bioethanol */ + event.remove({id: 'createaddition:mixing/bioethanol'}); + event.recipes.create.mixing(Fluid.of('immersiveengineering:ethanol', 100), [ + Item.of('minecraft:sugar'), + Item.of('createaddition:biomass'), + ]); + + /* CCnA Seed Oil */ + event.remove({id: 'createaddition:compacting/seed_oil'}); + event.recipes.create.compacting(Fluid.of('immersiveengineering:plantoil', 100), [ + '#forge:seeds', + ]); + + /* PnC Vegetable Oil */ + event.remove({id: 'pneumaticcraft:thermo_plant/vegetable_oil_from_crops'}); + event.custom({ + type: 'pneumaticcraft:thermo_plant', + item_input: {tag: 'forge:crops'}, + fluid_output: {fluid: 'immersiveengineering:plantoil', amount: 20}, + pressure: 2.0, + speed: 0.5, + exothermic: false, + }); + + event.remove({id: 'pneumaticcraft:thermo_plant/vegetable_oil_from_seeds'}); + event.custom({ + type: 'pneumaticcraft:thermo_plant', + item_input: {tag: 'forge:seeds'}, + fluid_output: {fluid: 'immersiveengineering:plantoil', amount: 50}, + pressure: 2.0, + speed: 0.5, + exothermic: false, + }); + }; + + DeDuplicateItems(); + DeDuplicateFluids(); }); diff --git a/kubejs/server_scripts/integration/RemoveUranium.js b/kubejs/server_scripts/integration/RemoveUranium.js index 20f6cf2..c5280c8 100644 --- a/kubejs/server_scripts/integration/RemoveUranium.js +++ b/kubejs/server_scripts/integration/RemoveUranium.js @@ -17,6 +17,11 @@ onEvent('recipes', event => { event.remove({input: x}); event.remove({output: x}); }); + + event.remove({input: '#forge:raw_materials/uranium'}); + event.remove({input: '#forge:ingots/uranium'}); + event.remove({id: 'immersiveengineering:crusher/raw_ore_uranium'}); + event.remove({id: 'immersiveengineering:crusher/ingot_uranium'}); }); onEvent('item.tags', event => { diff --git a/kubejs/server_scripts/integration/Tags.js b/kubejs/server_scripts/integration/Tags.js index 0c290f7..280c980 100644 --- a/kubejs/server_scripts/integration/Tags.js +++ b/kubejs/server_scripts/integration/Tags.js @@ -2,7 +2,7 @@ onEvent('item.tags', event => { const unifyMaterials = () => { - global.duplicateResources.forEach(x => { + global.duplicateItemResources.forEach(x => { const tag = x.tag; const item = x.item; const rootTag = tag.indexOf('/') >= 0 ? tag.split('/')[0] : tag; diff --git a/kubejs/server_scripts/progression/3_CreateBrassAge.js b/kubejs/server_scripts/progression/3_CreateBrassAge.js index 264dff6..2743514 100644 --- a/kubejs/server_scripts/progression/3_CreateBrassAge.js +++ b/kubejs/server_scripts/progression/3_CreateBrassAge.js @@ -18,7 +18,7 @@ onEvent('recipes', event => { Item.of('architects_palette:nether_brass_ingot') ); - // Re-add precision mech recipe because it was removed by its inclusion in global.duplicateResources + // Re-add precision mech recipe because it was removed by its inclusion in global.duplicateItemResources const icpm = Item.of('create:incomplete_precision_mechanism'); event.recipes.create .sequenced_assembly([Item.of('create:precision_mechanism')], '#forge:plates/gold', [ diff --git a/kubejs/server_scripts/progression/7_AdvGenerators.js b/kubejs/server_scripts/progression/7_AdvGenerators.js index 5f5f3ff..9f164bf 100644 --- a/kubejs/server_scripts/progression/7_AdvGenerators.js +++ b/kubejs/server_scripts/progression/7_AdvGenerators.js @@ -67,6 +67,16 @@ onEvent('recipes', event => { 'advgenerators:fuel_tank', 'advgenerators:fe_output', ].forEach(x => event.remove({output: x})); + + /* Remove fuel recipes */ + event.remove({id: 'advgenerators:fuel/mekanism_ethene'}); + event.remove({id: 'advgenerators:fuel/mekanism_hydrogen'}); + event.remove({id: 'advgenerators:fuel/syngas'}); + event.custom({ + type: 'advgenerators:liquid_fuel', + fuel: {fluid: 'advgenerators:syngas'}, + fePerMb: 2500, + }); }; const add = () => {