Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "Overweight" trait unintended interaction (#2535)
* Fix "Overweight" trait unintended interaction The hunger hud update changed how the Overweight trait is handled, making it give any character using it the speed malus that the trait already gives, but also giving them an extra speed malus as if they were overfed at all times. Currently there's no way to get rid of the permanently overfed state without manually removing the "Overweight" trait directly from the mob that has it, this PR removes that permanent overfed state. * I think this is right? proper removal documentation, sans module since uh... dunno if it needs to be modularized * New Solution much easier to just make a new trait define, and then apply that new trait to where the old, conflicting one was being applied. * add new trait to _globalvars * Update code/_onclick/hud/screen_objects.dm * upstream fix integration trait now adds the trait that was added upstream `TRAIT_OFF_BALANCE_TACKLER`. Which handles the only effect that we need to handle independently of `TRAIT_FAT` now. --------- Co-authored-by: Varoxus <[email protected]> Co-authored-by: Bloop <[email protected]> Co-authored-by: Iajret <[email protected]>
- Loading branch information