]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adding a kitten (#20726)
authorravage <142820619+ravage123321@users.noreply.github.com>
Thu, 9 Nov 2023 12:24:00 +0000 (15:24 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Nov 2023 12:24:00 +0000 (05:24 -0700)
* Update animals.yml

* Update

* ANOTHER UPDATE

change mobcat meleeweapon from brute to piercing, deleting extra lines

* oops

* Update npc.yml

* Update npc.yml

* Update animals.yml

Resources/Prototypes/Catalog/Fills/Crates/npc.yml
Resources/Prototypes/Entities/Markers/Spawners/mobs.yml
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Resources/Textures/Mobs/Pets/cat.rsi/kitten.png
Resources/Textures/Mobs/Pets/cat.rsi/kittencollar.png
Resources/Textures/Mobs/Pets/cat.rsi/kittentag.png

index 8dc0104bbbcaca7d52aba572b1a2d4b3a2378adb..6ff49fb8ec94acdc146df2c718936f1d4ffbf5e3 100644 (file)
@@ -31,6 +31,9 @@
       - id: MobCatCaracal
         prob: 0.5
         orGroup: MobCat
+      - id: MobCatKitten
+        prob: 0.25
+        orGroup: MobCat
       - id: MobBingus
         prob: 0.005
         orGroup: MobCat
index bf77600f5b241e02fec47ce1ec36205e9bfb6ee1..501d0f02647ff8772c198348219d07ec19b56586 100644 (file)
   - type: ConditionalSpawner
     prototypes:
       - MobCatSpace
+    
+- type: entity
+  name: Kitten Spawner
+  id: SpawnMobCatKitten
+  parent: MarkerBase
+  components:
+  - type: Sprite
+    layers:
+      - state: green
+      - state: ai
+  - type: ConditionalSpawner
+    prototypes:
+      - MobCatKitten
 
 - type: entity
   name: Cat Spawner
       - MobCat
       - MobCatCalico
       - MobCatCaracal
+      - MobCatKitten
     rarePrototypes:
       - MobCatSpace
     rareChance: 0.05
index 95657cc431a375ea8bdda3139ccbcfddfd66d0a7..57aae21347a8d2fe33bc2a11a88d60be7c83de9d 100644 (file)
     interactSuccessSpawn: EffectHearts
     interactSuccessSound:
       path: /Audio/Animals/cat_meow.ogg
+  - type: MeleeWeapon
+    damage:
+      types:
+        Piercing: 5
   - type: Grammar
     attributes:
       gender: epicene
       Dead:
         Base: caracal_dead
 
+- type: entity
+  name: kitten
+  parent: MobCat
+  id: MobCatKitten
+  description: Small and fluffy.
+  components:
+  - type: Sprite
+    layers:
+    - map: ["enum.DamageStateVisualLayers.Base"]
+      state: kitten
+  - type: DamageStateVisuals
+    states:
+      Alive:
+        Base: kitten
+      Critical:
+        Base: kitten_dead
+      Dead:
+        Base: kitten_dead
+  - type: Butcherable
+    spawned:
+    - id: FoodMeat
+      amount: 1
+  - type: MobPrice
+    price: 100
+  - type: MeleeWeapon
+    damage:
+      types:
+        Piercing: 3
+  - type: MobThresholds
+    thresholds:
+      0: Alive
+      25: Dead
+
 - type: entity
   name: sloth
   parent: SimpleMobBase
   - type: NpcFactionMember
     factions:
     - Passive
+
index fd579cb8cd117f637cdb382537352eeb0ebd1a59..62c4883e632518b0ad998aef0c060165fc0cfa2c 100644 (file)
Binary files a/Resources/Textures/Mobs/Pets/cat.rsi/kitten.png and b/Resources/Textures/Mobs/Pets/cat.rsi/kitten.png differ
index 079698ec85ddbfb8a1ca49524b43380d458b04f0..09bf4c2526a47bcdcb03d29a14d0b97215fe5a9f 100644 (file)
Binary files a/Resources/Textures/Mobs/Pets/cat.rsi/kittencollar.png and b/Resources/Textures/Mobs/Pets/cat.rsi/kittencollar.png differ
index 6f3bf14f5cd1a2e6c73dccbee8ca06edb1e9fff0..b37123fb0061c562619df323fba20b3f0c97ee8f 100644 (file)
Binary files a/Resources/Textures/Mobs/Pets/cat.rsi/kittentag.png and b/Resources/Textures/Mobs/Pets/cat.rsi/kittentag.png differ