I’m developing a game that requires for every object in the game to be reset to where they were at the beginning of the day. How would I make sure that everything is reset to the point it started without it becoming tedious?
For example, if Mrs. Miggins starts walking around the city at 7:00 AM, I need her to be back at her house, at 7:00, ready to walk again.
Think of it like Majora’s Mask, or Groundhog Day. Whenever the player calls for it, everything resets.
And, of course, there are also things that only happen the first day or second, so I don’t want to have the game actually end and start again, either.
Groovy. I assumed something like that was possible, but for the life of me I’ve never been able to wrap my head around the “running through” syntax (which is kind of crippling) …
The tedious part is resetting the open state of doors and containers, and the locked state (if appropriate), and any other properties you define or make use of. You can do it; it’s just a pain.
I don’t know a good way to reset “[first time]…[only]” say phrases. You might have to replace those with manually-set flags. On the other hand, you may not need to. If the protagonist is aware of repeating time, it may make sense for first-time descriptions to only appear on the first go-round.