using Content.Shared.Stacks; using Content.Shared.Storage; using Robust.Shared.Prototypes; namespace Content.Server._NF.Cargo.Components; /// /// This is used for spawning additional currency upon sale of an entity /// [RegisterComponent] public sealed partial class AdditionalPalletCurrencyComponent : Component { /// /// The stack prototype to spawn when the item is sold. /// [DataField(required: true)] public ProtoId Currency; /// /// The amount of entities to spawn. /// [DataField] public int Amount = 1; /// /// The probability that the entity will spawn. /// [DataField("prob")] public float SpawnProbability = 1; }