forked from SkyeStarfall/BaseMod
-
Notifications
You must be signed in to change notification settings - Fork 119
Custom Relics
Davis Cook edited this page Mar 10, 2018
·
8 revisions
To add or remove relics you need to put your relic manipulation code inside the receiveEditRelics
callback from EditRelicsSubscriber
.
-
addRelic(AbstractRelic relic, RelicType type)
- this can be used to add custom relics to either the shared pool or the pool for the ironclad or the pool for the silent; this method should not be used to add relics specific to a custom character -
removeRelic(AbstractRelic relic)
- same restrictions as above but removes the relic instead of adding it - `addRelicToCustomPool(AbstractRelic relic, String color) - this can be used to add a relic to the relic pool for a custom character. Do not attempt to use this to add a relic to the shared pool or the ironclad/silent pool.