]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Space Bear Round 3 (#14685)
authorAlekshhh <44923899+Alekshhh@users.noreply.github.com>
Sun, 26 Mar 2023 17:50:17 +0000 (20:50 +0300)
committerGitHub <noreply@github.com>
Sun, 26 Mar 2023 17:50:17 +0000 (13:50 -0400)
Resources/Locale/en-US/interaction/interaction-popup-component.ftl
Resources/Prototypes/Entities/Mobs/NPCs/bear.yml

index 27adc359e8e2e45a9ea8246463c3769aff8f7943..759717ac4045259c45e4da15caa9d8bb16fb9358 100644 (file)
@@ -22,6 +22,7 @@ petting-success-tarantula = You pet {THE($target)} on {POSS-ADJ($target)} hairy
 petting-success-holo = You pet {THE($target)} on {POSS-ADJ($target)} metallic spiky head.
 petting-success-dragon = Dodging teeth, claws, and flames, you pet {THE($target)} on {POSS-ADJ($target)} massive scaled head.
 petting-success-hamster = You pet {THE($target)} on {POSS-ADJ($target)} fluffy little head.
+petting-success-bear = You reluctantly pet {THE($target)} on {POSS-ADJ($target)} mystical head.
 
 petting-failure-generic = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BE($target)} aloof towards you.
 
@@ -35,6 +36,7 @@ petting-failure-sloth = You reach out to pet {THE($target)}, but {SUBJECT($targe
 petting-failure-holo = You reach out to pet {THE($target)}, but {POSS-ADJ($target)} spikes almost impale your hand!
 petting-failure-dragon = You raise your hand, but as {THE($target)} roars, you decide you'd rather not be toasty carp food.
 petting-failure-hamster = You reach out to pet {THE($target)}, but {SUBJECT($target)} attempts to bite your finger and only your quick reflexes save you from an almost fatal injury.
+petting-failure-bear = You reach out to pet {THE($target)}, but {SUBJECT($target)} growls, making you think twice.
 
 ## Petting silicons
 
index 8b125fbd6ccd748b39f2da3f52b7c0318646325a..25bae1d497fece65e8859462fac0deaf08c66cfd 100644 (file)
@@ -4,8 +4,6 @@
   parent: SimpleSpaceMobBase
   description: It looks friendly. Why don't you give it a hug?
   components:
-  - type: InputMover
-  - type: MobMover
   - type: HTN
     rootTask: SimpleHostileCompound
   - type: Faction
       - MobMask
       layer:
       - MobLayer
-  - type: PointLight
-    radius: 1.2
-    energy: 2
-    color: "#4faffb"
-  - type: MovementAlwaysTouching
-  - type: MobState
-    allowedStates:
-      - Alive
-      - Dead
   - type: MobThresholds
     thresholds:
       0: Alive
+      100: Critical
       150: Dead
   - type: Stamina
     excess: 150
-  - type: Appearance
   - type: DamageStateVisuals
     states:
       Alive:
       amount: 1
       prob: 0.3
   - type: Bloodstream
-    bloodMaxVolume: 500
+    bloodMaxVolume: 300
     bloodReagent: Cryoxadone
-  - type: Vocal
-    sounds:
-      Male: Bear
-      Female: Bear
-      Unsexed: Bear
   - type: CombatMode
     disarmAction:
       enabled: false
     angle: 0
     animation: WeaponArcClaw
     damage:
-      groups:
-        Brute: 15
+      types:
+        Brute: 5
+        Slash: 10
+  - type: Tag
+    tags:
+    - DoorBumpOpener
+    - FootstepSound
+  - type: Puller
+    needsHands: false
   - type: ReplacementAccent
     accent: genericAggressive
+  - type: Vocal
+    sounds:
+      Unsexed: Bear
+  - type: InteractionPopup
+    successChance: 0.25
+    interactSuccessString: petting-success-bear
+    interactFailureString: petting-failure-bear
+    interactSuccessSound:
+      path: /Audio/Animals/sloth_squeak.ogg
+  - type: PointLight
+    radius: 1.2
+    energy: 2
+    color: "#4faffb"
   - type: GhostTakeoverAvailable
-    prob: 0.05
+    prob: 0.25
     name: space bear
     description: |
       You're a bear! Do bear things.
   suffix: "Salvage Ruleset"
   components:
   - type: GhostTakeoverAvailable
-    prob: 0.05
+    prob: 0.25
     name: space bear on salvage wreck
     description: |
       Defend the loot inside the salvage wreck!