MousetrapComponent.cs 546 B

123456789101112131415161718192021
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Mousetrap;
  3. [RegisterComponent, NetworkedComponent]
  4. public sealed partial class MousetrapComponent : Component
  5. {
  6. [ViewVariables]
  7. [DataField("isActive")]
  8. public bool IsActive = false;
  9. /// <summary>
  10. /// Set this to change where the
  11. /// inflection point in the scaling
  12. /// equation will occur.
  13. /// The default is 10.
  14. /// </summary>
  15. [ViewVariables(VVAccess.ReadWrite)]
  16. [DataField("massBalance")]
  17. public int MassBalance = 10;
  18. }