SciCraft/server_pack/kubejs/server_scripts/00_lore.js

42 lines
No EOL
1.5 KiB
JavaScript

// SCICRAFT — The Dark Photon Protocol
// THE STORY BIBLE. Edit lore here; every script reads from this object.
// Reload with /reload after editing (startup items require a restart).
global.SCICRAFT = {
items: {
photon_core: 'scicraft:photon_core',
photon_fragment: 'scicraft:photon_fragment',
void_stabilizer: 'scicraft:void_stabilizer',
quantum_lattice: 'scicraft:quantum_lattice',
renegade_glass: 'scicraft:renegade_glass'
},
tide: {
// Global corruption level, shared by all players.
// Rises while Doors go unsealed; falls when the Lattice is fed.
key: 'scicraft_corruption',
min: 0,
max: 100,
rise_per_tick: 1200, // +1 every 60s of neglect
seal_reduction: 15, // -15 per Lattice seal
darkness_threshold: 30, // darkness effect starts here
darker_threshold: 60, // hostile spawns ramp here
message_at: [30, 60, 85] // warning messages at these levels
},
dimensions: {
// Where the Darker pour through.
void_dim: 'thevoiddimension:overworld',
darker_dim: 'deeperdarker:otherside',
dimensional_doors: 'dimensionaldoors:limbo'
},
phrases: {
signal: 'The last signal of the Second Renegade Flight hums in your blood.',
lattice_hum: 'The Lattice hums. Reality holds — for now.',
tide_low: 'The seal holds. The tide is calm.',
tide_mid: 'A Door stirs somewhere. The dark is waking.',
tide_high: 'The Darker press against the world. The Protocol calls.',
seal_fail: 'The Lattice sputters. It needs more power — and a Stabilizer.'
}
}