Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Maintenance texts to become easier to identify #3541

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2572,31 +2572,31 @@ protected void drawTexts(DynamicPositionedColumn screenElements, SlotWidget inve
}
screenElements
.widget(
new TextWidget(GTUtility.trans("132", "Pipe is loose.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("132", "Pipe is loose. (Wrench)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mWrench))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mWrench, val -> mWrench = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("133", "Screws are loose.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("133", "Screws are loose. (Screwdriver)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mScrewdriver))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mScrewdriver, val -> mScrewdriver = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("134", "Something is stuck.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("134", "Something is stuck. (Soft Mallet)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mSoftHammer))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mSoftHammer, val -> mSoftHammer = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("135", "Platings are dented.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("135", "Platings are dented. (Hammer)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mHardHammer))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mHardHammer, val -> mHardHammer = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("136", "Circuitry burned out.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("136", "Circuitry burned out. (Soldering)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mSolderingTool))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mSolderingTool, val -> mSolderingTool = val));
screenElements.widget(
new TextWidget(GTUtility.trans("137", "That doesn't belong there.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("137", "That doesn't belong there. (Crowbar)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mCrowbar))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mCrowbar, val -> mCrowbar = val));
screenElements
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/gregtech/api/util/GTLanguageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ public static void writePlaceholderStrings() {
addStringLocalization("Interaction_DESCRIPTION_Index_130.1", "Fluids ");
addStringLocalization("Interaction_DESCRIPTION_Index_131", "Items");
addStringLocalization("Interaction_DESCRIPTION_Index_131.1", "Items ");
addStringLocalization("Interaction_DESCRIPTION_Index_132", "Pipe is loose.");
addStringLocalization("Interaction_DESCRIPTION_Index_133", "Screws are loose.");
addStringLocalization("Interaction_DESCRIPTION_Index_134", "Something is stuck.");
addStringLocalization("Interaction_DESCRIPTION_Index_135", "Platings are dented.");
addStringLocalization("Interaction_DESCRIPTION_Index_136", "Circuitry burned out.");
addStringLocalization("Interaction_DESCRIPTION_Index_137", "That doesn't belong there.");
addStringLocalization("Interaction_DESCRIPTION_Index_132", "Pipe is loose. (Wrench)");
addStringLocalization("Interaction_DESCRIPTION_Index_133", "Screws are loose. (Screwdriver)");
addStringLocalization("Interaction_DESCRIPTION_Index_134", "Something is stuck. (Soft Mallet)");
addStringLocalization("Interaction_DESCRIPTION_Index_135", "Platings are dented. (Hammer)");
addStringLocalization("Interaction_DESCRIPTION_Index_136", "Circuitry burned out. (Soldering)");
addStringLocalization("Interaction_DESCRIPTION_Index_137", "That doesn't belong there. (Crowbar)");
addStringLocalization("Interaction_DESCRIPTION_Index_138", "Incomplete Structure.");
addStringLocalization("Interaction_DESCRIPTION_Index_139", "Hit with Soft Mallet");
addStringLocalization("Interaction_DESCRIPTION_Index_140", "to (re-)start the Machine");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1106,31 +1106,31 @@ protected void drawTexts(DynamicPositionedColumn screenElements, SlotWidget inve
.setPos(10, 7);
screenElements
.widget(
new TextWidget(GTUtility.trans("132", "Pipe is loose.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("132", "Pipe is loose. (Wrench)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mWrench))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mWrench, val -> mWrench = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("133", "Screws are loose.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("133", "Screws are loose. (Screwdriver)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mScrewdriver))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mScrewdriver, val -> mScrewdriver = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("134", "Something is stuck.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("134", "Something is stuck. (Soft Mallet)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mSoftHammer))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mSoftHammer, val -> mSoftHammer = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("135", "Platings are dented.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("135", "Platings are dented. (Hammer)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mHardHammer))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mHardHammer, val -> mHardHammer = val));
screenElements
.widget(
new TextWidget(GTUtility.trans("136", "Circuitry burned out.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("136", "Circuitry burned out. (Soldering)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mSolderingTool))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mSolderingTool, val -> mSolderingTool = val));
screenElements.widget(
new TextWidget(GTUtility.trans("137", "That doesn't belong there.")).setDefaultColor(COLOR_TEXT_WHITE.get())
new TextWidget(GTUtility.trans("137", "That doesn't belong there. (Crowbar)")).setDefaultColor(COLOR_TEXT_WHITE.get())
.setEnabled(widget -> !mCrowbar))
.widget(new FakeSyncWidget.BooleanSyncer(() -> mCrowbar, val -> mCrowbar = val));
screenElements
Expand Down
Loading