| 1234567891011121314151617181920 |
- 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("descriptionSegments")]
- public List<string>? DescriptionSegments;
- [DataField("nameSegments")]
- public List<string>? NameSegments;
- [DataField("nameSeparator")]
- public string NameSeparator = " ";
- [DataField("descriptionSeparator")]
- public string DescriptionSeparator = " ";
- }
|