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

refactor barricades files to hopfully have a more constant interaction when trying to fix them with welder. #5609

Merged
merged 21 commits into from
Feb 21, 2024

Conversation

Huffie56
Copy link
Contributor

@Huffie56 Huffie56 commented Jan 31, 2024

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:

@github-actions github-actions bot added Refactor Make the code harder to read Fix Fix one bug, make ten more labels Jan 31, 2024
@Huffie56 Huffie56 mentioned this pull request Jan 31, 2024
3 tasks
@Huffie56 Huffie56 marked this pull request as ready for review January 31, 2024 13:56
@Huffie56 Huffie56 marked this pull request as draft February 5, 2024 17:22
@Huffie56 Huffie56 marked this pull request as ready for review February 7, 2024 10:53
@Huffie56 Huffie56 marked this pull request as draft February 7, 2024 12:39
@Huffie56 Huffie56 marked this pull request as ready for review February 7, 2024 15:50
Copy link
Contributor

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

@github-actions github-actions bot added the Stale beg a maintainer to review your PR label Feb 15, 2024
@Drulikar Drulikar removed the Stale beg a maintainer to review your PR label Feb 19, 2024
@Birdtalon Birdtalon marked this pull request as draft February 20, 2024 21:30
@Huffie56 Huffie56 marked this pull request as ready for review February 21, 2024 11:23
@Birdtalon Birdtalon added this pull request to the merge queue Feb 21, 2024
Merged via the queue into cmss13-devs:master with commit 8b99bc2 Feb 21, 2024
27 checks passed
cm13-github added a commit that referenced this pull request Feb 21, 2024
@Huffie56 Huffie56 deleted the barricade.dm branch February 21, 2024 13:31
github-merge-queue bot pushed a commit that referenced this pull request Feb 24, 2024
# 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more Refactor Make the code harder to read
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metal Barricades Inconsistency
3 participants