From eb002efda14dd307e8875dfc09c7e333fe6fabce Mon Sep 17 00:00:00 2001 From: IntegerLimit <103940576+IntegerLimit@users.noreply.github.com> Date: Thu, 2 Feb 2023 21:27:44 +1100 Subject: [PATCH] Polished Stone & Black Quartz Adds Distilled Water recipe for black quartz and polished stone Changes Black Quartz and polished stone to be like their counterparts Relocates certain lines to their correct locations Fixes https://github.com/tracer4b/nomi-ceu/issues/235 There is so much weird stuff in JetpacksAndEnergyStorage.zs! --- overrides/scripts/AE2.zs | 3 ++ overrides/scripts/Earlygame.zs | 9 ----- overrides/scripts/Endgame.zs | 6 --- overrides/scripts/JetpacksAndEnergyStorage.zs | 9 ----- overrides/scripts/aa xu2.zs | 39 +++++++++++++++++-- overrides/scripts/dml.zs | 3 ++ overrides/scripts/normalmode.zs | 2 +- 7 files changed, 43 insertions(+), 28 deletions(-) diff --git a/overrides/scripts/AE2.zs b/overrides/scripts/AE2.zs index 807261e..6e993c5 100644 --- a/overrides/scripts/AE2.zs +++ b/overrides/scripts/AE2.zs @@ -409,3 +409,6 @@ recipes.addShapeless( * 4, [ * 4, []); mods.jei.JEI.removeAndHide(); + +.addTooltip(format.aqua(format.italic( + "Obtained by charging with RF power in the AE2 Charger."))); diff --git a/overrides/scripts/Earlygame.zs b/overrides/scripts/Earlygame.zs index 75f14e4..27dc0f8 100644 --- a/overrides/scripts/Earlygame.zs +++ b/overrides/scripts/Earlygame.zs @@ -62,11 +62,6 @@ recipes.addShaped(, [ [, , ], [, , ]]); - -//Black Quartz -electrolyzer.recipeBuilder().inputs([ * 4]).outputs([]).duration(400).EUt(90).buildAndRegister(); -autoclave.recipeBuilder().inputs([]).fluidInputs( * 1000).outputs([]).duration(150).EUt(16).buildAndRegister(); - //Mechanical Crafter recipes.remove(); recipes.addShaped(, [[, , ],[, , ], [, , ]]); @@ -341,10 +336,6 @@ electrolyzer.recipeBuilder() .fluidOutputs( * 4000) .duration(288).EUt(128).buildAndRegister(); - -// remove xu2 shortcut hopper -recipes.removeByRecipeName("extrautils2:shortcut_hopper"); - // Crafting Station assembler.recipeBuilder() .inputs([ * 2, * 4, ]) diff --git a/overrides/scripts/Endgame.zs b/overrides/scripts/Endgame.zs index 297e566..f677232 100644 --- a/overrides/scripts/Endgame.zs +++ b/overrides/scripts/Endgame.zs @@ -2,12 +2,6 @@ import crafttweaker.item.IIngredient; import mods.gregtech.recipe.RecipeMap; import scripts.common.makeShaped as makeShaped; -.addTooltip(format.aqua(format.italic( - "Obtained by crushing Glitch Hearts against Obsidian."))); - -.addTooltip(format.aqua(format.italic( - "Obtained by charging with RF power in the AE2 Charger."))); - //Gravistar // Gravi Star * 1 .findRecipe(7680, [], [ * 288]).remove(); diff --git a/overrides/scripts/JetpacksAndEnergyStorage.zs b/overrides/scripts/JetpacksAndEnergyStorage.zs index cb5168d..6417dba 100644 --- a/overrides/scripts/JetpacksAndEnergyStorage.zs +++ b/overrides/scripts/JetpacksAndEnergyStorage.zs @@ -455,13 +455,10 @@ recipes.remove(); // vibrant bimetal gear recipes.remove(); // pulsating crystal recipes.remove(); // vibrant crystal recipes.remove(); // dark bimetal gear - recipes.remove(); recipes.remove(); recipes.remove(); -recipes.remove(); // polished stone - // pulsating crystal autoclave.recipeBuilder() .inputs([]) @@ -475,12 +472,6 @@ autoclave.recipeBuilder() .outputs([]) .duration(200).EUt(30).buildAndRegister(); -// polished stone -autoclave.recipeBuilder() - .inputs([]).fluidInputs([ * 250]) - .outputs([]) - .duration(100).EUt(4).buildAndRegister(); - recipes.remove(); alloy.recipeBuilder() diff --git a/overrides/scripts/aa xu2.zs b/overrides/scripts/aa xu2.zs index 3436154..2898e26 100644 --- a/overrides/scripts/aa xu2.zs +++ b/overrides/scripts/aa xu2.zs @@ -1,3 +1,5 @@ +import mods.gregtech.recipe.RecipeMap; + print("--- loading aa xu2.zs ---"); # *======= Empowerer =======* @@ -59,7 +61,23 @@ recipes.remove(); recipes.remove(); recipes.addShaped(, [[],[]]); - +//Black Quartz +electrolyzer.recipeBuilder() + .inputs([ * 4]) + .outputs([]) + .duration(400).EUt(90).buildAndRegister(); + +autoclave.recipeBuilder() + .inputs([]) + .fluidInputs( * 250) + .chancedOutput(, 7000, 1000) + .duration(1200).EUt(24).buildAndRegister(); + +autoclave.recipeBuilder() + .inputs([]) + .fluidInputs( * 50) + .outputs() + .duration(600).EUt(24).buildAndRegister(); //Long Range Breaker recipes.remove(); @@ -129,6 +147,23 @@ recipes.addShaped(, [ var furnGen = .withTag({Type: "extrautils2:generator"}); var redPlate = ; +// Polished Stone +recipes.remove(); +autoclave.recipeBuilder() + .inputs([]) + .fluidInputs([ * 200]) + .outputs([]) + .duration(100).EUt(7).buildAndRegister(); + +autoclave.recipeBuilder() + .inputs([]) + .fluidInputs([ * 36]) + .outputs([]) + .duration(100).EUt(7).buildAndRegister(); + +// remove xu2 shortcut hopper +recipes.removeByRecipeName("extrautils2:shortcut_hopper"); + //XU2 Generators recipes.remove(furnGen); recipes.remove(.withTag({Type: "extrautils2:generator_survival"})); @@ -382,8 +417,6 @@ recipes.addShaped(, [ [, , ], [null,,null]]); - - .addTooltip(format.green("Canola can be turned into Canola Oil via a Canola Press. This is a somewhat slow machine and requres RF to function.")); .addTooltip(format.red("When making Hamburgers, make sure to place this in the Crafting Table last! Otherwise, Bio Mash will be created.")); diff --git a/overrides/scripts/dml.zs b/overrides/scripts/dml.zs index 32715d4..8532870 100644 --- a/overrides/scripts/dml.zs +++ b/overrides/scripts/dml.zs @@ -71,3 +71,6 @@ recipes.addShaped(, [ [,,], [null,null,null]]); +.addTooltip(format.aqua(format.italic( + "Obtained by crushing Glitch Hearts against Obsidian."))); + diff --git a/overrides/scripts/normalmode.zs b/overrides/scripts/normalmode.zs index 7d9c704..57e651d 100644 --- a/overrides/scripts/normalmode.zs +++ b/overrides/scripts/normalmode.zs @@ -361,7 +361,7 @@ recipes.removeByRecipeName("gregtech:basic_circuit_board"); recipes.addShaped("basic_circuit_board", , [[, , ], [, , ], [, , ]]); -////////////////////////// Creative Vending Upgrade /////////////////////// +////////////////////////// Creative Chest /////////////////////// val creativecell = .withTag({Recv: 250000, RSControl: 0 as byte, Facing: 3 as byte, Energy: 500000000, Creative: 1 as byte, SideCache: [2, 2, 2, 2, 2, 2] as byte[] as byte[], Level: 4 as byte, Send: 250000}, false); val creativetank = .withTag({RSControl: 0 as byte, Creative: 1 as byte, Level: 4 as byte}, false); val creativejetpack = .withTag({JetpackParticleType: 3}, false);