SciCraft/server_pack/kubejs/client_scripts/01_tooltips.js

34 lines
No EOL
1.1 KiB
JavaScript

// SCICRAFT — The Dark Photon Protocol
// Client tooltips: the story rides on the items you carry.
ItemEvents.tooltip(event => {
event.add('scicraft:photon_core', [
'',
'§3Dark photons — the binding force of the Door.',
'§7A sliver of the fifth force the Flight harnessed.',
'§8Hold it and feel the seals.'
])
event.add('scicraft:photon_fragment', [
'',
'§3A splinter of light stolen from the collapse.',
'§7Recovered from the Darker\'s remains.',
'§8Three of these may be pressed into a Core.'
])
event.add('scicraft:void_stabilizer', [
'',
'§3Per Spatium — the renegades\' seal for the wound in the world.',
'§7Right-click a powered Quantum Lattice to re-seal a Door.',
'§8It will never break. The work will.'
])
event.add('scicraft:quantum_lattice', [
'',
'§3The Protocol\'s emitter. It must stay powered.',
'§7Feed it steel, circuits, and Photon Cores.',
'§8Right-click with a Void Stabilizer to push back the tide.'
])
event.add('scicraft:renegade_glass', [
'',
'§3The TARDIS-blue glass of the Second Renegade Flight.',
'§7Decorative. Some say it hums near Doors.'
])
})