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

Suggestion - Customisable Loot tables #1

Open
feldoh opened this issue Jun 4, 2023 · 0 comments
Open

Suggestion - Customisable Loot tables #1

feldoh opened this issue Jun 4, 2023 · 0 comments

Comments

@feldoh
Copy link

feldoh commented Jun 4, 2023

I wanted to add another loot box type or several themed after characters which would drop items related to that character. Think highlander chests dropping large swords, sanguophage chests dropping serums and hemogen but this mod is very hard-coded. With the use of the Enum I can't just work around it with harmony.

To be minimally invasive if a new type were to be added to the LootBoxType enum call it Custom that one could either use a loot table included with the CompProperties_UseEffect or a defName which could have the loot table, then anyone could add custom loot boxes. (either would need a new CompProperties_UseEffect variant to allow passing in extra config)

I could just make my own lootbox system but this being the preeminent loot box mod it would be silly not to see if I can work within this mod and hopefully enable others to do the same.

Happy to contribute if you like the idea, or go for a more extreme refactor to make all of the existing chests use the same sort of xml defined loot tables.

Would love to get your thoughts on this one.

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

No branches or pull requests

1 participant