You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 itCustom
that one could either use a loot table included with theCompProperties_UseEffect
or a defName which could have the loot table, then anyone could add custom loot boxes. (either would need a newCompProperties_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.
The text was updated successfully, but these errors were encountered: