Files
tbd-station-14/Content.Shared/ContainerHeld/ContainerHeldComponent.cs
Bixkitts 74f1098008 Candy Bucket for Halloween (#21257)
* 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
2023-10-31 11:54:41 -04:00

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;
}