I’ve been thinking a bit about this, and I think I might have some additions to the implementation:
- We give the lysosome a slight toxin resistance to begin with, of 5% or less. This makes it at least possible for players/auto-evo to discover this function easier.
- We then add an upgrade that increases the effect but removes the lysosome’s normal digestion functions.
- We make sure the resistance combine multiplicatively instead of additively. That way there are automatic diminishing returns.
I think this is technically doable. But there is some work to be done to make it possible.
Right now toxin resistance is purely a membrane statistic. The code literally just checks what a cell’s membrane says. I think that needs to be moved to a new cell statistic that is calculated based on the organelles in the cell. The cell membrane effect then also needs to feed into that, unless we want the two systems to apply independently to each toxin application. (that would make the usage of the two in combination very powerful)