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 Debug
parent 698b2a9749
commit 5aaefe7ad4
6 changed files with 55 additions and 0 deletions

View 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

View File

@ -149,6 +149,19 @@
- 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
@ -180,6 +193,7 @@
- MobCat
- MobCatCalico
- MobCatCaracal
- MobCatKitten
rarePrototypes:
- MobCatSpace
rareChance: 0.05

View File

@ -2133,6 +2133,10 @@
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/cat_meow.ogg
- type: MeleeWeapon
damage:
types:
Piercing: 5
- type: Grammar
attributes:
gender: epicene
@ -2207,6 +2211,39 @@
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
@ -2526,3 +2563,4 @@
- type: NpcFactionMember
factions:
- 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