A NetHack option like "name:Heiner-@" only selects a random role but
still asks about race/gender/alignment. NetHack also has the command
line flag -@ (mapped to flags.randomall) to randomize everything,
but there's no option in the .nethackrc sense for that.
This change makes it such that playername="Heiner-@" appends
race:random, gender:random, align:random to NetHack's options unless
these have been set already.
Note: In the NetHack competition, this issue didn't hurt us because
we auto-selected "Random" for the startup questions.
A NetHack option like "name:Heiner-@" only selects a random role but still asks about race/gender/alignment. NetHack also has the command line flag -@ (mapped to flags.randomall) to randomize everything, but there's no option in the .nethackrc sense for that.
This change makes it such that playername="Heiner-@" appends race:random, gender:random, align:random to NetHack's options unless these have been set already.
Note: In the NetHack competition, this issue didn't hurt us because we auto-selected "Random" for the startup questions.
Fixes #282.