Merge pull request #231 from frosty-dev/upstream-core

Upstream core
This commit is contained in:
BIGZi0348
2024-12-28 23:14:34 +03:00
committed by GitHub
8 changed files with 372574 additions and 18 deletions

View File

@@ -7,6 +7,7 @@ using Content.Server._White.GhostRecruitment;
using Content.Server.GameTicking.Components;
using Content.Shared.Administration.Logs;
using Content.Shared.Database;
using Content.Shared._White;
using Content.Shared._White.GhostRecruitment;
using JetBrains.Annotations;
using Robust.Server.GameObjects;
@@ -147,8 +148,9 @@ public sealed class ERTRecruitmentRule : StationEventSystem<ERTRecruitmentRuleCo
private void OnRoundStart(RoundStartingEvent ev)
{
//if (_cfgManager.GetCVar(WhiteCVars.LoadErtMap))
SpawnMap();
// Disabled in dev - Resources/ConfigPresets/Build/development.toml
if (_cfgManager.GetCVar(WhiteCVars.LoadErtMap))
SpawnMap();
}
public void AcceptERT(EntityUid targetStation)

View File

@@ -23,8 +23,8 @@ public sealed class WhiteCVars
* Bullet trails
*/
public static readonly CVarDef<bool> EnableLightsGlowing =
CVarDef.Create("white.enable_lights_glowing", true, CVar.CLIENTONLY | CVar.ARCHIVE);
public static readonly CVarDef<bool> EnableLightsGlowing =
CVarDef.Create("white.enable_lights_glowing", true, CVar.CLIENTONLY | CVar.ARCHIVE);
/*
* Offer Indicator
@@ -207,9 +207,9 @@ public sealed class WhiteCVars
public static readonly CVarDef<float> JukeboxVolume =
CVarDef.Create("white.jukebox_volume", 0f, CVar.CLIENTONLY | CVar.ARCHIVE);
/*
* Chat
*/
/*
* Chat
*/
public static readonly CVarDef<string> SeparatedChatSize =
CVarDef.Create("white.chat_size_separated", "0.6;0", CVar.CLIENTONLY | CVar.ARCHIVE);
@@ -231,9 +231,9 @@ public sealed class WhiteCVars
CVarDef.Create("white.admin.deadChatAdmin", false, CVar.CLIENT | CVar.REPLICATED | CVar.ARCHIVE);
/*
* End of round stats
*/
/*
* End of round stats
*/
/// <summary>
/// The amount of blood lost required to trigger the BloodLost end of round stat.
@@ -313,7 +313,7 @@ public sealed class WhiteCVars
/// <summary>
/// Should load a ERT map?
/// </summary>
public static readonly CVarDef<bool> LoadErtMap = CVarDef.Create("white.ert_load", false, CVar.SERVERONLY);
public static readonly CVarDef<bool> LoadErtMap = CVarDef.Create("white.ert_load", true, CVar.SERVERONLY);
public static readonly CVarDef<bool> LogChatActions =
CVarDef.Create("white.log_to_chat", true, CVar.CLIENT | CVar.ARCHIVE | CVar.REPLICATED);
@@ -345,11 +345,11 @@ public sealed class WhiteCVars
*/
// Applies Projectile and Melee damage.
public static readonly CVarDef<float> DamageModifier =
public static readonly CVarDef<float> DamageModifier =
CVarDef.Create("damage.modifier", 1.0f, CVar.REPLICATED);
// Applies ALL damage, EVEN walls and etc.
public static readonly CVarDef<float> DamageGetModifier =
public static readonly CVarDef<float> DamageGetModifier =
CVarDef.Create("damage.get_modifier", 1.0f, CVar.REPLICATED);
public static readonly CVarDef<bool> AutoKickVpnUsers =

View File

@@ -42,8 +42,8 @@ ent-BalloonAgent = агент-воздушный шар
.desc = При ближайшем рассмотрении этот агент Синдиката оказывается воздушным шаром.
ent-BalloonElite = элитный оперативный воздушный шар
.desc = При ближайшем рассмотрении этот элитный оперативник Синдиката оказывается воздушным шаром.
ent-BalloonJuggernaut = воздушный шар-джуггернаут
.desc = При ближайшем рассмотрении этот джуггернаут Синдиката оказывается воздушным шаром.
ent-BalloonJuggernaut = воздушный шар-джаггернаут
.desc = При ближайшем рассмотрении этот джаггернаут Синдиката оказывается воздушным шаром.
ent-BalloonCommander = командир-воздушный шар
.desc = При ближайшем рассмотрении этот командир Синдиката оказывается воздушным шаром.
ent-EnergyDomeGeneratorPersonalSyndie = персональный генератор щита кроваво-красного цвета

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -214,6 +214,8 @@
- MagazineShotgun
- MagazineShotgunSlug
- MagazineLightRifleBox
- MagazinePistolCaselessRifle
- MagazinePistolHighCapacity
- CartridgePistol
- CartridgeMagnum
- ShellShotgun

View File

@@ -1,8 +1,8 @@
- type: gameMap
id: WhiteBox
mapName: 'Box Station'
mapPath: /Maps/_Honk/Stations/WhiteBox.yml
minPlayers: 0 # Amour
mapPath: /Maps/White/WhiteboxNY.yml
minPlayers: 0
stations:
Boxstation:
stationProto: StandardNanotrasenStation

View File

@@ -1,7 +1,7 @@
- type: gameMap
id: WonderBox
mapName: 'WonderBox Station'
mapPath: /Maps/_Honk/Stations/WonderBox.yml
mapPath: /Maps/White/WonderBoxNY.yml
minPlayers: 0
stations:
WonderBoxStation: