When random_mode is true, all other tags like era, occup_type etc. are ignored.
Then occupation is randomly selected from all possible occupations:
if random_mode:
return random.choice(cochar.OCCUPATIONS_LIST)
Decide whether it is a bug, and if it is what other arguments should be take under consideration when generating random occupation character.
(it might be kind of a feature, if I want to add an option like: "create total random character"
When
random_modeis true, all other tags likeera,occup_typeetc. are ignored.Then occupation is randomly selected from all possible occupations:
Decide whether it is a bug, and if it is what other arguments should be take under consideration when generating random occupation character.
(it might be kind of a feature, if I want to add an option like: "create total random character"