Paradox Clone (#35794)
* polymorph fixes * paradox clone * forensics cleanup * bump doors * 4 * attribution * polymorphn't * clean up objectives * Update Resources/ServerInfo/Guidebook/Antagonist/MinorAntagonists.xml * review * add virtual items to blacklist * allow them to roll sleeper agent
This commit is contained in:
22
Content.Shared/Gibbing/Components/GibOnRoundEndComponent.cs
Normal file
22
Content.Shared/Gibbing/Components/GibOnRoundEndComponent.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Gibbing.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Gibs an entity on round end.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class GibOnRoundEndComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// If the entity has all these objectives fulfilled they won't be gibbed.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public HashSet<EntProtoId> PreventGibbingObjectives = new();
|
||||
|
||||
/// <summary>
|
||||
/// Entity to spawn when gibbed. Can be used for effects.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntProtoId? SpawnProto;
|
||||
}
|
||||
Reference in New Issue
Block a user