Nomifactory

Nomifactory

143k Downloads

Unable to remove armour plating from jetpacks

Sarioah opened this issue ยท 1 comments

commented

Normally you can put an armoured jetpack into the crafting table to remove the plating, giving back the 'naked' jetpack + the original piece of plating. This allows you to then upgrade the jetpack to the next tier.

Seems the recipe.remove in the CT script broke this, so I re-added the armour removal recipes for the 4 jetpacks that have updated Omnifactory recipes:

JetpacksAndEnergyStorage.txt

diff:

diff --git a/scripts/JetpacksAndEnergyStorage.zs b/scripts/JetpacksAndEnergyStorage.zs
index b881b2d..5022387 100644
--- a/scripts/JetpacksAndEnergyStorage.zs
+++ b/scripts/JetpacksAndEnergyStorage.zs
@@ -109,6 +109,8 @@ recipes.addShaped(<simplyjetpacks:itemjetpack:1>, [
        [<gregtech:meta_item_1:12700>, <enderio:item_basic_capacitor>, <gregtech:meta_item_1:12700>],
        [<gregtech:meta_item_1:12700>, <simplyjetpacks:metaitem:4>, <gregtech:meta_item_1:12700>],
        [<simplyjetpacks:metaitemmods:7>, null, <simplyjetpacks:metaitemmods:7>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:1>.withTag({}), [[<simplyjetpacks:itemjetpack:5>.withTag({})]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:1>.withTag({}), [[<simplyjetpacks:itemjetpack:1>.withTag({})], [<ore:particleCustomizer>]]);

 //Electrical Steel Jetpack
 recipes.remove(<simplyjetpacks:itemjetpack:2>);
@@ -116,6 +118,8 @@ recipes.addShaped(<simplyjetpacks:itemjetpack:2>, [
        [<gregtech:meta_item_1:12705>, <enderio:item_basic_capacitor:1>, <gregtech:meta_item_1:12705>],
        [<gregtech:meta_item_1:12705>, <simplyjetpacks:itemjetpack:1>, <gregtech:meta_item_1:12705>],
        [<simplyjetpacks:metaitemmods:8>, null, <simplyjetpacks:metaitemmods:8>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:2>.withTag({}), [[<simplyjetpacks:itemjetpack:6>.withTag({})]]);^M
+recipes.addShaped(<simplyjetpacks:itemjetpack:2>.withTag({}), [[<simplyjetpacks:itemjetpack:2>.withTag({})], [<ore:particleCustomizer>]]);^M

 //Energetic Alloy Jetpack
 recipes.remove(<simplyjetpacks:itemjetpack:3>);
@@ -123,6 +127,8 @@ recipes.addShaped(<simplyjetpacks:itemjetpack:3>, [
        [<gregtech:meta_item_1:12701>, <enderio:item_basic_capacitor:2>, <gregtech:meta_item_1:12701>],
        [<gregtech:meta_item_1:12701>, <simplyjetpacks:itemjetpack:2>, <gregtech:meta_item_1:12701>],
        [<simplyjetpacks:metaitemmods:9>, null, <simplyjetpacks:metaitemmods:9>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:3>.withTag({}), [[<simplyjetpacks:itemjetpack:3>], [<ore:particleCustomizer>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:3>.withTag({}), [[<simplyjetpacks:itemjetpack:7>]]);

 //Vibrant Alloy Jetpack
 recipes.remove(<simplyjetpacks:itemjetpack:4>);
@@ -130,13 +136,16 @@ recipes.addShaped(<simplyjetpacks:itemjetpack:4>, [
        [<gregtech:meta_item_1:12702>, <contenttweaker:compressedoctadiccapacitor>, <gregtech:meta_item_1:12702>],
        [<gregtech:meta_item_1:12702>, <simplyjetpacks:itemjetpack:3>, <gregtech:meta_item_1:12702>],
        [<simplyjetpacks:metaitemmods:10>, null, <simplyjetpacks:metaitemmods:10>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:4>.withTag({}), [[<simplyjetpacks:itemjetpack:4>], [<ore:particleCustomizer>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:4>.withTag({}), [[<simplyjetpacks:itemjetpack:8>.withTag({})]]);

 //Dark Soularium Jetpack
 recipes.remove(<simplyjetpacks:itemjetpack:9>);
 recipes.addShaped(<simplyjetpacks:itemjetpack:9>, [
        [<extrautils2:angelring:*>, <contenttweaker:doublecompressedoctadiccapacitor>, <extrautils2:angelring:*>],
        [<simplyjetpacks:metaitemmods:4>, <simplyjetpacks:itemjetpack:8>, <simplyjetpacks:metaitemmods:4>],
-       [<simplyjetpacks:metaitemmods:11>, <simplyjetpacks:itemfluxpack:5>, <simplyjetpacks:metaitemmods:11>]]);
+       [<simplyjetpacks:metaitemmods:11>, <simplyjetpacks:itemfluxpack:5>, <simplyjetpacks:metaitemmods:11>]]);
+recipes.addShaped(<simplyjetpacks:itemjetpack:9>.withTag({}), [[<simplyjetpacks:itemjetpack:9>], [<ore:particleCustomizer>]]);

 recipes.addShaped(<contenttweaker:compressedoctadiccapacitor>, [
        [<enderio:item_basic_capacitor:2>,<enderio:item_basic_capacitor:2>,<enderio:item_basic_capacitor:2>],

commented

fixed