Hanako Games

News, Walkthroughs, and Chat about Anime Games

Randomness


shinfate

Randomness

#1 by shinfate - May 20 2011

I find the randomness in classes, studying, gym use, and Bingo rather distracting-- the player can always go back and re-try, which is boring. So I suggest making this nonrandom, e.g. by persisting the random seed, or by having a `luck' stat: you succeed when luck >= stress (for learning) but lose luck in the process, and if you fail, `luck' increases. For Bingo the outcome might be fixed to losing, unless you get a lucky charm in a side-quest.

Of course, if you're planning on wrapping up soon, this kind of change may be too major to introduce even if you like it. Alternatively, you could add some special spells or items for making these outcomes deterministic, as a reward to players who have beaten the game already. That should suffice to pacify fellow OCDlers.

Spiky Caterpillar

#2 by Spiky Caterpillar - May 20 2011

The random number generator's state currently participates in rollback, so you shouldn't be able to just roll back over a class and change the outcome (if there's anyplace where you can, it's a bug - though likely not one that I can readily fix - but probably one that PyTom will want to fix in a future Ren'Py version). I suspect most users who are repeatedly reloading actually want a different result each time, and it makes development marginally easier in a couple of places.

While I've got no plan to add determinism myself, it shouldn't be too hard to make a mod that adds determinism - basically you need to replace renpy.random with a module that implements the same interface and keeps the entire RNG state in savable/loadable data.
Hanako forum archive - Topic list