* Power stuff - Add shared IsPowered - Add shared ResolveApc - Move PowerChangedEvent to shared for now - Add SlimPoweredLight that actually functions how you'd expect a PoweredLight to function it id didn't have a bunch of bloat on it. * big update * boing
19 lines
559 B
C#
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;
|
|
}
|