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

[FEATURE] Item physics events and helpers #9

Open
ReveredRedHood opened this issue Dec 28, 2023 · 0 comments
Open

[FEATURE] Item physics events and helpers #9

ReveredRedHood opened this issue Dec 28, 2023 · 0 comments
Labels
common Related to the SOD.Common library. feature New feature implementation. uncertain Not sure if this is still needed.

Comments

@ReveredRedHood
Copy link
Collaborator

Introduction
Add events related to picking up objects to carry them (not putting items in your inventory, but instead holding them in front of you), dropping them, and throwing them.

Description of the feature

OnItemPhysicsPickUp(Interactable) // controller.MoveablePickUpThis()
OnItemPhysicsDrop(Interactable) // InteractionController.Instance.carryingObject.DropThis(bool throwThis)
OnItemPhysicsThrow(Interactable) // InteractionController.Instance.carryingObject.DropThis(bool throwThis)
Lib.Player.DropCarriedItem => InteractionController.Instance.carryingObject.DropThis(false)
Lib.Player.ThrowCarriedItem => InteractionController.Instance.carryingObject.DropThis(true)

Feature usage
A clear and concise description of how the feature should be used by the consumer.

Dependencies and Prerequisites
Does this feature require any new dependencies? No

Implementation details
As a Lib helper and patch(es)
Low priority for me. I figured out how it works and want to document it here for later.

@ReveredRedHood ReveredRedHood added the feature New feature implementation. label Dec 28, 2023
@Ven0maus Ven0maus added this to the stable v1.2.0 milestone Dec 28, 2023
@Ven0maus Ven0maus removed this from the stable v1.2.0 milestone Mar 5, 2024
@Ven0maus Ven0maus added common Related to the SOD.Common library. uncertain Not sure if this is still needed. labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to the SOD.Common library. feature New feature implementation. uncertain Not sure if this is still needed.
Projects
None yet
Development

No branches or pull requests

2 participants