* Added candy bucket and component to update appearance of held containers akin to it * cleanup newline * newline was load-bearing * moved component to Shared, cleanup * newline is spooky * You build and run without errors, stop pretending otherwise * Updated for new storage system in master branch
15 lines
469 B
C#
15 lines
469 B
C#
namespace Content.Shared.ContainerHeld;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class ContainerHeldComponent: Component
|
|
{
|
|
/// <summary>
|
|
/// The amount of weight needed to be in the container
|
|
/// in order for it to toggle it's appearance
|
|
/// to ToggleVisuals.Toggled = true, and
|
|
/// SetHeldPrefix() to "full" instead of "empty".
|
|
/// </summary>
|
|
[DataField("threshold")]
|
|
public int Threshold { get; private set; } = 1;
|
|
}
|