I've been meaning to look at reducing rng, it might take me a few days, but I'll come up with something. If you found anything else let me know.
I also was trying to make a mod for easy RNG, but stopped because not worth the works
FYI, the random numbers is generated and saved in the
GData.Randoms
array.
So I tried to make all RNG to return true by making a new Class that always return true when it compared with anything, i.e:
Python:
class CompareTrue:
def __lt__(self, other):
return True
__le__ = __eq__ = __gt__ = __ge__ = __lt__
alwaystrue = CompareTrue()
#on the game, so the random number pool only have 1 value
GData.Randoms=[alwaystrue]
But that won't works, because there are some media that shows based on random too (I guess for variation), so if the random always true, you'll never see the other variant images...
Latest thing that came up to me, is just to make the random number pools with
inf
and
-inf
, so it will greatly make the probability to 50:50, i.e:
Python:
# [anynumber] > -inf is always return True, and [anynumber] < inf always return True
GData.Randoms = [float('-inf'), float('inf')]
# you can reset the pools with:
GData.ResetRandom()