Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holdable 'Swing' Refactor #14657

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jade-Harleyy
Copy link

This PR adds a new property to Holdable and cleans up some code.

The SwingRotation property allows modders to add random arm rotation to items in addition to the random item position from SwingAmount.

Additionally, this PR cleans up part of the Holdable class related to swing:

  • Removes the unneccessary debug-build-only property descriptions, allowing the documentator to read them.
  • Standardizes and simplifies the swing noise logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant