pioneerspacesim/pioneer — pull request #1299 by Brianetta (2012-06-22 20:32:58+00:00)
Title: Character rand seed

This allows a developer to write a script that uses a Character which is not persistent (in that it's not stored in the PersistentCharacters table) but which is always the same, by providing the constructor with a custom random generator.

The need for this was discovered when I altered the Goods Traders script to use the Character class. The names and faces there are not characters with any great deal of interaction. The advantages of the Character class (consistent name/gender, ease of creation) were still desirable, but having a different face and name each time was not.