Support number of uses starting at zero (#19452)
This allows peelable bananas without replicating the entire YAML structure to remove this one component.
This commit is contained in:
@@ -24,6 +24,7 @@ namespace Content.Server.Storage.Components
|
||||
/// <summary>
|
||||
/// How many uses before the item should delete itself.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("uses")]
|
||||
public int Uses = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user