Fix non-humanoid mobs being destroyed on devour (#38087)
* Allow non-preference living things to be added to a devourer's stomach * Fix ordering of devour logic * Minor refactor for whitelist on storage and food preference * Fix linter issue * Coerce workflow to run again; also fix bad indenting error * Code review changes
This commit is contained in:
@@ -136,8 +136,12 @@
|
||||
Piercing: 15
|
||||
Slash: 15
|
||||
- type: Devourer
|
||||
foodPreference: Humanoid
|
||||
shouldStoreDevoured: true
|
||||
foodPreferenceWhitelist:
|
||||
components:
|
||||
- HumanoidAppearance
|
||||
stomachStorageWhitelist:
|
||||
components:
|
||||
- MobState
|
||||
chemical: Ichor
|
||||
healRate: 7.5
|
||||
whitelist:
|
||||
|
||||
Reference in New Issue
Block a user