Infinite Craft, an endless crafting game, is out.
Infinite Craft, an endless crafting game, is out.
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;
0
comments