powerof3 / Spell-Perk-Item-Distributor

MIT License
29 stars 8 forks source link

Console commands #57

Open adya opened 4 months ago

adya commented 4 months ago

allow to interact with SPID through console

With selected NPC ref:

Revert all distribution done for selected NPC:

spid revert

Apply distribution again for selected NPC. This is cumulative, so if SPID must distribute 500 gold, it will be adding 500 gold each time this function is called:

spid distribute

With no selected references (neither NPC or any other ref):

Revert all distributions for all loaded NPCs:

spid revertAll

Distribute everything there is to all loaded NPCs:

spid distributeAll

This feature (especially revert) will require some prior refactoring.