mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-21 06:25:59 +00:00
* Fix Flypeople food consumption (#71432) ## About The Pull Request This PR fixes #70716 by having flypeople ingest vomited reagents into their stomach instead of directly modifying nutrition. To accomplish this, flypeople no longer vomit their entire stomach contents every life tick, which also fixes them vomiting immediately on spawn. Instead they vomit only after taking bites of food. Since flypeople aren't currently metabolizing food the same way as other species there's a huge discrepancy in nutrition gained from food. For example, a human gets 37 nutrition from a slice of pizza and 270 nutrition from a whole margherita pizza, but a flyperson only gets 10 and 70 respectively, meaning they'd need to eat 4 entire margherita pizzas and slurp up the vomit to go from total starvation to being satiated again. With this change flypeople get ~190 nutrition from a whole margherita pizza. ## Why It's Good For The Game Makes it easier for flypeople to stay satiated without having to consume mass amounts of food. Also makes it easier and more predictable to deal with flyperson interactions with other reagents getting in their stomach - for example, currently taking a happy pill causes flypeople to vomit due to the sugar. ## Changelog 🆑 fix: Flypeople gain a comparable amount of nutrients from vomited food to other species (~70%, up from ~30%) fix: Flypeople no longer vomit after drinking fluids fix: Flypeople no longer vomit all contents of their stomach on spawn code: Stomachs can now react to foods entering them by overriding the `after_eat` proc /🆑 Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Fix Flypeople food consumption Co-authored-by: Roryl-c <5150427+Roryl-c@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>