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

StatusEffect Recursive Heirarchy Search #14606

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

Conversation

Jade-Harleyy
Copy link

This PR adds 3 new properties and 1 new TargetType to StatusEffects.

New Properties:

  • RecursiveSearch: Whether to search recursively when finding parent/child items.
  • MinSearchDepth: Sets the minimum depth at which recursive searches take place.
  • MaxSearchDepth: Sets the maximum depth at which recursive searches take place.

New TargetTypes:

  • NearbyEntities: Same as NearbyCharacters and NearbyItems.
    The new TargetType is used to simplify the logic for adding targets in code, but can also be used for modding purposes.

@Jade-Harleyy Jade-Harleyy changed the title StatusEffect Container Heirarchy Extensions StatusEffect Recursive Heirarchy Search Sep 11, 2024
@Jade-Harleyy Jade-Harleyy marked this pull request as draft September 12, 2024 07:13
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