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

Console commands #57

Open
adya opened this issue Jun 10, 2024 · 0 comments
Open

Console commands #57

adya opened this issue Jun 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@adya
Copy link
Collaborator

adya commented Jun 10, 2024

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.

@adya adya added the enhancement New feature or request label Jun 10, 2024
@adya adya self-assigned this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant