Skip to content

Commit 3166cae

Browse files
committed
Fixes
1 parent 4965091 commit 3166cae

2 files changed

Lines changed: 11 additions & 55 deletions

File tree

kubejs/client_scripts/common/tooltips.js

Lines changed: 6 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -16,56 +16,12 @@ ItemEvents.tooltip(event => {
1616
});
1717

1818
let prefix;
19+
1920
addedByStarT.machines.forEach(machine => {
2021
prefix = (addedByStarT.isCore.includes(machine)) ? "start_core:" : "gtceu:";
2122

22-
// addedByStarT.modifiers.forEach(modifier => {
23-
// if (addedByStarT[modifier].includes(machine)) {
24-
// event.add(prefix + machine, Text.translate(`block.kubejs.${modifier}.tooltip`));
25-
// }
26-
// });
27-
2823
event.add(prefix + machine, Text.translate(`block.kubejs.added_by_StarT.tooltip`));
29-
});
30-
31-
// event.addAdvanced('gtceu:large_chemical_reactor', (item, advanced, text) => {
32-
// text.add(2, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.2'));
33-
// text.add(3, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.3'));
34-
// text.add(4, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.4'));
35-
// text.add(5, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.5'));
36-
// text.add(6, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.6'));
37-
// text.add(7, Text.translate('block.gtceu.coil_boosting_subtick.tooltip.1'));
38-
// });
39-
40-
// event.addAdvanced('gtceu:extreme_chemical_reactor', (item, advanced, text) => {
41-
// text.add(2, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.2'));
42-
// text.add(3, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.3'));
43-
// text.add(4, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.4'));
44-
// text.add(5, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.5'));
45-
// text.add(6, Text.translate('block.gtceu.lcr_coil_mechanic.tooltip.6'));
46-
// text.add(7, Text.translate('block.gtceu.coil_boosting_parallel_subtick.tooltip.1'));
47-
// });
48-
49-
event.addAdvanced('gtceu:implosion_compressor', (item, advanced, text) => {
50-
text.add(2, Text.translate('block.gtceu.subtick.tooltip.1'));
51-
});
52-
53-
54-
event.addAdvanced('gtceu:distillation_tower', (item, advanced, text) => {
55-
text.add(2, Text.translate('block.gtceu.subtick.tooltip.1'));
56-
});
57-
58-
event.addAdvanced('gtceu:vacuum_freezer', (item, advanced, text) => {
59-
text.add(2, Text.translate('block.gtceu.subtick.tooltip.1'));
60-
});
61-
62-
event.addAdvanced('gtceu:assembly_line', (item, advanced, text) => {
63-
text.add(2, Text.translate('block.gtceu.subtick.tooltip.1'));
64-
});
65-
66-
event.addAdvanced('gtceu:multi_smelter', (item, advanced, text) => {
67-
text.add(2, Text.translate('block.gtceu.subtick_coil_parallel.tooltip.1'));
68-
});
24+
})
6925

7026
event.addAdvanced(/gtceu:.*_macerator/, (item, advanced, text) => {
7127
text.add(1, Text.translate('block.gtceu.macerators.tooltip.1'));
@@ -74,20 +30,15 @@ ItemEvents.tooltip(event => {
7430
event.addAdvanced('gtceu:ulv_fluid_input', (item, advanced, text) => {
7531
text.add(1, Text.translate('block.gtceu.ulv_fluid_input.tooltip.1'));
7632
text.add(2, Text.translate('block.gtceu.ulv_fluid_input.tooltip.2'));
77-
});
78-
33+
});
34+
7935
event.addAdvanced('gtceu:uhv_stabilization_module', (item, advanced, text) => {
8036
text.add(1, Text.of('Multiblock Sharing §4Disabled'));
8137
text.add(2, Text.of('Makes your Multiblocks extremely stable for mass assembly!'));
8238
text.add(3, Text.of('Level of Stabilization:'));
8339
text.add(4, Text.of(' §bAbsolute Stabilization'));
8440
});
8541

86-
event.addAdvanced('gtceu:large_maceration_tower', (item, advanced, text) => {
87-
text.remove(2);
88-
text.add(2, Text.translate('block.gtceu.large_maceration_tower.tooltip.1'));
89-
});
90-
9142
//Custom Colossal Chest Tooltips
9243
const colossalTypes = [`wood`, `copper`, `iron`, `silver`, `gold`, `diamond`, `obsidian`];
9344
colossalTypes.forEach(type => {
@@ -106,8 +57,8 @@ ItemEvents.tooltip(event => {
10657
event.add(`gtceu:${name}`, Text.translate(`block.gtceu.theta2Removals.tooltip`));
10758
}
10859
});
109-
110-
for (let x=1; x<=8; x++) {
60+
61+
for (let x = 1; x <= 8; x++) {
11162
event.add(`solarflux:sp_${x}`, Text.translate(`block.solarflux.sp.tooltip`));
11263
}
11364
});

kubejs/startup_scripts/common/machines/multiblocks/power/more_plasma_turbine.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ GTCEuStartupEvents.registry('gtceu:machine', event => {
5656

5757
event.create('nyinsane_plasma_turbine', 'multiblock')
5858
.rotationState(RotationState.NON_Y_AXIS)
59+
.tooltips([
60+
Text.translate("block.gtceu.supreme_plasma_turbine.top.0"),
61+
Text.translate("block.gtceu.supreme_plasma_turbine.top.1"),
62+
Text.translate("block.start_core.breaker_line")
63+
])
5964
.paginatedTooltips([
6065
[
6166
Text.translate("block.gtceu.supreme_plasma_turbine.p1.1"),

0 commit comments

Comments
 (0)