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

Fixes crates layering under the fulton recovery system #5673

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

SabreML
Copy link
Member

@SabreML SabreML commented Feb 6, 2024

About the pull request

Fixes crates and some other fultonable objects being on a layer below the dropship's fulton recovery system.

This was happening because crates (any closet subtypes really) are on BELOW_OBJ_LAYER, and dropship equipment is on ABOVE_OBJ_LAYER.
Changing the layer of /obj/structure/dropship_equipment to something lower would probably work, but I felt the safest solution would be to just set the equipment's plane to whatever the attach point has.
This has no effect on the outside attachment points, but fixes the layering issue since the inside ones are on FLOOR_PLANE.

I should also mention that the actual fix is in the first commit (b8e4495) and is only one line. All the rest of this is just because the install_equipment() proc was a bit confusing as it was.

Explain why it's good for the game

Unless I've missed something in git blame, this has probably been a bug for 4+ years.

Testing Photographs and Procedure

Screenshots & Videos

Before:
image

After: (Also a regular crate too)
dreamseeker_htRSczUHZh dreamseeker_yV0pi23XYY

Verifying that other hardpoints aren't affected:
ds

Changelog

🆑
fix: Fixed crates and similar objects layering below the dropship's fulton recovery system.
/:cl:

Variable names, 1 to TRUE, and I also removed the bool returns since nothing's actually checking for them.
@github-actions github-actions bot added the Fix Fix one bug, make ten more label Feb 6, 2024
@Birdtalon Birdtalon added the Refactor Make the code harder to read label Feb 9, 2024
@harryob harryob added this pull request to the merge queue Feb 13, 2024
Merged via the queue into cmss13-devs:master with commit f6853a1 Feb 13, 2024
28 checks passed
cm13-github added a commit that referenced this pull request Feb 13, 2024
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.

3 participants