Skip to content

Comments

StatusEffect Recursive Heirarchy Search#14606

Draft
Jade-Harleyy wants to merge 2 commits intoFakeFishGames:masterfrom
Jade-Harleyy:statuseffect-heirarchy
Draft

StatusEffect Recursive Heirarchy Search#14606
Jade-Harleyy wants to merge 2 commits intoFakeFishGames:masterfrom
Jade-Harleyy:statuseffect-heirarchy

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