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

Componentize Rat King Rummaging. #34481

Closed
wants to merge 8 commits into from

Conversation

widgetbeck
Copy link
Contributor

About the PR

Separated the Rat King's "rummaging" into its own component, and added several new options to make it more modular.

Why / Balance

Several older components (namely Rat King and Dragon) combine multiple completely unrelated systems into one monolithic component, which I feel goes against the ethos of having an ECS in the first place. Also, I wanted to use Rummaging for some custom content without any of the rat king stuff.
This will not affect players in any way, but it may be useful for developers. I plan on also separating out the Rat King's army and domain abilities into their own customizable components, but I figured it would be better to do those in their own PR.

Technical details

Moved the portions of RatKingSystem responsible for rummaging to their own system.
Added the ability to define rummage loot tables either on the entity with Rummaging or on the entity with Rummageable.
Added support for custom rummage verb.
Added rummage speed modifier to Rummaging.
Added the ability to define a Rummageable entity as re-lootable, with a customizable cooldown between refreshes.

Media

Requirements

Breaking changes

Changelog

@github-actions github-actions bot added size/M Denotes a PR that changes 100-999 lines. S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Jan 17, 2025
@widgetbeck widgetbeck closed this Jan 17, 2025
@widgetbeck
Copy link
Contributor Author

whoops. Included some commits I did not intend to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/M Denotes a PR that changes 100-999 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants