ConGroups are gone. Long live admin flags in content.

This commit is contained in:
Pieter-Jan Briers
2020-10-30 16:06:48 +01:00
parent f04818437d
commit ad58a056d7
62 changed files with 2673 additions and 289 deletions

View File

@@ -1,7 +1,9 @@
using System.Text;
using Content.Server.Administration;
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.Mobs.Roles;
using Content.Server.Players;
using Content.Shared.Administration;
using Content.Shared.Roles;
using Robust.Server.Interfaces.Console;
using Robust.Server.Interfaces.Player;
@@ -12,6 +14,7 @@ using Robust.Shared.Prototypes;
namespace Content.Server.Mobs
{
[AdminCommand(AdminFlags.Admin)]
public class MindInfoCommand : IClientCommand
{
public string Command => "mindinfo";
@@ -49,6 +52,7 @@ namespace Content.Server.Mobs
}
}
[AdminCommand(AdminFlags.Fun)]
public class AddRoleCommand : IClientCommand
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
@@ -81,6 +85,7 @@ namespace Content.Server.Mobs
}
}
[AdminCommand(AdminFlags.Fun)]
public class RemoveRoleCommand : IClientCommand
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
@@ -113,6 +118,7 @@ namespace Content.Server.Mobs
}
}
[AdminCommand(AdminFlags.Debug)]
public class AddOverlayCommand : IClientCommand
{
public string Command => "addoverlay";
@@ -137,6 +143,7 @@ namespace Content.Server.Mobs
}
}
[AdminCommand(AdminFlags.Debug)]
public class RemoveOverlayCommand : IClientCommand
{
public string Command => "rmoverlay";