]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Rename "Server Info" to ServerInfo (#15436)
authorLeon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Sun, 16 Apr 2023 00:55:59 +0000 (12:55 +1200)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2023 00:55:59 +0000 (10:55 +1000)
39 files changed:
Content.Client/Info/RulesAndInfoWindow.cs
Content.Server/Info/InfoSystem.cs
Resources/Prototypes/Guidebook/botany.yml
Resources/Prototypes/Guidebook/engineering.yml
Resources/Prototypes/Guidebook/meta.yml
Resources/Prototypes/Guidebook/radio.yml
Resources/Prototypes/Guidebook/science.yml
Resources/Prototypes/Guidebook/security.yml
Resources/Prototypes/Guidebook/shiftandcrew.yml
Resources/Prototypes/Guidebook/ss14.yml
Resources/ServerInfo/Gameplay.txt [moved from Resources/Server Info/Gameplay.txt with 100% similarity]
Resources/ServerInfo/Guidebook/AME.xml [moved from Resources/Server Info/Guidebook/AME.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Atmospherics.xml [moved from Resources/Server Info/Guidebook/Atmospherics.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Botany.xml [moved from Resources/Server Info/Guidebook/Botany.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Construction.xml [moved from Resources/Server Info/Guidebook/Construction.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Controls/Controls.xml [moved from Resources/Server Info/Guidebook/Controls/Controls.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Controls/Radio.xml [moved from Resources/Server Info/Guidebook/Controls/Radio.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Engineering.xml [moved from Resources/Server Info/Guidebook/Engineering.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Fires.xml [moved from Resources/Server Info/Guidebook/Fires.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Jobs.xml [moved from Resources/Server Info/Guidebook/Jobs.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Power.xml [moved from Resources/Server Info/Guidebook/Power.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/APE.xml [moved from Resources/Server Info/Guidebook/Science/APE.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/AnomalousResearch.xml [moved from Resources/Server Info/Guidebook/Science/AnomalousResearch.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/ArtifactReports.xml [moved from Resources/Server Info/Guidebook/Science/ArtifactReports.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/MachineUpgrading.xml [moved from Resources/Server Info/Guidebook/Science/MachineUpgrading.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/ScannersAndVessels.xml [moved from Resources/Server Info/Guidebook/Science/ScannersAndVessels.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/Science.xml [moved from Resources/Server Info/Guidebook/Science/Science.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/TraversalDistorter.xml [moved from Resources/Server Info/Guidebook/Science/TraversalDistorter.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Science/Xenoarchaeology.xml [moved from Resources/Server Info/Guidebook/Science/Xenoarchaeology.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Security/DNA.xml [moved from Resources/Server Info/Guidebook/Security/DNA.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Security/Security.xml [moved from Resources/Server Info/Guidebook/Security/Security.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Shuttlecraft.xml [moved from Resources/Server Info/Guidebook/Shuttlecraft.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Singularity.xml [moved from Resources/Server Info/Guidebook/Singularity.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Space Station 14.xml [moved from Resources/Server Info/Guidebook/Space Station 14.xml with 100% similarity]
Resources/ServerInfo/Guidebook/Survival.xml [moved from Resources/Server Info/Guidebook/Survival.xml with 100% similarity]
Resources/ServerInfo/Intro.txt [moved from Resources/Server Info/Intro.txt with 100% similarity]
Resources/ServerInfo/RP_Rules.txt [moved from Resources/Server Info/RP_Rules.txt with 100% similarity]
Resources/ServerInfo/Rules.txt [moved from Resources/Server Info/Rules.txt with 100% similarity]
Resources/ServerInfo/Sandbox.txt [moved from Resources/Server Info/Sandbox.txt with 100% similarity]

index d231aeceb1b922de2664ac3c4a0f50a187744b65..118a93114a399aaf070a58fd6dcc88db97f987a7 100644 (file)
@@ -61,7 +61,7 @@ namespace Content.Client.Info
 
         private static Control MakeSection(string title, string path, bool markup, IResourceManager res)
         {
-            return new InfoSection(title, res.ContentFileReadAllText($"/Server Info/{path}"), markup);
+            return new InfoSection(title, res.ContentFileReadAllText($"/ServerInfo/{path}"), markup);
         }
 
     }
index ce021fa430419737625900b01d3209f9f690be7e..8fae121bcb41a2de3dab0b715c7d230f86e2c9b3 100644 (file)
@@ -6,7 +6,7 @@ using Robust.Shared.Log;
 
 namespace Content.Server.Info;
 
-public class InfoSystem : EntitySystem
+public sealed class InfoSystem : EntitySystem
 {
     [Dependency] private readonly IResourceManager _res = default!;
     [Dependency] private readonly IConfigurationManager _cfg = default!;
@@ -24,7 +24,7 @@ public class InfoSystem : EntitySystem
         var rules = "Server could not read its rules.";
         try
         {
-            rules = _res.ContentFileReadAllText($"/Server Info/{path}");
+            rules = _res.ContentFileReadAllText($"/ServerInfo/{path}");
         }
         catch (Exception)
         {
index a8795efed0ff6ca5863f7cf6ce9d06b3060e9e4c..2f654a81dfbc6964f7f35d61c29073d6380f1e52 100644 (file)
@@ -1,4 +1,4 @@
 - type: guideEntry
   id: Botany
   name: guide-entry-botany
-  text: "/Server Info/Guidebook/Botany.xml"
+  text: "/ServerInfo/Guidebook/Botany.xml"
index 491ae0cde48ee6ff24d00ec92b7ed2fa8795311c..964dfa6809d95a4e51f51c3087b8e92e3665751e 100644 (file)
@@ -1,7 +1,7 @@
 - type: guideEntry
   id: Engineering
   name: guide-entry-engineering
-  text: "/Server Info/Guidebook/Engineering.xml"
+  text: "/ServerInfo/Guidebook/Engineering.xml"
   children:
   - Atmospherics
   - Construction
 - type: guideEntry
   id: Construction
   name: guide-entry-construction
-  text: "/Server Info/Guidebook/Construction.xml"
+  text: "/ServerInfo/Guidebook/Construction.xml"
 
 - type: guideEntry
   id: Atmospherics
   name: guide-entry-atmospherics
-  text: "/Server Info/Guidebook/Atmospherics.xml"
+  text: "/ServerInfo/Guidebook/Atmospherics.xml"
   children:
   - Fires
 
 - type: guideEntry
   id: Fires
   name: guide-entry-fires
-  text: "/Server Info/Guidebook/Fires.xml"
+  text: "/ServerInfo/Guidebook/Fires.xml"
 
 - type: guideEntry
   id: ShuttleCraft
   name: guide-entry-shuttle-craft
-  text: "/Server Info/Guidebook/Shuttlecraft.xml"
+  text: "/ServerInfo/Guidebook/Shuttlecraft.xml"
 
 - type: guideEntry
   id: Power
   name: guide-entry-power
-  text: "/Server Info/Guidebook/Power.xml"
+  text: "/ServerInfo/Guidebook/Power.xml"
   children:
   - AME
   - Singularity
@@ -41,9 +41,9 @@
 - type: guideEntry
   id: AME
   name: guide-entry-ame
-  text: "/Server Info/Guidebook/AME.xml"
+  text: "/ServerInfo/Guidebook/AME.xml"
   
 - type: guideEntry
   id: Singularity
   name: guide-entry-singularity
-  text: "/Server Info/Guidebook/Singularity.xml"
+  text: "/ServerInfo/Guidebook/Singularity.xml"
index 1eb579c6274825ee399ea857edea19701e77db8f..08349f2d0ae4f8a36e20db38b89d7c3c47deb6d8 100644 (file)
@@ -1,6 +1,6 @@
 - type: guideEntry
   id: Controls
   name: guide-entry-controls
-  text: "/Server Info/Guidebook/Controls/Controls.xml"
+  text: "/ServerInfo/Guidebook/Controls/Controls.xml"
   children:
   - Radio  
index 67d94b9784d31fcdf4b3637c458af7fafcb5759b..8ed39bf427f696f8e69d8f7f04ea0c26d7001ff1 100644 (file)
@@ -1,4 +1,4 @@
 - type: guideEntry
   id: Radio
   name: guide-entry-radio
-  text: "/Server Info/Guidebook/Controls/Radio.xml"
+  text: "/ServerInfo/Guidebook/Controls/Radio.xml"
index 506cb337ab6f545430cd118198716251288d5d65..c9ad623e9c04f88e4a1c3d18308d8988bec202fb 100644 (file)
@@ -1,7 +1,7 @@
 - type: guideEntry
   id: Science
   name: guide-entry-science
-  text: "/Server Info/Guidebook/Science/Science.xml"
+  text: "/ServerInfo/Guidebook/Science/Science.xml"
   children:
   - AnomalousResearch
   - Xenoarchaeology
@@ -10,7 +10,7 @@
 - type: guideEntry
   id: AnomalousResearch
   name: guide-entry-anomalous-research
-  text: "/Server Info/Guidebook/Science/AnomalousResearch.xml"
+  text: "/ServerInfo/Guidebook/Science/AnomalousResearch.xml"
   children:
   - APE
   - ScannersAndVessels
 - type: guideEntry
   id: ScannersAndVessels
   name: guide-entry-scanners-and-vessels
-  text: "/Server Info/Guidebook/Science/ScannersAndVessels.xml"
+  text: "/ServerInfo/Guidebook/Science/ScannersAndVessels.xml"
 
 - type: guideEntry
   id: APE
   name: guide-entry-ape
-  text: "/Server Info/Guidebook/Science/APE.xml"
+  text: "/ServerInfo/Guidebook/Science/APE.xml"
 
 - type: guideEntry
   id: Xenoarchaeology
   name: guide-entry-xenoarchaeology
-  text: "/Server Info/Guidebook/Science/Xenoarchaeology.xml"
+  text: "/ServerInfo/Guidebook/Science/Xenoarchaeology.xml"
   children:
   - ArtifactReports
   - TraversalDistorter
 - type: guideEntry
   id: ArtifactReports
   name: guide-entry-artifact-reports
-  text: "/Server Info/Guidebook/Science/ArtifactReports.xml"
+  text: "/ServerInfo/Guidebook/Science/ArtifactReports.xml"
 
 - type: guideEntry
   id: TraversalDistorter
   name: guide-entry-traversal-distorter
-  text: "/Server Info/Guidebook/Science/TraversalDistorter.xml"
+  text: "/ServerInfo/Guidebook/Science/TraversalDistorter.xml"
 
 - type: guideEntry
   id: MachineUpgrading
   name: guide-entry-machine-upgrading
-  text: "/Server Info/Guidebook/Science/MachineUpgrading.xml"
\ No newline at end of file
+  text: "/ServerInfo/Guidebook/Science/MachineUpgrading.xml"
\ No newline at end of file
index 903cf93690afb91a7f83fa7de4a48dfb0ca21231..c5e568ba8c97ce40e358c3b7c45e9d4162d25c3c 100644 (file)
@@ -1,11 +1,11 @@
 - type: guideEntry
   id: Security
   name: guide-entry-security
-  text: "/Server Info/Guidebook/Security/Security.xml"
+  text: "/ServerInfo/Guidebook/Security/Security.xml"
   children:
     - DNA
 
 - type: guideEntry
   id: DNA
   name: guide-entry-dna
-  text: "/Server Info/Guidebook/Security/DNA.xml"
+  text: "/ServerInfo/Guidebook/Security/DNA.xml"
index bfd98014ef3c3de322c15b86c3309d2980ed17cf..9922f14cb4980182b596864448c3c499135cc94b 100644 (file)
@@ -1,7 +1,7 @@
 - type: guideEntry
   id: Jobs
   name: guide-entry-jobs
-  text: "/Server Info/Guidebook/Jobs.xml"
+  text: "/ServerInfo/Guidebook/Jobs.xml"
   children:
   - Botany
   - Engineering
@@ -11,4 +11,4 @@
 - type: guideEntry
   id: Survival
   name: guide-entry-survival
-  text: "/Server Info/Guidebook/Survival.xml"
+  text: "/ServerInfo/Guidebook/Survival.xml"
index 4e7976f03c50c225af648bd20e87d003719f63c5..bb98b11fcfda36c6d42b484f0bd244b36548a8c0 100644 (file)
@@ -1,7 +1,7 @@
 - type: guideEntry
   id: SS14
   name: guide-entry-ss14
-  text: "/Server Info/Guidebook/Space Station 14.xml"
+  text: "/ServerInfo/Guidebook/Space Station 14.xml"
   children:
   - Controls
   - Jobs