Vixen
c7401864
csharp
public record class SalvageDefinition

What breaking an item down gives back.

Read the guide page for this →

Remarks

Salvage is a loot table with an item on the front of it, which is the whole of the mechanism: the same weights, the same conditions and the same reproducible roll, so a disenchant and a boss drop cannot disagree about how randomness works.

Fields and properties (3)

  • public string Item

    The address of the item this salvages, or empty to match by tag.

  • public List<string> ItemTags

    Tag prefixes an item must all match for this to be its recipe. Ignored when Item is set.

  • public string Table

    The address of the table rolled when it is broken down.

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 (6)

  • ContentVixen.Gameplay.Loot.Tests
  • LootLibraryVixen.Gameplay.Loot
  • LootModuleVixen.Gameplay.Loot
  • SalvageRecipeVixen.Gameplay.Loot
  • TypeRegistrationVixen.Gameplay.Loot
  • Vixen_Gameplay_Loot_SalvageDefinitionSerializerVixen.Gameplay.Loot