A Dark Cave - Survive the Darkness, Build Your Settlement comment

If anyone is interested in cheating a bit to make this less of a slog, here's some steps to greatly improve worker production:

  • Open the dev tools debugger
  • Find index-CNcs0FfM.js and run the code formatter
  • Search for "_re[e]"
  • You should find a single line: "const r = _re[e];"
  • Set a breakpoint on that line and wait for it to get hit
  • Now enter this into the console:

// Remove any negative production costs, produce 2x as much for (const w of Object.values(_re)) { w.production = w.production.filter(p => p.amount > 0); w.production.forEach(p => { p.amount *= 2; }); }

// a couple extra tweaks for things you really need a lot of

_re.gatherer.production[0].amount = 50; // wood _re.gatherer.production[1].amount = 20; // stone

// you need so much effin food _re.hunter.production[0].amount = 20; // food

_re.moonstone_miner.production[0].amount = 10; _re.steel_forger.production[0].amount = 10;

  • Unset the breakpoint and resume

And if it's still too much of a slog, the variable n on that line is the entire game state. You could set the breakpoint again and do something like this: "n.resources.gold = 50000"

No comments yet
Be first to add a comment