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
prob: 0.5
orGroup: MobCat
- id: MobCatKitten
prob: 0.25
orGroup: MobCat
- id: MobBingus
prob: 0.005
orGroup: MobCat

View File

@@ -164,6 +164,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
@@ -195,6 +208,7 @@
- MobCat
- MobCatCalico
- MobCatCaracal
- MobCatKitten
rarePrototypes:
- MobCatSpace
rareChance: 0.05

View File

@@ -2318,6 +2318,10 @@
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/cat_meow.ogg
- type: MeleeWeapon
damage:
types:
Piercing: 5
- type: Grammar
attributes:
gender: epicene
@@ -2392,6 +2396,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
@@ -2711,3 +2748,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