1
0

PaperRandomStoryComponent.cs 559 B

123456789101112131415161718
  1. using Content.Shared.Paper;
  2. using Content.Shared.StoryGen;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Server.Paper;
  5. /// <summary>
  6. /// Adds a randomly generated story to the content of a <see cref="PaperComponent"/>
  7. /// </summary>
  8. [RegisterComponent, Access(typeof(PaperRandomStorySystem))]
  9. public sealed partial class PaperRandomStoryComponent : Component
  10. {
  11. /// <summary>
  12. /// The <see cref="StoryTemplatePrototype"/> ID to use for story generation.
  13. /// </summary>
  14. [DataField]
  15. public ProtoId<StoryTemplatePrototype> Template;
  16. }