Version 1.0.19b
This commit is contained in:
120
minecraft/kubejs/client_scripts/tooltips.js
Normal file
120
minecraft/kubejs/client_scripts/tooltips.js
Normal file
@@ -0,0 +1,120 @@
|
||||
// priority: 0
|
||||
|
||||
ItemEvents.tooltip(event => {
|
||||
// Re-add Chemlib info to unified materials
|
||||
let chemlibTooltips = JsonIO.read('kubejs/client_scripts/chemlibCompat.json')
|
||||
chemlibTooltips.forEach((item, tooltips) => {
|
||||
event.addAdvanced(item, (stack, advanced, text) => {
|
||||
text.add(1, tooltips[0])
|
||||
if (tooltips.length > 1) {
|
||||
text.add(2, tooltips[1])
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
//AllTheModium
|
||||
event.add('allthemodium:teleport_pad',[
|
||||
Text.of('Place the pad down in the specified Dimension'),
|
||||
Text.of('Sneak Right Click with both hands empty to teleport'),
|
||||
Text.of('§aOverworld TO Mining Dimension').red(),
|
||||
Text.of('§cThe Nether TO The Other').red()
|
||||
])
|
||||
|
||||
//Mekanism
|
||||
event.add('mekanism:creative_energy_cube', [ [Text.of('Needs to be Energized').darkPurple()],])
|
||||
|
||||
// Mob Grinding Utils
|
||||
event.addAdvanced('mob_grinding_utils:rotten_egg', (stack, advanced, text) => {
|
||||
text.add(3, Text.of("Created from Cursed Chicken Feed").yellow())
|
||||
})
|
||||
event.addAdvanced('mob_grinding_utils:golden_egg', (stack, advanced, text) => {
|
||||
text.add(3, Text.of("Created from Nutritious Chicken Feed").yellow())
|
||||
})
|
||||
|
||||
// RS Infinity Booster
|
||||
event.add('rsinfinitybooster:infinity_card', [
|
||||
Text.of('Infinite range for RS wireless'),
|
||||
Text.of('Only works in the same dimension')
|
||||
])
|
||||
event.add('rsinfinitybooster:dimension_card', [
|
||||
Text.of('Infinite range for RS wireless'),
|
||||
Text.of('Works across dimensions')
|
||||
])
|
||||
|
||||
// AE2 Infinity Booster
|
||||
event.add('aeinfinitybooster:infinity_card', [
|
||||
Text.of('Infinite range for AE2 wireless'),
|
||||
Text.of('Only works in the same dimension')
|
||||
])
|
||||
event.add('aeinfinitybooster:dimension_card', [
|
||||
Text.of('Infinite range for AE2 wireless'),
|
||||
Text.of('Works across dimensions')
|
||||
])
|
||||
|
||||
//pipes
|
||||
event.add('pipez:item_pipe', [
|
||||
[Text.of('Default:'), ' ', Text.of('4'), ' ', Text.of('items/20t')],
|
||||
[Text.of('Basic:'), ' ', Text.of('8'), ' ', Text.of('items/15t')],
|
||||
[Text.of('Improved:').gold(), ' ', Text.of('16').yellow(), ' ', Text.of('items/10t').gold()],
|
||||
[Text.of('Advanced:').darkAqua(), ' ', Text.of('32').aqua(), ' ', Text.of('items/5t').darkAqua()],
|
||||
[Text.of('Ultimate:').darkGray(), ' ', Text.of('64').gray(), ' ', Text.of('items/t').darkGray()],
|
||||
[Text.of('Infinity:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('items/t').darkPurple()],
|
||||
])
|
||||
event.add('pipez:fluid_pipe', [
|
||||
[Text.of('Default:'), ' ', Text.of('50'), ' ', Text.of('mB/t')],
|
||||
[Text.of('Basic:'), ' ', Text.of('100'), ' ', Text.of('mB/t')],
|
||||
[Text.of('Improved:').gold(), ' ', Text.of('500').yellow(), ' ', Text.of('mB/t').gold()],
|
||||
[Text.of('Advanced:').darkAqua(), ' ', Text.of('2,000').aqua(), ' ', Text.of('mB/t').darkAqua()],
|
||||
[Text.of('Ultimate:').darkGray(), ' ', Text.of('10,000').gray(), ' ', Text.of('mB/t').darkGray()],
|
||||
[Text.of('Infinity:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('mB/t').darkPurple()],
|
||||
])
|
||||
event.add('pipez:gas_pipe', [
|
||||
[Text.of('Default:'), ' ', Text.of('200'), ' ', Text.of('mB/t')],
|
||||
[Text.of('Basic:'), ' ', Text.of('400'), ' ', Text.of('mB/t')],
|
||||
[Text.of('Improved:').gold(), ' ', Text.of('2,000').yellow(), ' ', Text.of('mB/t').gold()],
|
||||
[Text.of('Advanced:').darkAqua(), ' ', Text.of('8,000').aqua(), ' ', Text.of('mB/t').darkAqua()],
|
||||
[Text.of('Ultimate:').darkGray(), ' ', Text.of('40,000').gray(), ' ', Text.of('mB/t').darkGray()],
|
||||
[Text.of('Infinity:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('mB/t').darkPurple()],
|
||||
])
|
||||
event.add('pipez:energy_pipe', [
|
||||
[Text.of('Default:'), ' ', Text.of('256'), ' ', Text.of('FE/t')],
|
||||
[Text.of('Basic:'), ' ', Text.of('1,024'), ' ', Text.of('FE/t')],
|
||||
[Text.of('Improved:').gold(), ' ', Text.of('8,192').yellow(), ' ', Text.of('FE/t').gold()],
|
||||
[Text.of('Advanced:').darkAqua(), ' ', Text.of('32,768').aqua(), ' ', Text.of('FE/t').darkAqua()],
|
||||
[Text.of('Ultimate:').darkGray(), ' ', Text.of('131,072').gray(), ' ', Text.of('FE/t').darkGray()],
|
||||
[Text.of('Infinity:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('FE/t').darkPurple()],
|
||||
])
|
||||
|
||||
//upgrades
|
||||
event.add('pipez:basic_upgrade', [
|
||||
[Text.of('Item:'), ' ', Text.of('8'), ' ', Text.of('items/15t')],
|
||||
[Text.of('Fluid:'), ' ', Text.of('100'), ' ', Text.of('mB/t')],
|
||||
[Text.of('Gas:'), ' ', Text.of('400'), ' ', Text.of('mB/t')],
|
||||
[Text.of('Energy:'), ' ', Text.of('1,024'), ' ', Text.of('FE/t')],
|
||||
])
|
||||
event.add('pipez:improved_upgrade', [
|
||||
[Text.of('Item:').gold(), ' ', Text.of('16').yellow(), ' ', Text.of('items/10t').gold()],
|
||||
[Text.of('Fluid:').gold(), ' ', Text.of('500').yellow(), ' ', Text.of('mB/t').gold()],
|
||||
[Text.of('Gas:').gold(), ' ', Text.of('2,000').yellow(), ' ', Text.of('mB/t').gold()],
|
||||
[Text.of('Energy:').gold(), ' ', Text.of('8,192').yellow(), ' ', Text.of('FE/t').gold()],
|
||||
])
|
||||
event.add('pipez:advanced_upgrade', [
|
||||
[Text.of('Item:').darkAqua(), ' ', Text.of('32').aqua(), ' ', Text.of('items/5t').darkAqua()],
|
||||
[Text.of('Fluid:').darkAqua(), ' ', Text.of('2,000').aqua(), ' ', Text.of('mB/t').darkAqua()],
|
||||
[Text.of('Gas:').darkAqua(), ' ', Text.of('8,000').aqua(), ' ', Text.of('mB/t').darkAqua()],
|
||||
[Text.of('Energy:').darkAqua(), ' ', Text.of('32,768').aqua(), ' ', Text.of('FE/t').darkAqua()],
|
||||
])
|
||||
event.add('pipez:ultimate_upgrade', [
|
||||
[Text.of('Item:').darkGray(), ' ', Text.of('64').gray(), ' ', Text.of('items/t').darkGray()],
|
||||
[Text.of('Fluid:').darkGray(), ' ', Text.of('10,000').gray(), ' ', Text.of('mB/t').darkGray()],
|
||||
[Text.of('Gas:').darkGray(), ' ', Text.of('40,000').gray(), ' ', Text.of('mB/t').darkGray()],
|
||||
[Text.of('Energy:').darkGray(), ' ', Text.of('131,072').gray(), ' ', Text.of('FE/t').darkGray()],
|
||||
])
|
||||
event.add('pipez:infinity_upgrade', [
|
||||
[Text.of('Item:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('items/t').darkPurple()],
|
||||
[Text.of('Fluid:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('mB/t').darkPurple()],
|
||||
[Text.of('Gas:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('mB/t').darkPurple()],
|
||||
[Text.of('Energy:').darkPurple(), ' ', Text.of('2,147,483,647').lightPurple(), ' ', Text.of('FE/t').darkPurple()],
|
||||
])
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user