From c3268c6c19a01dde6dcb8ae59188e294ce4b736b Mon Sep 17 00:00:00 2001 From: mhamsterr <81412348+mhamsterr@users.noreply.github.com> Date: Mon, 16 Jun 2025 22:41:18 +0700 Subject: [PATCH] Update EntityEntry.cs + entity suffix --- Content.Server/Corvax/GuideGenerator/EntityEntry.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Content.Server/Corvax/GuideGenerator/EntityEntry.cs b/Content.Server/Corvax/GuideGenerator/EntityEntry.cs index 12f71a59ea..a9809d048b 100644 --- a/Content.Server/Corvax/GuideGenerator/EntityEntry.cs +++ b/Content.Server/Corvax/GuideGenerator/EntityEntry.cs @@ -14,10 +14,14 @@ public sealed class EntityEntry [JsonPropertyName("desc")] public string Description { get; } + [JsonPropertyName("suffix")] + public string Suffix { get; } + public EntityEntry(EntityPrototype proto) { Id = proto.ID; Name = TextTools.TextTools.CapitalizeString(proto.Name); // Corvax-Wiki Description = proto.Description; + Suffix = proto.EditorSuffix != null ? proto.EditorSuffix : ""; } }