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] Consolidates SLOT_FLAG and SLOT_HUD into one ITEM_SLOT flag #26743

Merged
merged 41 commits into from
Nov 13, 2024

Conversation

Adrer
Copy link
Contributor

@Adrer Adrer commented Sep 10, 2024

What Does This PR Do

THIS SHOULD PROBABLY BE TESTMERGED BEFORE BEING FULLY MERGED

This PR consolidates SLOT_FLAG and SLOT_HUD into one ITEM_SLOT flag, this should make it easier to compare and check inventory flags without needing to perform weird conversions between the two.

Note

In doing this I accidentally fixed the "offear" feature, which would block your second ear slot if you were wearing a bowman headset. For the time being, code relating to this has been commented out. Fixing/removing this will be done in a PR seperate from this one.

Why It's Good For The Game

These flags perform literally the same job, there is no reason for them to be seperated like this. This should make some things at least somewhat easier to do.

Testing

I can equip stuff fine
I can remove stuff just fine
Stripping people and putting stuff on them seems to work still
As far as I can tell nothing is broken but this should still be testmerged for a little bit just in case.


Declaration

  • I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.

Changelog

NPFC

@ParadiseSS13-Bot ParadiseSS13-Bot added the -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally label Sep 10, 2024
@Adrer Adrer marked this pull request as ready for review September 11, 2024 12:32
@ParadiseSS13-Bot ParadiseSS13-Bot added Testmerge Requested This PR has a pending testmerge request -Status: Awaiting review This PR is awaiting review from the review team and removed -Status: Awaiting type assignment This PR is waiting for its type to be assigned internally labels Sep 11, 2024
Copy link
Contributor

@Contrabang Contrabang left a comment

Choose a reason for hiding this comment

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

Seems good, few last things

code/__DEFINES/clothing_defines.dm Outdated Show resolved Hide resolved
code/datums/diseases/_MobProcs.dm Show resolved Hide resolved
code/modules/mob/living/carbon/human/species/golem.dm Outdated Show resolved Hide resolved
code/modules/mob/living/carbon/human/species/monkey.dm Outdated Show resolved Hide resolved
@ParadiseSS13-Bot ParadiseSS13-Bot added -Status: Awaiting merge This PR is ready for merge and removed -Status: Awaiting review This PR is awaiting review from the review team labels Nov 3, 2024
@Contrabang
Copy link
Contributor

Ready for TM

@github-actions github-actions bot added the Merge Conflict This PR is merge conflicted label Nov 6, 2024
Copy link
Contributor

@Contrabang Contrabang left a comment

Choose a reason for hiding this comment

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

Needs a TM

@github-actions github-actions bot removed the Merge Conflict This PR is merge conflicted label Nov 7, 2024
@ParadiseSS13-Bot ParadiseSS13-Bot added the Testmerge Active This PR is currently testmerged on production label Nov 11, 2024
@DGamerL DGamerL added this pull request to the merge queue Nov 13, 2024
Merged via the queue into ParadiseSS13:master with commit d90a70e Nov 13, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-Status: Awaiting merge This PR is ready for merge Refactor This PR will clean up the code but have the same ingame outcome Testmerge Active This PR is currently testmerged on production Testmerge Requested This PR has a pending testmerge request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants