From 0bebbd8cb136076c1e278749cf9293ce89fa3155 Mon Sep 17 00:00:00 2001 From: AlmanaX-21 <98935792+AlmanaX-21@users.noreply.github.com> Date: Wed, 17 Sep 2025 21:07:09 +0530 Subject: [PATCH] oritech oil changes Added tag `c:crude_oil` to oritech oil, added recipes to accept all oils to oritech as well --- kubejs/server_scripts/mods/oritech/oritech.js | 64 +++++++++++++++++++ kubejs/server_scripts/mods/oritech/tags.js | 8 +++ 2 files changed, 72 insertions(+) create mode 100644 kubejs/server_scripts/mods/oritech/oritech.js create mode 100644 kubejs/server_scripts/mods/oritech/tags.js diff --git a/kubejs/server_scripts/mods/oritech/oritech.js b/kubejs/server_scripts/mods/oritech/oritech.js new file mode 100644 index 00000000..c396c3d4 --- /dev/null +++ b/kubejs/server_scripts/mods/oritech/oritech.js @@ -0,0 +1,64 @@ +// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky. +// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission. + +ServerEvents.recipes(allthemods => { + + allthemods.remove({id: 'oritech:refinery/oilalt'}) + allthemods.remove({id: 'oritech:refinery/oilbase'}) + + allthemods.custom({ + "type": "oritech:refinery", + "fluidInput": { + "amount": 1000, + "fluid": "#c:crude_oil" + }, + "fluidOutputs": [ + { + "amount": 500, + "fluid": "oritech:still_heavy_oil" + }, + { + "amount": 250, + "fluid": "oritech:still_naphtha" + }, + { + "amount": 250, + "fluid": "oritech:still_sulfuric_acid" + } + ], + "ingredients": [], + "results": [], + "time": 120 + }) + allthemods.custom({ + "type": "oritech:refinery", + "fluidInput": { + "amount": 1000, + "fluid": "#c:crude_oil" + }, + "fluidOutputs": [ + { + "amount": 500, + "fluid": "oritech:still_diesel" + }, + { + "amount": 500, + "fluid": "oritech:still_naphtha" + }, + { + "amount": 500, + "fluid": "oritech:still_sulfuric_acid" + } + ], + "ingredients": [ + { + "item": "oritech:clay_catalyst_beads" + } + ], + "results": [], + "time": 120 + }) +}) + +// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky. +// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission. \ No newline at end of file diff --git a/kubejs/server_scripts/mods/oritech/tags.js b/kubejs/server_scripts/mods/oritech/tags.js new file mode 100644 index 00000000..209a6ce3 --- /dev/null +++ b/kubejs/server_scripts/mods/oritech/tags.js @@ -0,0 +1,8 @@ +// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky. +// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission. + +ServerEvents.tags('fluid', allthemods => { + allthemods.add('c:crude_oil', 'oritech:still_oil') +}) +// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky. +// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission. \ No newline at end of file