Skip to content

Limit save scumming #200

@JJM152

Description

@JJM152

There are probably three main approaches to this:

  • Use a seeded RNG built into sugarcube. Seed the player on creation.
  • Some data can be saved to the player state as needed, like we do store inventories. Challenge - you have to forces a state save in the story engine for any sort of permenance.
  • Use the Web Storage API, particularly sessionStorage to serialize variables to.

The prime candidates for things like this are not just shops, but also some of the mini games, particularly things like the slots which actually break if the user reloads their browser. Reloading on any kind of gambling is just plain lame. Lets see what we can do about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions