Add "fill levels" to spear in-hand/wielded/equipped sprites (#28865)

* Add fill level sprite support for equipped items

* Add fill sprites for held/equipped spears
This commit is contained in:
Tayrtahn
2024-08-02 03:18:59 -04:00
committed by GitHub
parent 029771d672
commit ed4ae1628c
38 changed files with 217 additions and 40 deletions

View File

@@ -53,5 +53,17 @@ namespace Content.Shared.Chemistry.Components
/// </summary>
[DataField]
public int InHandsMaxFillLevels = 0;
/// <summary>
/// Optional equipped visuals to show someone is wearing a something with a filled container.
/// </summary>
[DataField]
public string? EquippedFillBaseName = null;
/// <summary>
/// A separate max fill levels for equipped items (to reduce number of sprites needed)
/// </summary>
[DataField]
public int EquippedMaxFillLevels = 0;
}
}