diff --git a/Content.Shared/Localizations/ContentLocalizationManager.cs b/Content.Shared/Localizations/ContentLocalizationManager.cs index 0d2bd8adae..3170a016eb 100644 --- a/Content.Shared/Localizations/ContentLocalizationManager.cs +++ b/Content.Shared/Localizations/ContentLocalizationManager.cs @@ -10,8 +10,8 @@ namespace Content.Shared.Localizations [Dependency] private readonly ILocalizationManager _loc = default!; // If you want to change your codebase's language, do it here. - public const string Culture = "en-US"; - //public const string Culture = "ru-RU"; + //public const string Culture = "en-US"; + public const string Culture = "ru-RU"; /// /// Custom format strings used for parsing and displaying minutes:seconds timespans. @@ -29,9 +29,9 @@ namespace Content.Shared.Localizations var culture = new CultureInfo(Culture); _loc.LoadCulture(culture); // Uncomment for Ru localization - //var fallbackCulture = new CultureInfo("en-US"); - //_loc.LoadCulture(fallbackCulture); - //_loc.SetFallbackCluture(fallbackCulture); + var fallbackCulture = new CultureInfo("en-US"); + _loc.LoadCulture(fallbackCulture); + _loc.SetFallbackCluture(fallbackCulture); // _loc.AddFunction(culture, "PRESSURE", FormatPressure); diff --git a/Resources/ConfigPresets/_CP14/Dev.toml b/Resources/ConfigPresets/_CP14/Dev.toml index 494c1bb8ad..2cb6ef0817 100644 --- a/Resources/ConfigPresets/_CP14/Dev.toml +++ b/Resources/ConfigPresets/_CP14/Dev.toml @@ -1,5 +1,5 @@ [whitelist] -enabled = false +enabled = true [log] path = "logs" @@ -14,7 +14,7 @@ bindto = "::,0.0.0.0" max_connections = 100 [game] -hostname = "⚔️ CrystallEdge Alpha [ENG] ⚔️ " +hostname = "⚔️ CrystallEdge Alpha [RU] ⚔️ " desc = "History of the City of Sword and Magic. A social economic sandbox reinventing the Space Station 14 concept in fantasy style" lobbyenabled = true soft_max_players = 40 diff --git a/Resources/Prototypes/_CP14/GameRules/events.yml b/Resources/Prototypes/_CP14/GameRules/events.yml index 817ee556b0..6113f5718d 100644 --- a/Resources/Prototypes/_CP14/GameRules/events.yml +++ b/Resources/Prototypes/_CP14/GameRules/events.yml @@ -27,8 +27,8 @@ - id: CP14MosquitoSpawn - id: CP14RabbitsSpawn - id: CP14FrogsSpawn - - id: CP14UnstableDemiplaneT1 - - id: CP14UnstableDemiplaneT2 + #- id: CP14UnstableDemiplaneT1 + #- id: CP14UnstableDemiplaneT2 - type: entity parent: CP14BaseStationEventShortDelay @@ -115,36 +115,36 @@ - id: CP14MobGroupSpawnerFrogs prob: 0.08 -- type: entity - parent: CP14BaseStationEventShortDelay - id: CP14UnstableDemiplaneT1 - components: - - type: StationEvent - startAnnouncement: cp14-event-announcement-unstable-demiplane - startAudio: - path: /Audio/_CP14/Ambience/event_boom.ogg - earliestStart: 20 - minimumPlayers: 15 - weight: 5 - duration: 60 - - type: VentCrittersRule - specialEntries: - - id: CP14AutoDemiplaneKeyT1 - prob: 0.001 - -- type: entity - parent: CP14BaseStationEventShortDelay - id: CP14UnstableDemiplaneT2 - components: - - type: StationEvent - startAnnouncement: cp14-event-announcement-unstable-demiplane - startAudio: - path: /Audio/_CP14/Ambience/event_boom.ogg - earliestStart: 20 - minimumPlayers: 30 - weight: 5 - duration: 60 - - type: VentCrittersRule - specialEntries: - - id: CP14AutoDemiplaneKeyT2 - prob: 0.001 +#- type: entity +# parent: CP14BaseStationEventShortDelay +# id: CP14UnstableDemiplaneT1 +# components: +# - type: StationEvent +# startAnnouncement: cp14-event-announcement-unstable-demiplane +# startAudio: +# path: /Audio/_CP14/Ambience/event_boom.ogg +# earliestStart: 20 +# minimumPlayers: 15 +# weight: 5 +# duration: 60 +# - type: VentCrittersRule +# specialEntries: +# - id: CP14AutoDemiplaneKeyT1 +# prob: 0.001 +# +#- type: entity +# parent: CP14BaseStationEventShortDelay +# id: CP14UnstableDemiplaneT2 +# components: +# - type: StationEvent +# startAnnouncement: cp14-event-announcement-unstable-demiplane +# startAudio: +# path: /Audio/_CP14/Ambience/event_boom.ogg +# earliestStart: 20 +# minimumPlayers: 30 +# weight: 5 +# duration: 60 +# - type: VentCrittersRule +# specialEntries: +# - id: CP14AutoDemiplaneKeyT2 +# prob: 0.001