[#the-sacred-well] (moddability) if I had one modding request it would be to have some modding hook...

Issue #8222 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: lamb (lorbed)

Message (jump):

<shawncplus> (moddability) if I had one modding request it would be to have some modding hooks in RelicGenerator. Right now it looks like the only way to extend/alter relic generation is to Harmony patch it which largely requires duplicating a lot of logic. Something like AfterRelicGeneration, AfterBasicBestowal, and AfterElementalBestowal events would go a long way

Comments (5)

  1. Limaximus Lamb

    comment from original reporter:

    that said, I'm not entirely sure how it would work since you'd have to attach a part to the object to listen to those events and RelicGenerator is invoked statically.I guess one could modify the base Item object to have the part, that's not too outlandish

  2. chaos

    next update will have AfterRelicGeneratedEvent, AfterPseudoRelicGeneratedEvent (for relic-alikes like baetyl rewards with bestowals, faction heirlooms, and player relics via Your Own Personal Relics), AfterBasicBestowalEvent, and AfterElementBestowalEvent.

  3. Log in to comment