interface MutateRandomChoicePerMission
import { type MutateRandomChoicePerMission } from ".";

Choose one of a set of values for each mission. The choice is fixed to the seed of the mission. Subsequent plays of the same seed will use the same value. This mutator can be used with just Choices. In that case it will uniformly sample from the choices.

Optionally, a second list Weights provides weights for weighted sampling of the choices.

Examples

{
  "Mutate": "RandomChoicePerMission",
  "Choices": [
    "bedrock",
    "hotrock",
    "dirt"
  ]
}

Type Parameters

Properties

Mutate: "RandomChoicePerMission"