Files
tbd-station-14/Content.Shared/Polymorph/Components/ChameleonDisguiseComponent.cs
deltanedas 395c33024c prop hunt ss14 (real) (#26691)
* texture appropriation

* add code for projector

* add chameleon projector yml

* damage and actions

* prevent small props being killed round removing you (700 damage from a single shot)

* tweak default

* oop

* do appearance properly, need engine update

* fix bugs, blacklist pda

* remove status icons

* amou

* sus

* fix test + make props fast

* amouuuung

* remove funny log

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-04-17 14:48:35 -07:00

26 lines
784 B
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 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;
}