Skip to content

Commit

Permalink
Cleanup Universal Crystalizer + Add Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Mar 18, 2024
1 parent cc2f23b commit 99d17d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -179,6 +176,7 @@ public boolean canBeDistinct() {
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, @Nullable World world, @NotNull List<String> 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);
}
}
1 change: 1 addition & 0 deletions src/main/resources/assets/nomilabs/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 99d17d7

Please sign in to comment.