Files
Bubberstation/code/modules/projectiles
necromanceranne fbd026b77d PKA modkits handle denied types more robustly, applying limitations to max type even when denied_type isn't defined but maximum_of_type is. (#91487)
## About The Pull Request

Does what I I suggested the author of
https://github.com/tgstation/tgstation/pull/91225 should do in their PR
before they seemingly evaporated.

Now, if maximum_of_type is defined above the default value of 0, we use
the modkit's type as the denied type. This prevents stacking of the same
mod while retaining the granularity to allow parent types, and also
ensuring that you don't have a dead variable if another one isn't
defined. Before this, maximum_of_type only did something if denied_type
was defined.

## Why It's Good For The Game

I got caught out by these variables and so currently you can turn your
PKA into a rocket launcher. Oops.

## Changelog
🆑 OrbisAnima, necromanceranne
fix: PKA's can no longer have multiple offensive AOE modkits installed
at once, which was not intended.
/🆑
2025-06-08 15:39:17 +00:00
..