Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Removes the vestigial slime reagent system [MDB IGNORE] (#25…
…397) (#937) * Removes the vestigial slime reagent system (#80068) ## About The Pull Request Slimes, unique among simple and basic mobs, had a reagent holder. During life, they removed some of the reagents in the holder, but they never actually metabolized them. Two reagents, frostoil and capsaicin did not know this, and checked every time in on mob life if the mob they were in was a slime, which was never the case. Slimes also checked if they had morphine or frostoil in them when they detected a change in their reagents, on_reagent_change, and applied a slowdown. There are not many ways to put these reagents in slimes in the first place. Chempuffs, syringes (but not hyposprays) work, and I assume smoke too. I removed this dead code. I did see this comment _"Should be moved to the reagents at some point in the future. As it is I'm in a hurry."_ and I did try to move the effects to reagents' onExpose(), creating a status effect that only applies to mobs without reagents, lasts as long as it would have lasted based on reagents, and respects that morphine and frostoil doesn't stack. However, while doing this I realized I would be making reagents 2, in a much worse, overcomplicated manner. In the end, I have decided to completely remove the reagent holder of slimes, and the morphine and frostoil effects. ## Why It's Good For The Game These systems are rather vestigial, and there isn't really much to gain from them. The interaction with heat and gas types is a much more unique system, so perhaps it will be better if we focus on them. Also makes it easier to convert them to basic mobs, and also, keeps them consistent with the rest of our mobs. ## Changelog :cl: del: Removes the slime's reagent holder. This will make them not slow down from somehow imbibing morphine or frostoil. /:cl: * Removes the vestigial slime reagent system --------- Co-authored-by: SkyratBot <[email protected]> Co-authored-by: Profakos <[email protected]>
- Loading branch information