]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Buff parrot learn rates and radio chatter (#38984)
authorCrude Oil <124208219+CroilBird@users.noreply.github.com>
Mon, 14 Jul 2025 16:55:27 +0000 (18:55 +0200)
committerGitHub <noreply@github.com>
Mon, 14 Jul 2025 16:55:27 +0000 (09:55 -0700)
* buff parrots

* ok but not that smart

* oop

Content.Server/Animals/Components/ParrotMemoryComponent.cs
Content.Server/Vocalization/Components/RadioVocalizerComponent.cs
Resources/Prototypes/Entities/Mobs/NPCs/pets.yml

index 2c3771cfacc1def59547430c87ec5ec92921e950..69908a0a9ecd7e6626d970bb97be2055622aab46 100644 (file)
@@ -20,7 +20,7 @@ public sealed partial class ParrotMemoryComponent : Component
     /// The % chance an entity with this component learns a phrase when learning is off cooldown
     /// </summary>
     [DataField]
-    public float LearnChance = 0.4f;
+    public float LearnChance = 0.6f;
 
     /// <summary>
     /// Time after which another attempt can be made at learning a phrase
index b2414f3796abd9bf87a254b8b8e2038c969353fc..1344beaa73750e911358b58c3ef618708fc8ccdc 100644 (file)
@@ -10,5 +10,5 @@ public sealed partial class RadioVocalizerComponent : Component
     /// chance the vocalizing entity speaks on the radio.
     /// </summary>
     [DataField]
-    public float RadioAttemptChance = 0.3f;
+    public float RadioAttemptChance = 0.6f;
 }
index 12a15bf8b526dc93d4b91f985d7076e2129c91ba..be0ed00172fddc3b2359bbd3affc42c11bae4592 100644 (file)
   id: MobPollyParrot
   description: An expert in quantum cracker theory
   components:
-  - type: ParrotMemory
-    learnChance: 0.5 # polly is smarter
   - type: Vocalizer
     maxVocalizeInterval: 240 # polly is chattier
+  - type: RadioVocalizer
+    radioAttemptChance: 0.8 # polly wants to share with the world
   - type: Grammar
     attributes:
       proper: true