SyzygyStation / Syzygy-Eris

An Eris downstream used by Syzygy Station
Other
1 stars 16 forks source link

Cherry picks an optimization PR from upstream #229

Closed Michiyamenotehifunana closed 3 years ago

Michiyamenotehifunana commented 3 years ago

About The Pull Request

This PR cherry picks https://github.com/discordia-space/CEV-Eris/pull/5635, which makes monkeys stop processing environmental sanity factors and drastically reduces the amount of resources they hog up, which should make the server run better. In theory.

I've compiled it successfully and it doesn't throw any runtimes when tested, but I don't have enough COG to interpret the profiler results to tell how good the optimizations are.

Why It's Good For The Game

Optimizations good.

Changelog

tweak: NPC monkeys don't receive environment sanity damage and insight.
code: onLife() sanity procs effects trigger once every 2 life ticks.