tschoppi / starsystem-gen

Automated Generation of a GURPS 4e Star System as described in GURPS: Space
Other
40 stars 16 forks source link

Expose random seed #50

Closed MyrionPhoenixmoon closed 8 years ago

MyrionPhoenixmoon commented 8 years ago

Expose the sed of the RNG, so that it can be used to regenerate the same system again.

MyrionPhoenixmoon commented 8 years ago

This also makes debugging easier and enables extensive testing of random features.

29

MyrionPhoenixmoon commented 8 years ago

The feature actually exists already, but wasn't pushed due to a peculiar bug:

It exposes a seed, but not the one used to generate the current system! Re-using the shown seed will consistently generate the same system, but it won't be the one you saw first, when you copied the seed.

MyrionPhoenixmoon commented 8 years ago

Found the bug and fixed it in Commit aa49984