Files
wwdpublic/Content.Shared/_Goobstation/Projectiles/SpawnEntitiesOnHit/SpawnEntitiesOnHitComponent.cs
Spatison 2a10c02eb5 No spead merge (#475)
* Revert "[GoobPort] WIZ REAL (#465)"

This reverts commit 091a8ff433.

* fix local
2025-04-26 10:50:32 +03:00

20 lines
495 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared._Goobstation.Projectiles.SpawnEntitiesOnHit;
[RegisterComponent]
public sealed partial class SpawnEntitiesOnHitComponent : Component
{
/// <summary>
/// The prototype ID of the entity to spawn on hit
/// </summary>
[DataField(required: true)]
public EntProtoId Proto;
/// <summary>
/// The number of entities to spawn when the projectile hits
/// </summary>
[DataField]
public int Amount = 1;
}