Files
tbd-station-14/Content.Server/Mousetrap/MousetrapComponent.cs
Flipp Syder a8f1ffd435 Mousetraps (#8440)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-05-25 13:16:34 -07:00

22 lines
562 B
C#

namespace Content.Server.Mousetrap;
[RegisterComponent]
public sealed class MousetrapComponent : Component
{
[ViewVariables]
public bool IsActive;
/// <summary>
/// Set this to change where the
/// inflection point in the scaling
/// equation will occur.
/// The default is 10.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("massBalance")]
public int MassBalance = 10;
[DataField("ignoreDamageIfInventorySlotsFilled")]
public List<string> IgnoreDamageIfSlotFilled = new();
}