From a981f99b066cf6bf11990ca155c41a44777a15f6 Mon Sep 17 00:00:00 2001 From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:14:39 +0300 Subject: [PATCH] New anomaly behaviour: Invisibility (#29120) * invisible anomaly * good luck --- Resources/Locale/en-US/anomaly/anomaly.ftl | 1 + Resources/Prototypes/Anomaly/behaviours.yml | 33 +++++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/Resources/Locale/en-US/anomaly/anomaly.ftl b/Resources/Locale/en-US/anomaly/anomaly.ftl index da5882fa62..c8d099777d 100644 --- a/Resources/Locale/en-US/anomaly/anomaly.ftl +++ b/Resources/Locale/en-US/anomaly/anomaly.ftl @@ -89,6 +89,7 @@ anomaly-behavior-rapid = The frequency of the pulsation is much higher, but its anomaly-behavior-reflect = A protective coating was detected. anomaly-behavior-nonsensivity = A weak reaction to particles was detected. anomaly-behavior-sensivity = Amplified reaction to particles was detected. +anomaly-behavior-invisibility = Light wave distortion has been detected. anomaly-behavior-secret = Interference detected. Some data cannot be read anomaly-behavior-inconstancy = [color=crimson]Impermanence has been detected. Particle types can change over time.[/color] anomaly-behavior-fast = [color=crimson]The pulsation frequency is strongly increased.[/color] diff --git a/Resources/Prototypes/Anomaly/behaviours.yml b/Resources/Prototypes/Anomaly/behaviours.yml index dea1ddb69c..924a4a7500 100644 --- a/Resources/Prototypes/Anomaly/behaviours.yml +++ b/Resources/Prototypes/Anomaly/behaviours.yml @@ -20,10 +20,12 @@ InconstancyParticle: 0.5 FullUnknown: 0.5 Jumping: 0.3 + Invisibility: 0.5 #Complex FastUnknown: 0.2 JumpingUnknown: 0.1 InconstancyParticleUnknown: 0.1 + InvisibilityJumping: 0.1 # Easy x0.5 point production @@ -153,6 +155,17 @@ randomStartSecretMin: 4 randomStartSecretMax: 6 +- type: anomalyBehavior + id: Invisibility + earnPointModifier: 1.6 + description: anomaly-behavior-invisibility + components: + - type: Stealth + maxVisibility: 1.2 + - type: StealthOnMove + passiveVisibilityRate: -0.37 + movementVisibilityRate: 0.20 + # Complex Effects - type: anomalyBehavior @@ -170,7 +183,6 @@ randomStartSecretMin: 3 randomStartSecretMax: 5 - - type: anomalyBehavior id: FastUnknown earnPointModifier: 1.9 @@ -191,4 +203,21 @@ prob: 0.5 - type: SecretDataAnomaly randomStartSecretMin: 3 - randomStartSecretMax: 5 \ No newline at end of file + randomStartSecretMax: 5 + +- type: anomalyBehavior + id: InvisibilityJumping + earnPointModifier: 1.95 + description: anomaly-behavior-invisibility + components: + - type: ChaoticJump + jumpMinInterval: 15 + jumpMaxInterval: 25 + rangeMin: 1 + rangeMax: 1 + effect: PuddleSparkle + - type: Stealth + maxVisibility: 1.2 + - type: StealthOnMove + passiveVisibilityRate: -0.37 + movementVisibilityRate: 0.20 \ No newline at end of file -- 2.51.2