164
submitted 9 months ago* (last edited 9 months ago) by lawrence@lemmy.world to c/games@lemmy.world

Attention: This game does not have a save feature, but people on Hacker News have already found a way to save their progress.

Export the items to a json string:

console.log(JSON.stringify({discoveries: window.$nuxt.$root.$children[2].$children[0].$children[0]._data.discoveries, elements:window.$nuxt.$root.$children[2].$children[0].$children[0]._data.elements}))

Load the items from a json string:

a = PUT YOUR JSON HERE;

window.$nuxt.$root.$children[2].$children[0].$children[0]._data.elements = a.elements; window.$nuxt.$root.$children[2].$children[0].$children[0]._data.discoveries = a.discoveries;

you are viewing a single comment's thread
view the rest of the comments
[-] i_ben_fine@lemmy.one 3 points 9 months ago
this post was submitted on 01 Feb 2024
164 points (96.1% liked)

Games

32561 readers
1009 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 1 year ago
MODERATORS