29 lines
714 B
JavaScript
Raw Normal View History

2025-03-16 15:02:23 +01:00
let map = require(`./zeppelin/map.json`);
const _ = require('underscore');
function i(context) {
return new Promise((resolve, reject) => {
//Build from here.
let scenario = {};
console.info(`[${context.id}] Loading zeppelin map information`);
scenario.map = map;
console.info(`[${context.id}] Setting auxiliary context`);
scenario.timer = 0;
console.info(`[${context.id}] Succesfully loaded zeppelin scenario`);
context.scenario = scenario;
resolve(context);
});
}
function t(context) {
//populate with triggers.js
//later, calm down.
}
module.exports = storylines => {
storylines['zeppelin'] = {
initialize: i,
trigger: t
}
}