Adding a kitten (#20726)

* 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
This commit is contained in:
ravage
2023-11-09 15:24:00 +03:00
committed by GitHub
parent 7b06e1ef09
commit c2de7ec5b3
6 changed files with 55 additions and 0 deletions

View File

@@ -31,6 +31,9 @@
- id: MobCatCaracal - id: MobCatCaracal
prob: 0.5 prob: 0.5
orGroup: MobCat orGroup: MobCat
- id: MobCatKitten
prob: 0.25
orGroup: MobCat
- id: MobBingus - id: MobBingus
prob: 0.005 prob: 0.005
orGroup: MobCat orGroup: MobCat

View File

@@ -165,6 +165,19 @@
prototypes: prototypes:
- MobCatSpace - MobCatSpace
- type: entity
name: Kitten Spawner
id: SpawnMobCatKitten
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobCatKitten
- type: entity - type: entity
name: Cat Spawner name: Cat Spawner
id: SpawnMobCat id: SpawnMobCat
@@ -195,6 +208,7 @@
- MobCat - MobCat
- MobCatCalico - MobCatCalico
- MobCatCaracal - MobCatCaracal
- MobCatKitten
rarePrototypes: rarePrototypes:
- MobCatSpace - MobCatSpace
rareChance: 0.05 rareChance: 0.05

View File

@@ -2318,6 +2318,10 @@
interactSuccessSpawn: EffectHearts interactSuccessSpawn: EffectHearts
interactSuccessSound: interactSuccessSound:
path: /Audio/Animals/cat_meow.ogg path: /Audio/Animals/cat_meow.ogg
- type: MeleeWeapon
damage:
types:
Piercing: 5
- type: Grammar - type: Grammar
attributes: attributes:
gender: epicene gender: epicene
@@ -2392,6 +2396,39 @@
Dead: Dead:
Base: caracal_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 - type: entity
name: sloth name: sloth
parent: SimpleMobBase parent: SimpleMobBase
@@ -2711,3 +2748,4 @@
- type: NpcFactionMember - type: NpcFactionMember
factions: factions:
- Passive - Passive

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 151 B