using Content.Shared.Damage; namespace Content.Server.Mining; /// /// This is used for meteors which hit objects, dealing damage to destroy/kill the object and dealing equal damage back to itself. /// [RegisterComponent, Access(typeof(MeteorSystem))] public sealed partial class MeteorComponent : Component { /// /// Damage specifier that is multiplied against the calculated damage amount to determine what damage is applied to the colliding entity. /// /// /// The values of this should add up to 1 or else the damage will be scaled. /// [DataField] public DamageSpecifier DamageTypes = new(); /// /// A list of entities that this meteor has collided with. used to ensure no double collisions occur. /// [DataField] public HashSet HitList = new(); }