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

Add option to cancel trip and receive full refund #6259

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

DayV-git
Copy link
Contributor

@DayV-git DayV-git commented Dec 11, 2024

Description:

Adds option to cancel trip and be refunded item cost / item charges after 5 mins. Applies to most activities, if you have used any items / charges in the activity. Exceptions: Birdhouse, farming, colosseum / fight caves / inferno, clues, group content including fake masses.

Changes:

  • Add \minion cancel_and_refund command
  • Add itemCost and chargeCost to activities, indicating what has been removed from user and what to refund
  • Add integration test for PvM refunds
  • Add JSON-encoding to chargeBank so it can be accessed from prisma
  • As a byproduct, fixed message from colosseum to have correct charge usage.

Other checks:

  • I have tested all my changes thoroughly.

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

Successfully merging this pull request may close these issues.

1 participant