168
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
[-] Matty_r@programming.dev 1 points 9 months ago

I'm on Firefox on android and it doesn't seem to work :(

[-] Minnels@lemm.ee 1 points 9 months ago

Works for me. Android Firefox.

[-] Matty_r@programming.dev 2 points 9 months ago

Its working now. Strange. Ah well, very cool.

[-] JK_Flip_Flop@lemmy.world 1 points 9 months ago

It works fine for me in Fennec on Android

this post was submitted on 01 Feb 2024
168 points (100.0% liked)

Games

32506 readers
1265 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