Skip to content

Trait Set Parameters in URL #77

Description

@NolanDonahue

Currently, URL parameters can take in and set the difficulty or randomize the traits in #76 .

If the community wanted to implement trait selection you would probably be able to parse through the activated bots similar to the current setTraits() in bot.service.ts.

Simple: A flow where it indexes through the filtered rules (togglableRules) and sets the rule.isActive = true at that index. This will mean that every bot activates the same traits.
Annoying: A flow where it indexes through the filtered rules (togglableRules) and sets the rule.isActive = true if the string of the rulename matches the param string. So users can pass a giant list of params for the traits if somebody wanted to 100% 'save' their setup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions