Files
wwdpublic/Content.Server/Traits/TraitSystem.Functions.cs
BramvanZijp df14af28c9 Add Traits to Increase/Decrease Your Carrying Speed & Character Weight. (#2096)
# Description

Adds 4 new traits.
Bulky (Costs 6 pts) increases your characters density by 55, which
increases your weight.
Featherweight (Gives 3 pts) halves your density, halving your weight.

Bodybuilder and Weakling adjust the modifiers for pulling speed, also
costing 6 and giving 3.

Also, added a VVModify function for traits, which allows you to get the
current value of a VV path, and then change it via multiplication or
addition/subtraction, this was needed for Bulky/Lightweight, since
Density is under FixturesComponent, which is a robust toolbox thing, and
I dont think an engine PR with a densitymodifier field is the way to go.

This was done for a Goob MRP bounty.

---

# Changelog

🆑 BramvanZijp
- add: Added the Bulky and Featherweight traits, which increase/decrease
your characters weight.
- add: Added the Bodybuilder and Weakling traits, which impact the
movement speed penalty while pulling.

---------

Signed-off-by: BramvanZijp <56019239+BramvanZijp@users.noreply.github.com>
Signed-off-by: VMSolidus <evilexecutive@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: VMSolidus <evilexecutive@gmail.com>

(cherry picked from commit fe93a8827a83b9dd40e7eaa2312351fc52511693)
2025-03-29 17:54:15 +03:00

29 KiB