Adds extended gamemode preset

This commit is contained in:
Vera Aguilera Puerto
2021-02-12 03:02:20 +01:00
parent d001d0b1e8
commit eaad5cb16d
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System.Collections.Generic;
using Robust.Server.Player;
namespace Content.Server.GameTicking.GamePresets
{
public class PresetExtended : GamePreset
{
public override string Description => "No antagonists, have fun!";
public override string ModeTitle => "Extended";
public override bool Start(IReadOnlyList<IPlayerSession> readyPlayers, bool force = false)
{
// We do nothing. This is extended after all...
return true;
}
}
}

View File

@@ -487,6 +487,7 @@ namespace Content.Server.GameTicking
"traitor" => typeof(PresetTraitor),
"traitordm" => typeof(PresetTraitorDeathMatch),
"traitordeathmatch" => typeof(PresetTraitorDeathMatch),
"extended" => typeof(PresetExtended),
_ => default
};