refactor: Orthographic and obsolete in Knowledge

This commit is contained in:
Tornado Tech
2025-03-06 18:22:01 +10:00
parent e54e8a95ee
commit 44f4c17266
7 changed files with 25 additions and 27 deletions

View File

@@ -10,7 +10,7 @@ namespace Content.Shared._CP14.Knowledge.Components;
public sealed partial class CP14KnowledgeLearningSourceComponent : Component
{
[DataField, ViewVariables(VVAccess.ReadOnly)]
public HashSet<ProtoId<CP14KnowledgePrototype>> Knowledges { get; private set; } = new();
public HashSet<ProtoId<CP14KnowledgePrototype>> Knowledge { get; private set; } = [];
[DataField]
public TimeSpan DoAfter = TimeSpan.FromSeconds(5f);