mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-04 05:17:28 +00:00
* cant disguise to thing in a container * copy cigarette visualiser * prevent aghost throwing an error * make disguises die in space * fuck it rewrite it to not use polymorph * fix action troll * oop --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Polymorph.Components;
|
|
|
|
/// <summary>
|
|
/// Component added to disguise entities.
|
|
/// Used by client to copy over appearance from the disguise's source entity.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
|
|
public sealed partial class ChameleonDisguiseComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The user of this disguise.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityUid User;
|
|
|
|
/// <summary>
|
|
/// The projector that created this disguise.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityUid Projector;
|
|
|
|
/// <summary>
|
|
/// The disguise source entity for copying the sprite.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid SourceEntity;
|
|
|
|
/// <summary>
|
|
/// The source entity's prototype.
|
|
/// Used as a fallback if the source entity was deleted.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntProtoId? SourceProto;
|
|
}
|