-
Notifications
You must be signed in to change notification settings - Fork 566
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
refactor barricades files to hopfully have a more constant interaction when trying to fix them with welder. #5609
Conversation
…ade with an welder.
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
Co-authored-by: Birdtalon <[email protected]>
# About the pull request This PR is a follow up to #5609 which removed a busy check from some barricades allowing multi-welding. This PR restores that setting (which is a return to normal for all but folding barricades which incorrectly allowed multi-welding before). I have also added automatic looping to barricade welding if there is still work to be done, and it can be performed. # Explain why it's good for the game The PR that introduced this change was not intended to be a balance change. Additionally, it's far more difficult to tune welding speeds if the quantity of barricades being welded at the same time is variable. Technically this is a nerf though because previously multi-welding folding barricades was possible. # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> https://github.com/cmss13-devs/cmss13/assets/76988376/32deb97f-31b0-4fd0-8baf-54637cfbf81d After looping welding addition: https://github.com/cmss13-devs/cmss13/assets/76988376/e67efe06-711e-4847-aa36-345c1e85222d </details> # Changelog :cl: Drathek add: Welding a barricade will now repeat automatically if it can still be repaired. balance: Reverted multi-welding change to barricades: All barricades must be welded one at a time. refactor: Refactored more barricade code. /:cl:
About the pull request
fixes: #5229
1-replace a bunch of single letter variable and in the same movement standardize it for all the parent/child object...
2-create a proc that is a group of check to see if you can start fixing a barricade with a welder.
3-implement this proc on metal,plasteel and deployable to have all the check be the same as we want them to all react the same way...
Explain why it's good for the game
Testing Photographs and Procedure
i tested welding different different cades at the same time seem to work i had some weirdness but it's working.
Screenshots & Videos
Put screenshots and videos here with an empty line between the screenshots and the
<details>
tags.Changelog
🆑
refactor: refactored files with the aim of making fixing barricade with a welder more constant.
fix: being unable to repair more than one metal barricade at the time.
/:cl: