mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* Randomized book overhaul * Fix prototype names * Improved setting paper content * Praise Ratvar (cherry picked from commit bad3bb4a89736b7b8b343dc14e0d0259ab7e45a1)
18 lines
531 B
C#
18 lines
531 B
C#
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;
|
|
}
|