using Content.Shared.Whitelist;
namespace Content.Server.Gatherable.Components;
[RegisterComponent]
[Friend(typeof(GatherableSystem))]
public sealed class GatherableComponent : Component
{
///
/// Whitelist for specifying the kind of tools can be used on a resource
/// Supports multiple tags.
///
[ViewVariables]
[DataField("whitelist", required: true)]
public EntityWhitelist? ToolWhitelist;
///
/// YAML example below
/// (Tag1, Tag2, LootTableID1, LootTableID2 are placeholders for example)
/// --------------------
/// useMappedLoot: true
/// whitelist:
/// tags:
/// - Tag1
/// - Tag2
/// mappedLoot:
/// Tag1: LootTableID1
/// Tag2: LootTableID2
///
[DataField("loot")]
public Dictionary? MappedLoot = new();
}