1
0

ChangeNameInContainerComponent.cs 699 B

123456789101112131415161718
  1. using Content.Shared.Whitelist;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.ChangeNameInContainer;
  4. /// <summary>
  5. /// An entity with this component will get its name and verb chaned to the container it's inside of. E.g, if your a
  6. /// pAI that has this component and are inside a lizard plushie, your name when talking will be "lizard plushie".
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent, Access(typeof(ChangeNameInContainerSystem))]
  9. public sealed partial class ChangeVoiceInContainerComponent : Component
  10. {
  11. /// <summary>
  12. /// A whitelist of containers that will change the name.
  13. /// </summary>
  14. [DataField]
  15. public EntityWhitelist? Whitelist;
  16. }