Added a component to eat bodies for health #8922 (#16345)

This commit is contained in:
PilgrimViis
2023-05-16 00:44:35 +02:00
committed by GitHub
parent 4d66f817b8
commit 832ba7b6f3
8 changed files with 248 additions and 161 deletions

View File

@@ -97,22 +97,25 @@
types:
Piercing: 15
Slash: 15
- type: Dragon
spawnsLeft: 2
spawnsProto: MobCarpDragon
- type: Devourer
foodPreference: Humanoid
shouldStoreDevoured: true
chemical: Ichor
healRate: 15.0
whitelist:
components:
- MobState
- Door
tags:
- Wall
devourAction:
event: !type:DragonDevourActionEvent
event: !type:DevourActionEvent
icon: Interface/Actions/devour.png
name: action-name-devour
description: action-description-devour
devourChemical: Ichor
devourHealRate: 15.0
whitelist:
components:
- MobState
- Door
tags:
- Wall
- type: Dragon
spawnsLeft: 2
spawnsProto: MobCarpDragon
spawnRiftAction:
event: !type:DragonSpawnRiftActionEvent
icon: