24 lines
686 B
C#
24 lines
686 B
C#
using System.Collections.Generic;
|
|
using Content.Server.Sandbox;
|
|
using Robust.Server.Interfaces.Player;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Content.Server.GameTicking.GamePresets
|
|
{
|
|
public sealed class PresetSandbox : GamePreset
|
|
{
|
|
#pragma warning disable 649
|
|
[Dependency] private readonly ISandboxManager _sandboxManager;
|
|
#pragma warning restore 649
|
|
|
|
public override bool Start(IReadOnlyList<IPlayerSession> readyPlayers)
|
|
{
|
|
_sandboxManager.IsSandboxEnabled = true;
|
|
return true;
|
|
}
|
|
|
|
public override string ModeTitle => "Sandbox";
|
|
public override string Description => "No stress, build something!";
|
|
}
|
|
}
|