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

slash command to increment/decrement PC resources #74

Open
rsek opened this issue Jan 19, 2022 · 1 comment
Open

slash command to increment/decrement PC resources #74

rsek opened this issue Jan 19, 2022 · 1 comment

Comments

@rsek
Copy link
Collaborator

rsek commented Jan 19, 2022

i think this is on the trello, but i'll add it here too.

examples:

/suffer endure-harm pc-id 2
/recover heal pc-id 2
/momentum take pc-id 4 - momentum is added by many moves but has no specific recovery move. in the game's parlance, you "take +X momentum", so we can follow that example. a /momentum command group could be expanded with other momentum-related commands.

i think the MVP of this feature would have:

  • an autocompleting parameter to target a PlayerCharacter stored in the DB
  • subcommands or command options for incrementing/decrementing Health, Spirit, Supply, and Momentum
  • a way to set the amount suffered/recovered. for suffer that should be min 1, max 3. recover is more sensitive to assets, but for Health/Spirit/Supply could safely be restricted to 1-5. momentum gain is a little fuzzier; 1-16 would be a safe number (i don't think there's many cases there, but that's effectively the most momentum someone could gain at once).
  • a way to provide feedback to the user (since they're probably not looking at their character sheet). i'm imagining an ephemeral that reports whether the command succeeded/failed, the PC's old resource value, and the PC's new resource value

possible enhancements:

  • a convenient way to reference the relevant rules text from the same command?
  • a way to target Companion Health and Vehicle Integrity
  • integrate rolling the associated move, where appropriate?
  • a way to target asset resources, e.g. Ammo from Archer
  • automatically mark the Unprepared impact (and tell the player(s) about it) when pc/party supply reaches 0
  • offer suggestions/reminders (e.g. an ephemeral with some buttons) to mark Wounded, Shaken, Unprepared
  • an integrated way of handling/removing impacts that pro
  • a way to handle "overflow", for those situations where an incoming suffer exceeds the remaining resource
  • once parties are implemented: some way to manage Sojourn recovery moves

it might also be good to send an ephemeral message after it's done, so that the user receives feedback on whether it succeeded or failed, and their PC's new status.

questions to answer:

  • should the command parameters/subcommands be by move name or the resource name? is it feasible to do both?
  • should a seperate command could exist for setting resources/stats on a PC exist?
  • is some sort of autocomplete a good idea for handling the above? could it be leveraged for things like asset resources?
@rsek
Copy link
Collaborator Author

rsek commented Jan 24, 2022

this one's next on my list, i think - follows some similar patterns to XenotropicDev/TheOracle2#33, so i'll probably branch it from that.

@XenotropicDev XenotropicDev transferred this issue from XenotropicDev/TheOracle2 Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant