Created utility function to add circuit numbers to pre-existing recipes (#1320)
* - Yeast recipe conflict fix * - Fixed seed oil voiding in barrels. And item weight inconsistency. * - Reduced loading screen logo size by 4MB * - Update Changelog * - Compressed loading screen images to maybe help with ram * - Added default gui scale to make the main menu look better on first launch * - Update Changelog * - Added utility script for adding circuits to existing recipes * fixed changelog conflict Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com> --------- Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
This commit is contained in:
parent
4c2d71ad25
commit
911ede670a
3 changed files with 139 additions and 25 deletions
|
|
@ -1253,25 +1253,10 @@ const registerGTCEURecipes = (event) => {
|
|||
|
||||
//#region Circuit Fixes
|
||||
|
||||
//Adds circuit #1 to the tetrafluoroethylene_from_chloroform recipe
|
||||
event.findRecipes({ id: "gtceu:chemical_reactor/tetrafluoroethylene_from_chloroform" }).forEach(recipe => {
|
||||
const inputs = recipe.json.get("inputs");
|
||||
const itemArray = inputs.has("item") ? Java.from(inputs.get("item")) : [];
|
||||
|
||||
itemArray.push({
|
||||
content: {
|
||||
type: "gtceu:circuit",
|
||||
configuration: 1
|
||||
},
|
||||
chance: 0,
|
||||
maxChance: 10000,
|
||||
tierChanceBoost: 0
|
||||
});
|
||||
|
||||
inputs.add("item", itemArray);
|
||||
recipe.json.add("inputs", inputs);
|
||||
});
|
||||
|
||||
global.ADD_CIRCUIT.forEach(item => {
|
||||
addCircuitToRecipe(event, item.recipeId, item.circuitNumber)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Chemical Reaction for Solar Panel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue