Files
tbd-station-14/Content.Server/GameObjects/Components/Mobs/CombatModeComponent.cs
Pieter-Jan Briers c4523a956d Stupidly shoddy combat mode system.
Doesn't even work for guns, oh well.
2019-06-30 00:01:41 +02:00

19 lines
558 B
C#

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>
public sealed class CombatModeComponent : Component
{
public override string Name => "CombatMode";
[ViewVariables(VVAccess.ReadWrite)]
public bool IsInCombatMode { get; set; }
}
}