Remove duplicate repair achievements, fix HV Pump achievement.

Previously any tier pump would trigger the slurp achievement.
No idea why repair was listed thrice.
This commit is contained in:
doushio9967 2015-11-24 07:42:21 +01:00
parent 0c9361193a
commit 753de8ba94

View file

@ -337,14 +337,10 @@ public class GT_Achievements {
issueAchievement(player, "alloysmelter"); issueAchievement(player, "alloysmelter");
} else if (stack.getUnlocalizedName().equals("gt.blockmachines.bronzemachine.extractor")) { } else if (stack.getUnlocalizedName().equals("gt.blockmachines.bronzemachine.extractor")) {
issueAchievement(player, "extract"); issueAchievement(player, "extract");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.disassembler.tier.")) {
issueAchievement(player, "repair");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.automation.superbuffer.tier.")) { } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.automation.superbuffer.tier.")) {
issueAchievement(player, "superbuffer"); issueAchievement(player, "superbuffer");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.quantum.tank.tier.")) { } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.quantum.tank.tier.")) {
issueAchievement(player, "whereistheocean"); issueAchievement(player, "whereistheocean");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.disassembler.tier.")) {
issueAchievement(player, "repair");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.quantum.chest.tier.")) { } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.quantum.chest.tier.")) {
issueAchievement(player, "newstorage"); issueAchievement(player, "newstorage");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.hammer.tier.")) { } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.hammer.tier.")) {
@ -353,7 +349,7 @@ public class GT_Achievements {
issueAchievement(player, "buffer"); issueAchievement(player, "buffer");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicgenerator.steamturbine.tier.")) { } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicgenerator.steamturbine.tier.")) {
issueAchievement(player, "steampower"); issueAchievement(player, "steampower");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.pump.tier.")) { } else if (stack.getUnlocalizedName().equals("gt.blockmachines.basicmachine.pump.tier.03")) {
issueAchievement(player, "slurp"); issueAchievement(player, "slurp");
} else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.assembler.tier.")) { } else if (stack.getUnlocalizedName().startsWith("gt.blockmachines.basicmachine.assembler.tier.")) {
issueAchievement(player, "avengers"); issueAchievement(player, "avengers");