]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix non-humanoid mobs being destroyed on devour (#38087)
authorSparlight <twiksparlight@gmail.com>
Wed, 9 Jul 2025 12:43:35 +0000 (06:43 -0600)
committerGitHub <noreply@github.com>
Wed, 9 Jul 2025 12:43:35 +0000 (14:43 +0200)
commit2c3c510fe94e0648c620fd0806379a7b6a7c74cc
tree2f7ef2cdb18c24faac620a58aa54573f508b8516
parent5a46e098307b072214f804b16502851b5c666ede
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
Content.Server/Devour/DevourSystem.cs
Content.Shared/Devour/Components/DevourerComponent.cs
Content.Shared/Devour/SharedDevourSystem.cs
Resources/Prototypes/Entities/Mobs/Player/dragon.yml