UNPKG

starforged-cli

Version:

My goal is for this to be an easy-to-use CLI for playing Starforged solo. If your game ends up in a broken state of some sort, and no command yet exists to fix your issue, all of the game data you accumulate is stored in `~/starforged-cli/db.json` and you

18 lines (13 loc) 422 B
const os = require("os"); const path = require("path"); const appPath = path.resolve(os.homedir(), "starforged-cli"); const dbPath = path.resolve(appPath, "db.json"); const ranks = ["troublesome", "dangerous", "formidable", "extreme", "epic"]; const progressIncrements = { troublesome: 12, dangerous: 8, formidable: 4, extreme: 2, epic: 1, }; module.exports = { appPath, dbPath, ranks, progressIncrements };