-
-
Notifications
You must be signed in to change notification settings - Fork 549
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
Ports timed_action_flags & centralizes do_afters #2865
Ports timed_action_flags & centralizes do_afters #2865
Conversation
Hm, you guys had |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, fix conflicts and I'll get it in
Signed-off-by: Sun-Soaked <[email protected]>
Signed-off-by: Sun-Soaked <[email protected]>
This reverts commit 41aedd0.
Ports: - tgstation/tgstation#54409 - tgstation/tgstation#55172 - BeeStation/BeeStation-Hornet#8635 - BeeStation/BeeStation-Hornet#8678 Fix to shiptest-ss13#2899 - tgstation/tgstation#82413 <!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> This PR moves unique do_after behavior under a flag system. It also deletes do_mob & do_atom, and centralizes them under do_after <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> Makes do_after behavior much more granular and easy to edit. Flag systems are straight forward, and the docs I added tell you exactly what their behavior is. do_mob and do_atom are essentially just snowflake versions of do_after, its much cleaner just to put em under the same umbrella. <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> :cl: rkz, Benjamin(benbot16), Rohesie, Qustinnus, jlsnow301 refactor: refactored do_afters to use timed_action_flags for unique args code: centralized do_mob and do_atom into do_after /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. --> --------- Signed-off-by: Sun-Soaked <[email protected]> Co-authored-by: Sun-Soaked <[email protected]>
Ports:
Fix to #2899
About The Pull Request
This PR moves unique do_after behavior under a flag system.
It also deletes do_mob & do_atom, and centralizes them under do_after
Why It's Good For The Game
Makes do_after behavior much more granular and easy to edit. Flag systems are straight forward, and the docs I added tell you exactly what their behavior is.
do_mob and do_atom are essentially just snowflake versions of do_after, its much cleaner just to put em under the same umbrella.
Changelog
🆑 rkz, Benjamin(benbot16), Rohesie, Qustinnus, jlsnow301
refactor: refactored do_afters to use timed_action_flags for unique args
code: centralized do_mob and do_atom into do_after
/:cl: