diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/gregtech/loaders/misc/GT_Achievements.java | 14 | ||||
-rw-r--r-- | src/main/resources/assets/gregtech/lang/en_US.lang | 93 |
2 files changed, 107 insertions, 0 deletions
diff --git a/src/main/java/gregtech/loaders/misc/GT_Achievements.java b/src/main/java/gregtech/loaders/misc/GT_Achievements.java index 3c26c788bf..7d560f0a96 100644 --- a/src/main/java/gregtech/loaders/misc/GT_Achievements.java +++ b/src/main/java/gregtech/loaders/misc/GT_Achievements.java @@ -40,6 +40,7 @@ public class GT_Achievements { public static List<Materials> oreList = new ArrayList<Materials>(); public static List<Integer[]> oreStats = new ArrayList<Integer[]>(); public static int oreReg = -1; + public static int assReg=-1; public ConcurrentHashMap<String, Achievement> achievementList; public ConcurrentHashMap<String, Boolean> issuedAchievements; public int adjX = 5; @@ -75,6 +76,10 @@ public class GT_Achievements { registerOreAchievement(oreList.get(i)); } } + + for(GT_Recipe recipe: GT_Recipe.GT_Recipe_Map.sAssemblylineVisualRecipes.mRecipeList) + registerAssAchievement(recipe); + registerAchievement("flintpick", 0, 0, GT_MetaGenerated_Tool_01.INSTANCE.getToolWithStats(GT_MetaGenerated_Tool_01.PICKAXE, 1, Materials.Flint, Materials.Wood, null), "", false); registerAchievement("crops", -4, 0, GT_ModHandler.getIC2Item("crop", 1L), "flintpick", false); registerAchievement("havestlead", -4, 2, ItemList.Crop_Drop_Plumbilia.get(1, new Object[]{}), "crops", false); @@ -270,6 +275,15 @@ public class GT_Achievements { return null; } + public Achievement registerAssAchievement(GT_Recipe recipe) { + if (this.achievementList.get(recipe.getOutput(0).getUnlocalizedName()) == null) { + assReg++; + return registerAchievement(recipe.getOutput(0).getUnlocalizedName(), -(11 + assReg % 5), ((assReg) / 5) - 8, recipe.getOutput(0) + , AchievementList.openInventory, false); + } + return null; + } + public void issueAchievement(EntityPlayer entityplayer, String textId) { if (entityplayer == null || !GT_Mod.gregtechproxy.mAchievements) { return; diff --git a/src/main/resources/assets/gregtech/lang/en_US.lang b/src/main/resources/assets/gregtech/lang/en_US.lang index bbd488d7e2..970e5fd07c 100644 --- a/src/main/resources/assets/gregtech/lang/en_US.lang +++ b/src/main/resources/assets/gregtech/lang/en_US.lang @@ -411,6 +411,98 @@ achievement.denseaspossible.desc=Produce Neutronium achievement.whatnow=What now? achievement.whatnow.desc=Craft a Ultimate Battery +achievement.gt.metaitem.01.32606=Electric Motor LuV tier +achievement.gt.metaitem.01.32606.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32607=Electric Motor ZPM tier +achievement.gt.metaitem.01.32607.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32608=Electric Motor UV tier +achievement.gt.metaitem.01.32608.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32615=Electric Pump LuV tier +achievement.gt.metaitem.01.32615.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32616=Electric Pump ZPM tier +achievement.gt.metaitem.01.32616.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32617=Electric Pump UV tier +achievement.gt.metaitem.01.32617.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32635=Conveyor Module LuV tier +achievement.gt.metaitem.01.32635.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32636=Conveyor Module ZPM tier +achievement.gt.metaitem.01.32636.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32637=Conveyor Module UV tier +achievement.gt.metaitem.01.32637.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32645=Electric Piston LuV tier +achievement.gt.metaitem.01.32645.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32646=Electric Piston ZPM tier +achievement.gt.metaitem.01.32646.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32647=Electric Piston UV tier +achievement.gt.metaitem.01.32647.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32655=Robot Arm LuV tier +achievement.gt.metaitem.01.32655.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32656=Robot Arm ZPM tier +achievement.gt.metaitem.01.32656.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32657=Robot Arm UV tier +achievement.gt.metaitem.01.32657.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32675=Field Generator tier VI +achievement.gt.metaitem.01.32675.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32676=Field Generator tier VII +achievement.gt.metaitem.01.32676.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32677=Field Generator tier VIII +achievement.gt.metaitem.01.32677.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32685=Emitter LuV tier +achievement.gt.metaitem.01.32685.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32686=Emitter ZPM tier +achievement.gt.metaitem.01.32686.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32687=Emitter UV tier +achievement.gt.metaitem.01.32687.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32695=Sensor LuV tier +achievement.gt.metaitem.01.32695.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32696=Sensor ZPM tier +achievement.gt.metaitem.01.32696.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32697=Sensor UV tier +achievement.gt.metaitem.01.32697.desc=Pickup this item to see the recipe in NEI + +achievement.gt.blockmachines.fusioncomputer.tier.06=Fusion Computer Mark I +achievement.gt.blockmachines.fusioncomputer.tier.06.desc=Pickup this item to see the recipe in NEI +achievement.gt.blockmachines.fusioncomputer.tier.07=Fusion Computer Mark II +achievement.gt.blockmachines.fusioncomputer.tier.07.desc=Pickup this item to see the recipe in NEI +achievement.gt.blockmachines.fusioncomputer.tier.08=Fusion Computer Mark III +achievement.gt.blockmachines.fusioncomputer.tier.08.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.03.32072=Neuro Processing Unit +achievement.gt.metaitem.03.32072.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.03.32095=Wetware Mainframe +achievement.gt.metaitem.03.32095.desc=Pickup this item to see the recipe in NEI + +achievement.item.NanoCircuit=Nano Circuit +achievement.item.NanoCircuit.desc=Pickup this item to see the recipe in NEI +achievement.item.PikoCircuit=Piko Circuit +achievement.item.PikoCircuit.desc=Pickup this item to see the recipe in NEI +achievement.item.QuantumCircuit=Quantum Circuit +achievement.item.QuantumCircuit.desc=Pickup this item to see the recipe in NEI + +achievement.gt.metaitem.01.32605=Ultimate Battery +achievement.gt.metaitem.01.32605.desc=Pickup this item to see the recipe in NEI +achievement.gt.metaitem.01.32609=Really Ultimate Battery +achievement.gt.metaitem.01.32609.desc=Pickup this item to see the recipe in NEI + +achievement.ic2.itemArmorQuantumHelmet=Quantum Helmet +achievement.ic2.itemArmorQuantumHelmet.desc=Pickup this item to see the recipe in NEI +achievement.ic2.itemArmorQuantumChestplate=Quantum Chestplate +achievement.ic2.itemArmorQuantumChestplate.desc=Pickup this item to see the recipe in NEI +achievement.ic2.itemArmorQuantumLegs=Quantum Leggings +achievement.ic2.itemArmorQuantumLegs.desc=Pickup this item to see the recipe in NEI +achievement.ic2.itemArmorQuantumBoots=Quantum Boots +achievement.ic2.itemArmorQuantumBoots.desc=Pickup this item to see the recipe in NEI + +achievement.item.graviChestPlate=Gravi Chestplate +achievement.item.graviChestPlate.desc=Pickup this item to see the recipe in NEI + for.bees.species.clay=Clay for.bees.species.slimeball=Slimeball for.bees.species.peat=Peat @@ -444,3 +536,4 @@ for.bees.species.iridium=Iridium for.bees.species.uranium=Uranium for.bees.species.plutonium=Plutonium for.bees.species.naquadah=Naquadah + |