Skip to content

Holdable 'Swing' Refactor#14657

Open
Jade-Harleyy wants to merge 2 commits intoFakeFishGames:masterfrom
Jade-Harleyy:holdable-swing-rework
Open

Holdable 'Swing' Refactor#14657
Jade-Harleyy wants to merge 2 commits intoFakeFishGames:masterfrom
Jade-Harleyy:holdable-swing-rework

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