Stupidly shoddy combat mode system.

Doesn't even work for guns, oh well.
This commit is contained in:
Pieter-Jan Briers
2019-06-30 00:01:41 +02:00
parent 338f456c50
commit c4523a956d
9 changed files with 126 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
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; }
}
}