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

33 lines
No EOL
1.1 KiB
JavaScript

// SCICRAFT — The Dark Photon Protocol
// CONFIG OBJECT. Text lives in STORY/*.md (generated into en_us.json) —
// never hardcode story strings here. /reload after editing.
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'
}
}