- fix: your devstvennost
* - fix: AntiTroopYablyaSystem * - add: command for penis * - fix: Я вам починил ширинку, не благодарите
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
using Content.Server.Chemistry.Containers.EntitySystems;
|
||||
using Content.Server.Administration;
|
||||
using Content.Server.Chemistry.Containers.EntitySystems;
|
||||
using Content.Shared._Amour.Hole;
|
||||
using Content.Shared.Administration;
|
||||
using Robust.Server.Containers;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Timing;
|
||||
using Robust.Shared.Toolshed;
|
||||
using Robust.Shared.Toolshed.TypeParsers;
|
||||
|
||||
namespace Content.Server._Amour.Hole;
|
||||
|
||||
@@ -29,3 +34,16 @@ public sealed partial class HoleSystem : SharedHoleSystem
|
||||
UpdateSolution(frameTime);
|
||||
}
|
||||
}
|
||||
|
||||
[ToolshedCommand, AdminCommand(AdminFlags.Fun)]
|
||||
internal sealed class AddHoleCommand : ToolshedCommand
|
||||
{
|
||||
[CommandImplementation]
|
||||
public void AddHole(
|
||||
[CommandInvocationContext] IInvocationContext ctx,
|
||||
[PipedArgument] EntityUid target,
|
||||
[CommandArgument] Prototype<EntityPrototype> prototype)
|
||||
{
|
||||
GetSys<HoleSystem>().AddHole(target,prototype.Value.ID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user