Lemmy NZ

899 readers
38 users here now

Rules:

FAQ ~ NZ Community List ~ Join Matrix chatroom ~ Alternate frontends

founded 1 year ago
ADMINS
1
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/InternetIsBeautiful by /u/OrangePrototype on 2024-01-31 17:14:23.

2
 
 

cross-posted from: https://lemmy.world/post/11432186

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;

3
 
 

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;

4
view more: next ›