kraft
Version:
A mysterious command line game with lots of secrets
26 lines (21 loc) • 514 B
JavaScript
/**
* Created by vanraar on 21/09/16.
*/
const Config = require(__base+'config/Config');
const Flow = require(__base+'helpers/Flow');
exports.quick = (...args) => {
console.log.apply(null, args);
};
exports.show = (...args) => {
console.log.apply(null, args);
Flow.next();
};
exports.afterSave = (data, ...args) => {
Config.save('model', data);
console.log.apply(null, args);
Flow.next();
};
exports.saveWithoutOutput = (data) => {
Config.save('model', data);
Flow.next();
};