22 lines
546 B
C#
22 lines
546 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Mousetrap;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class MousetrapComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
[DataField("isActive")]
|
|
public bool IsActive = false;
|
|
|
|
/// <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;
|
|
}
|