Skip to content

Commit

Permalink
Fix Invar material imbalance in Tinker's Smeltery alloying integration (
Browse files Browse the repository at this point in the history
#174)

Invar was improperly configured to require one ingot of molten Wrought Iron and one ingot of molten Nickel to produce three ingots of molten Invar, which created the conditions for a dupe exploit.

This fixes the ratio to properly require two ingots of molten Wrought Iron instead of one.
  • Loading branch information
syniox authored Aug 20, 2022
1 parent 39f8f29 commit 0f4eb2a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ public static void preInit() {

TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.TinAlloy.getFluid(2), gregtech.api.unification.material.Materials.Iron.getFluid(1), gregtech.api.unification.material.Materials.Tin.getFluid(1));

TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.Invar.getFluid(3), gregtech.api.unification.material.Materials.Iron.getFluid(1), gregtech.api.unification.material.Materials.Nickel.getFluid(1));
TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.Invar.getFluid(3), gregtech.api.unification.material.Materials.Iron.getFluid(2), gregtech.api.unification.material.Materials.Nickel.getFluid(1));

TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.TinAlloy.getFluid(2), gregtech.api.unification.material.Materials.WroughtIron.getFluid(1), gregtech.api.unification.material.Materials.Tin.getFluid(1));

TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.Invar.getFluid(3), gregtech.api.unification.material.Materials.WroughtIron.getFluid(1), gregtech.api.unification.material.Materials.Nickel.getFluid(1));
TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.Invar.getFluid(3), gregtech.api.unification.material.Materials.WroughtIron.getFluid(2), gregtech.api.unification.material.Materials.Nickel.getFluid(1));

TinkerRegistry.registerAlloy(gregtech.api.unification.material.Materials.BatteryAlloy.getFluid(5), gregtech.api.unification.material.Materials.Lead.getFluid(4), gregtech.api.unification.material.Materials.Antimony.getFluid(1));

Expand All @@ -140,4 +140,4 @@ public static void preInit() {
private static String upperCase(Material mat) {
return mat.toCamelCaseString().substring(0, 1).toUpperCase() + mat.toCamelCaseString().substring(1);
}
}
}

0 comments on commit 0f4eb2a

Please sign in to comment.