]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix ion storm code readability (#35337)
authorlzk <124214523+lzk228@users.noreply.github.com>
Mon, 24 Feb 2025 21:36:56 +0000 (22:36 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 21:36:56 +0000 (08:36 +1100)
fix ion storm readability

Content.Server/Silicons/Laws/IonStormSystem.cs
Resources/Locale/en-US/station-events/events/ion-storm.ftl
Resources/Prototypes/Datasets/ion_storm.yml

index 6017a36fc013315d497224a5016b80ee7fc2f028..c47d7e99ea775c05b52e3269d255aa7acbcd1cb6 100644 (file)
@@ -200,11 +200,11 @@ public sealed class IonStormSystem : EntitySystem
         // i dont think theres a way to do this in fluent
         var (who, plural) = _robustRandom.Next(0, 5) switch
         {
-            0 => (Loc.GetString("ion-storm-you"), false),
-            1 => (Loc.GetString("ion-storm-the-station"), true),
-            2 => (Loc.GetString("ion-storm-the-crew"), true),
-            3 => (Loc.GetString("ion-storm-the-job", ("job", crew2)), false),
-            _ => (area, true) // THE SINGULARITY REQUIRES THE HAPPY CLOWNS
+            0 => (Loc.GetString("ion-storm-you"), true),
+            1 => (Loc.GetString("ion-storm-the-station"), false),
+            2 => (Loc.GetString("ion-storm-the-crew"), false),
+            3 => (Loc.GetString("ion-storm-the-job", ("job", crew2)), true),
+            _ => (area, false) // THE SINGULARITY REQUIRES THE HAPPY CLOWNS
         };
         var jobChange = _robustRandom.Next(0, 3) switch
         {
index 02be271cdf2f1ee8b1862466887f04ab0b96fe98..600dc52999215207c740d53db3451c2ef70ef06f 100644 (file)
@@ -33,21 +33,21 @@ ion-storm-law-not-having-harmful = NOT HAVING {$adjective} {$thing} IS HARMFUL T
 
 # thing is a concept or require
 ion-storm-law-requires = {$who} {$plural ->
-    [true] REQUIRES
-    *[false] REQUIRE
+    [true] REQUIRE
+    *[false] REQUIRES
 } {$thing}
 ion-storm-law-requires-subjects = {$who} {$plural ->
-    [true] REQUIRES
-    *[false] REQUIRE
+    [true] REQUIRE
+    *[false] REQUIRES
 } {$joined} {$subjects}
 
 ion-storm-law-allergic = {$who} {$plural ->
-    [true] IS
-    *[false] ARE
+    [true] ARE
+    *[false] IS
 } {$severity} ALLERGIC TO {$allergy}
 ion-storm-law-allergic-subjects = {$who} {$plural ->
-    [true] IS
-    *[false] ARE
+    [true] ARE
+    *[false] IS
 } {$severity} ALLERGIC TO {$adjective} {$subjects}
 
 ion-storm-law-feeling = {$who} {$feeling} {$concept}
index 0733e9abe54af759627671d58772106f0091188c..2ce897d601d56850bb1ca3340ad4c192f4fe448d 100644 (file)
   - CRAVE
   - DESIRE
   - FEAR
-  - HAS
+  - HAVE
   - HUNGER FOR
   - ARE AFRAID OF
   - ARE BUILT FOR