Vixen
c7401864
csharp
public record class RecipeDefinition

A recipe: what goes in, where, and what comes out.

Read the guide page for this →

Fields and properties (11)

  • public string DisplayName

    What it is called.

  • public string Profession

    Which profession's it is — Profession.Smithing. Also the skill it reads.

  • public string Station

    What station it needs — Interactable.Station.Forge. Empty for anywhere.

  • public List<RecipeItemDefinition> Inputs

    What it takes.

  • public List<RecipeItemDefinition> Outputs

    What it makes.

  • public RecipeSource Source

    How it is come by.

  • public int SkillRequired

    The skill at which it can first be made.

  • public int SkillCap

    The skill at which it stops teaching anything.

  • public int SkillGain

    How much skill one success is worth at the bottom of the band.

  • public float QualityChance

    How likely a better result is, from zero to one.

  • public List<RequirementDefinition> Requires

    What else has to be true.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (9)

  • ReferenceTestsMmo.Content.Tests
  • ContentVixen.Gameplay.Crafting.Tests
  • CrafterVixen.Gameplay.Crafting
  • CraftingLibraryVixen.Gameplay.Crafting
  • CraftingModuleVixen.Gameplay.Crafting
  • CraftingTestsVixen.Gameplay.Crafting.Tests
  • RecipeVixen.Gameplay.Crafting
  • TypeRegistrationVixen.Gameplay.Crafting
  • Vixen_Gameplay_Crafting_RecipeDefinitionSerializerVixen.Gameplay.Crafting