Files
crystall-punk-14/Content.Server/GameObjects/Components/Mobs/CombatModeComponent.cs

20 lines
582 B
C#
Raw Normal View History

using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Mobs
{
/// <summary>
/// Stores whether an entity is in "combat mode"
/// This is used to differentiate between regular item interactions or
/// using *everything* as a weapon.
/// </summary>
2019-07-31 15:02:36 +02:00
[RegisterComponent]
public sealed class CombatModeComponent : Component
{
public override string Name => "CombatMode";
[ViewVariables(VVAccess.ReadWrite)]
public bool IsInCombatMode { get; set; }
}
}