Skip to content

Commit

Permalink
feat: description
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Dec 15, 2024
1 parent 92ae116 commit c2c9b5e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
import gregtech.api.metatileentity.multiblock.RecipeMapMultiblockController;
import gregtech.api.pattern.PatternMatchContext;
import gregtech.api.recipes.RecipeMap;
import gregtech.client.utils.TooltipHelper;
import net.minecraft.client.resources.I18n;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import supersymmetry.common.recipes.DistillationTowerRecipeLogic;

import java.util.List;
import java.util.function.Function;

import static gregtech.api.util.RelativeDirection.UP;
Expand Down Expand Up @@ -76,4 +82,11 @@ public int getFluidOutputLimit() {
public boolean allowsExtendedFacing() {
return false;
}

@Override
public void addInformation(ItemStack stack, @Nullable World world, @NotNull List<String> tooltip, boolean advanced) {
super.addInformation(stack, world, tooltip, advanced);
tooltip.add(I18n.format("gregtech.machine.ordered_dt.tooltip.1"));
tooltip.add(I18n.format("gregtech.machine.ordered_dt.tooltip.2"));
}
}
4 changes: 4 additions & 0 deletions src/main/resources/assets/susy/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,10 @@ gregtech.machine.fluid_hatch.export_9x.hv.name=HV Nonuple Output Hatch
gregtech.machine.dumping_hatch=Dumping Hatch
gregtech.machine.dumping_hatch.lv.name=Dumping Hatch

# Distillation tower explanations
gregtech.machine.ordered_dt.tooltip.1=Fluid input and output hatches are on the same layers
gregtech.machine.ordered_dt.tooltip.2=§cNot putting a fluid output in the Nth layer from the bottom voids the Nth output§7

# Metaitems
metaitem.catalyst_bed_support_grid.name=Catalyst Bed Support Grid
metaitem.conveyor.steam.name=Steam Conveyor
Expand Down

0 comments on commit c2c9b5e

Please sign in to comment.