mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* remove evil * fix non-localizeddataset uses * fix hostage ops warden --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
24 lines
642 B
C#
24 lines
642 B
C#
using Content.Shared.Dataset;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.RandomMetadata;
|
|
|
|
/// <summary>
|
|
/// Randomizes the description and/or the name for an entity by creating it from list of dataset prototypes or strings.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class RandomMetadataComponent : Component
|
|
{
|
|
[DataField]
|
|
public List<ProtoId<LocalizedDatasetPrototype>>? DescriptionSegments;
|
|
|
|
[DataField]
|
|
public List<ProtoId<LocalizedDatasetPrototype>>? NameSegments;
|
|
|
|
[DataField]
|
|
public string NameSeparator = " ";
|
|
|
|
[DataField]
|
|
public string DescriptionSeparator = " ";
|
|
}
|