Add CVar for random grid offset, disable it by default.

This commit is contained in:
Vera Aguilera Puerto
2021-08-04 09:25:30 +02:00
parent 28a7d5041a
commit b7d049a52c
5 changed files with 28 additions and 12 deletions

View File

@@ -55,6 +55,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<string>
GameMap = CVarDef.Create("game.map", "Maps/saltern.yml", CVar.SERVERONLY);
/// <summary>
/// Whether a random position offset will be applied to the station on roundstart.
/// </summary>
public static readonly CVarDef<bool> StationOffset =
CVarDef.Create<bool>("game.station_offset", false);
/// <summary>
/// When the default blueprint is loaded what is the maximum amount it can be offset from 0,0.
/// </summary>