SalvageLootPrototype.cs 606 B

1234567891011121314151617181920212223
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Procedural.Loot;
  3. /// <summary>
  4. /// Spawned inside of a salvage mission.
  5. /// </summary>
  6. [Prototype]
  7. public sealed partial class SalvageLootPrototype : IPrototype
  8. {
  9. [IdDataField] public string ID { get; private set; } = default!;
  10. /// <summary>
  11. /// Should this loot always spawn if possible. Used for stuff such as ore.
  12. /// </summary>
  13. [DataField("guaranteed")] public bool Guaranteed;
  14. /// <summary>
  15. /// All of the loot rules
  16. /// </summary>
  17. [DataField("loots")]
  18. public List<IDungeonLoot> LootRules = new();
  19. }