static/scenes/elfmaker/elements/maker-control.js
/**
   * Choose a random config, including random category choices. Note that this is only called when
   * the user explicitly asks for a random elf, normally only colors are random.
   */
Choose a random config, including random category choices. Note that this is only called when
the user explicitly asks for a random elf, normally only colors are random.
Choose a random config including random category choices . Note that this is only called when the user explicitly asks for a random elf normally only colors are random .
chooseRandom() {
    const categoryChoice = defaultCategoryChoices(true);
    const propertyColors = defaultPropertyColors();
    this.categoryChoice = categoryChoice;
    Object.assign(this, propertyColors);
  }
chooseRandom ( ) { const categoryChoice = defaultCategoryChoices ( true ) ; const propertyColors = defaultPropertyColors ( ) ; this . categoryChoice = categoryChoice ; Object . assign ( this , propertyColors ) ; }
Choose a random config, including random category choices.
Choose a random config including random category choices .