mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-14 21:01:14 +03:00
Update EntityEntry.cs
+ entity suffix
This commit is contained in:
parent
7f026fa15f
commit
c3268c6c19
1 changed files with 4 additions and 0 deletions
|
|
@ -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 : "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue