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 // i dont think theres a way to do this in fluent
var (who, plural) = _robustRandom.Next(0, 5) switch var (who, plural) = _robustRandom.Next(0, 5) switch
{ {
0 => (Loc.GetString("ion-storm-you"), false), 0 => (Loc.GetString("ion-storm-you"), true),
1 => (Loc.GetString("ion-storm-the-station"), true), 1 => (Loc.GetString("ion-storm-the-station"), false),
2 => (Loc.GetString("ion-storm-the-crew"), true), 2 => (Loc.GetString("ion-storm-the-crew"), false),
3 => (Loc.GetString("ion-storm-the-job", ("job", crew2)), false), 3 => (Loc.GetString("ion-storm-the-job", ("job", crew2)), true),
_ => (area, true) // THE SINGULARITY REQUIRES THE HAPPY CLOWNS _ => (area, false) // THE SINGULARITY REQUIRES THE HAPPY CLOWNS
}; };
var jobChange = _robustRandom.Next(0, 3) switch 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 # thing is a concept or require
ion-storm-law-requires = {$who} {$plural -> ion-storm-law-requires = {$who} {$plural ->
[true] REQUIRES [true] REQUIRE
*[false] REQUIRE *[false] REQUIRES
} {$thing} } {$thing}
ion-storm-law-requires-subjects = {$who} {$plural -> ion-storm-law-requires-subjects = {$who} {$plural ->
[true] REQUIRES [true] REQUIRE
*[false] REQUIRE *[false] REQUIRES
} {$joined} {$subjects} } {$joined} {$subjects}
ion-storm-law-allergic = {$who} {$plural -> ion-storm-law-allergic = {$who} {$plural ->
[true] IS [true] ARE
*[false] ARE *[false] IS
} {$severity} ALLERGIC TO {$allergy} } {$severity} ALLERGIC TO {$allergy}
ion-storm-law-allergic-subjects = {$who} {$plural -> ion-storm-law-allergic-subjects = {$who} {$plural ->
[true] IS [true] ARE
*[false] ARE *[false] IS
} {$severity} ALLERGIC TO {$adjective} {$subjects} } {$severity} ALLERGIC TO {$adjective} {$subjects}
ion-storm-law-feeling = {$who} {$feeling} {$concept} ion-storm-law-feeling = {$who} {$feeling} {$concept}

View File

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