Refactors stacks to be fully ECS. (#4046)
This commit is contained in:
committed by
GitHub
parent
0f8e330a3d
commit
33fa208214
@@ -17,12 +17,12 @@ namespace Content.Shared.Stacks
|
||||
public string Name { get; } = string.Empty;
|
||||
|
||||
[DataField("icon")]
|
||||
public SpriteSpecifier? Icon { get; }
|
||||
public SpriteSpecifier? Icon { get; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// The entity id that will be spawned by default from this stack.
|
||||
/// </summary>
|
||||
[DataField("spawn")]
|
||||
public string? Spawn { get; }
|
||||
[DataField("spawn", required: true)]
|
||||
public string Spawn { get; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user