fix ion storm code readability (#35337)

fix ion storm readability
This commit is contained in:
lzk
2025-02-24 22:36:56 +01:00
committed by GitHub
parent 02f5015830
commit 237df1c9a1
3 changed files with 14 additions and 14 deletions

View 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
{

View 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}

View File

@@ -418,7 +418,7 @@
- CRAVE
- DESIRE
- FEAR
- HAS
- HAVE
- HUNGER FOR
- ARE AFRAID OF
- ARE BUILT FOR