From 99d17d7058c17e3eef840f50722fb751108c8fba Mon Sep 17 00:00:00 2001 From: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:19:43 +1100 Subject: [PATCH] Cleanup Universal Crystalizer + Add Tooltip --- .../multiblock/MetaTileEntityUniversalCrystalizer.java | 8 +++----- src/main/resources/assets/nomilabs/lang/en_us.lang | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityUniversalCrystalizer.java b/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityUniversalCrystalizer.java index b57bf253..d239aebf 100644 --- a/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityUniversalCrystalizer.java +++ b/src/main/java/com/nomiceu/nomilabs/gregtech/multiblock/MetaTileEntityUniversalCrystalizer.java @@ -4,7 +4,6 @@ import com.nomiceu.nomilabs.LabsValues; import com.nomiceu.nomilabs.gregtech.material.registry.LabsMaterials; import com.nomiceu.nomilabs.gregtech.recipe.LabsRecipeMaps; -import gregicality.multiblocks.api.capability.IParallelMultiblock; import gregicality.multiblocks.api.metatileentity.GCYMMultiblockAbility; import gregicality.multiblocks.api.metatileentity.GCYMRecipeMapMultiblockController; import gregicality.multiblocks.api.render.GCYMTextures; @@ -16,7 +15,6 @@ import gregtech.api.metatileentity.interfaces.IGregTechTileEntity; import gregtech.api.metatileentity.multiblock.IMultiblockPart; import gregtech.api.metatileentity.multiblock.MultiblockAbility; -import gregtech.api.metatileentity.multiblock.RecipeMapMultiblockController; import gregtech.api.pattern.BlockPattern; import gregtech.api.pattern.FactoryBlockPattern; import gregtech.api.pattern.TraceabilityPredicate; @@ -84,10 +82,9 @@ protected BlockPattern createStructurePattern() { @Override public TraceabilityPredicate autoAbilities() { - return states(getCasingStateMain()).setMinGlobalLimited(80) - .or(abilities(MultiblockAbility.MAINTENANCE_HATCH) + return abilities(MultiblockAbility.MAINTENANCE_HATCH) .setMinGlobalLimited(1) - .setMaxGlobalLimited(1)) + .setMaxGlobalLimited(1) .or(abilities(GCYMMultiblockAbility.PARALLEL_HATCH) .setMaxGlobalLimited(1)) .or(abilities(MultiblockAbility.IMPORT_ITEMS) @@ -179,6 +176,7 @@ public boolean canBeDistinct() { @SideOnly(Side.CLIENT) public void addInformation(ItemStack stack, @Nullable World world, @NotNull List tooltip, boolean advanced) { tooltip.add(translate("tooltip.nomilabs.universal_crystallizer.description")); + tooltip.add(translate("tooltip.nomilabs.universal_crystallizer.description_laser")); super.addInformation(stack, world, tooltip, advanced); } } diff --git a/src/main/resources/assets/nomilabs/lang/en_us.lang b/src/main/resources/assets/nomilabs/lang/en_us.lang index d9cff385..fa7bb288 100644 --- a/src/main/resources/assets/nomilabs/lang/en_us.lang +++ b/src/main/resources/assets/nomilabs/lang/en_us.lang @@ -542,5 +542,6 @@ tooltip.nomilabs.naquadah_reactor.produces=§fProduces exactly %s amps of %s.§r tooltip.nomilabs.naquadah_reactor.overclock=Does not overclock! tooltip.nomilabs.actualization_chamber.description=§8A powerful machine that harnesses the most complex of matters and turns it into raw materials.§r tooltip.nomilabs.universal_crystallizer.description=§8An immense device, capable of turning raw materials into complex matters.§r +tooltip.nomilabs.universal_crystallizer.description_laser=Can use §bLaser Hatches§r tooltip.nomilabs.dme_sim_chamber.description=§8A high powered simulation device, capable of performing more complex simulations faster than ever.§r tooltip.nomilabs.greenhouse.description=§8A high powered growing chamber, capable of mass-growing even the most incomprehensible plants.§r