Infinite Craft, an endless crafting game, is out. - eviltoast

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;

  • novibe@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    I thought of another joke:

    Ah so that’s what the kids call the “Sephiroth”? I always thought it was just a pretty man.