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

Store Refund - Add more disable scenerios & time to disable refund. #34671

Merged
merged 8 commits into from
Feb 15, 2025

Conversation

keronshb
Copy link
Contributor

@keronshb keronshb commented Jan 27, 2025

About the PR

Added more routes for us to disable refunds after some entity events and so a time can be provided to disable events instead of just relying on the grid.

Why / Balance

Just relying on grid changes is not great and is really mostly for the wizard.
As an extra security measure we also now check if the allotted time has passed before also disabling refunds & checking grid.

Technical details

Method was made to check if we should disable refunds.
Subscriptions to events for using an item, using an action, and shooting a gun were added so we can disable refunds.

Media

Requirements

Breaking changes

Removed action check from refund disable method, so we can disable refund on action use.
Refund disable method now checks grid & if the time is eligible.

Changelog

@github-actions github-actions bot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/S Denotes a PR that changes 10-99 lines. labels Jan 27, 2025
@ArtisticRoomba ArtisticRoomba added P3: Standard Priority: Default priority for repository items. T: New Feature Type: New feature or content, or extending existing content D3: Low Difficulty: Some codebase knowledge required. S: Needs Review Status: Requires additional reviews before being fully accepted A: Core Tech Area: Underlying core tech for the game and the Github repository. A: Roundflow/Antag Area: Roundflow - "What happens in the game", including antagonist roles and their capabilities and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Jan 27, 2025
@github-actions github-actions bot added the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Feb 8, 2025
Copy link
Contributor

@ScarKy0 ScarKy0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works, just minor stuff.

@ScarKy0 ScarKy0 added S: Awaiting Changes Status: Changes are required before another review can happen and removed S: Needs Review Status: Requires additional reviews before being fully accepted labels Feb 8, 2025
Copy link
Contributor

@ScarKy0 ScarKy0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@keronshb
Copy link
Contributor Author

1 maint approval + 1 PM making PR = merg :trollface:

@ScarKy0 ScarKy0 merged commit 0cb1124 into space-wizards:master Feb 15, 2025
12 checks passed
@keronshb keronshb deleted the StoreRefundChanges branch February 22, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Core Tech Area: Underlying core tech for the game and the Github repository. A: Roundflow/Antag Area: Roundflow - "What happens in the game", including antagonist roles and their capabilities D3: Low Difficulty: Some codebase knowledge required. P3: Standard Priority: Default priority for repository items. S: Awaiting Changes Status: Changes are required before another review can happen size/S Denotes a PR that changes 10-99 lines. T: New Feature Type: New feature or content, or extending existing content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants