6
StarHorizon_Public/Content.Server/Paper/PaperRandomStoryComponent.cs
2025-11-11 11:18:56 +03:00

19 lines
559 B
C#

using Content.Shared.Paper;
using Content.Shared.StoryGen;
using Robust.Shared.Prototypes;
namespace Content.Server.Paper;
/// <summary>
/// Adds a randomly generated story to the content of a <see cref="PaperComponent"/>
/// </summary>
[RegisterComponent, Access(typeof(PaperRandomStorySystem))]
public sealed partial class PaperRandomStoryComponent : Component
{
/// <summary>
/// The <see cref="StoryTemplatePrototype"/> ID to use for story generation.
/// </summary>
[DataField]
public ProtoId<StoryTemplatePrototype> Template;
}