Show other speso colours, add larger denominations (Frontier#1496) (#37030)

This commit is contained in:
Whatstone
2025-04-29 17:44:47 -04:00
committed by GitHub
parent 87d097bb5d
commit afc55d6573
16 changed files with 236 additions and 44 deletions

View File

@@ -0,0 +1,19 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Stacks;
/// <summary>
/// Denotes an item as having thresholded stack visuals.
/// StackComponent.LayerFunction should be set to Threshold to use this in practice.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class StackLayerThresholdComponent : Component
{
/// <summary>
/// A list of thresholds to check against the number of things in the stack.
/// Each exceeded threshold will cause the next layer to be displayed.
/// Should be sorted in ascending order.
/// </summary>
[DataField(required: true)]
public List<int> Thresholds = new();
}