Skip to content

All other arguments are ignored when random_mode is set toTrue #57

Description

@ajwalkiewicz

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpython_packageIssues related with cochar python package

    Projects

    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions