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

MODsuit: unhardcoded parts #70061

Closed
wants to merge 21 commits into from
Closed

MODsuit: unhardcoded parts #70061

wants to merge 21 commits into from

Conversation

Fikou
Copy link
Member

@Fikou Fikou commented Sep 21, 2022

About The Pull Request

This is drafted to make me finish it because its long overdue
unhardcodes modsuit parts - instead of helmet chestplate gauntlets boots, they will be able to be any parts, and everything is handled by a mod part datum interfacing between the modsuit and the part.
fixes #69933

Why It's Good For The Game

This + making modules linked to the unhardcoded parts (this is coming next) lets us later do these:

  • making suits that dont work on helmet chestplate etc, something like scarf glasses suit will be possible
  • making the suits able to extend/retract parts while active without being a fucking mistake (skyrat moment)
  • making the suits not turn off when you get delimbed

Changelog

not player facing

@Fikou Fikou added the Refactor Makes the code harder to read label Sep 21, 2022
@ghost
Copy link

ghost commented Sep 22, 2022

THE LAWYER TIE SUIT IS COMING

@theta060

This comment was marked as off-topic.

@github-actions github-actions bot added the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Sep 25, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2022

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 Even the uncaring universe rejects you, why even go on label Oct 3, 2022
@Fikou Fikou mentioned this pull request Oct 5, 2022
@tgstation-server tgstation-server removed the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Oct 8, 2022
@Fikou Fikou removed the Stale Even the uncaring universe rejects you, why even go on label Oct 8, 2022
@Mothblocks
Copy link
Member

It's been nearly a week since last commit and this is still drafted and failing tests, we have over 100 PRs up right now so I am closing this

Feel free to reopen when ready

@Mothblocks Mothblocks closed this Oct 19, 2022
@Fikou Fikou reopened this Nov 16, 2023
@tgstation-server tgstation-server added the Sprites A bikeshed full of soulless bikes. label Nov 16, 2023
Copy link
Contributor

Screenshot tests failed!

Download zip file of new screenshots.

Diffs

See snapshot diffs
Name Expected image Produced image Diff
cardboard_cutouts_nukie_cutout None produced.
screenshot_antag_icons_loneoperative
screenshot_dynamic_human_icons_syndicate_commando

Help

What is this?

Screenshot tests make sure that specific icons look the same as they did before.
This is important for elements that often mistakenly change, such as alien species.

If the produced image looks broken, then it is possible your code caused a bug.
Make sure to test in game to see if you can fix it.

I am changing sprites, it's supposed to look different.

If the newly produced sprites are correct, then the tests should be updated.

You can either:

  1. Right-click the "produced image", and save it in code/modules/unit_tests/screenshots/NAME.png.
  2. Download and extract this zip file in the root of your repository, and commit.

If you need help, you can ask maintainers either on Discord or on this pull request.

This is a false positive.

If you are sure your code did not cause this failure, especially if it's inconsistent,
then you may have found a false positive.

Ask maintainers to rerun the test.

If you need help, you can ask maintainers either on Discord or on this pull request.

@Fikou
Copy link
Member Author

Fikou commented Nov 17, 2023

almost done, needs a rework of how we do some clothing rendering, ui fixes and implementing all the modules that modify your parts, but the backend for that is finished

This comment was marked as off-topic.

Copy link
Contributor

Screenshot tests failed!

Download zip file of new screenshots.

Diffs

See snapshot diffs
Name Expected image Produced image Diff
cardboard_cutouts_nukie_cutout None produced.
screenshot_antag_icons_loneoperative
screenshot_dynamic_human_icons_syndicate_commando

Help

What is this?

Screenshot tests make sure that specific icons look the same as they did before.
This is important for elements that often mistakenly change, such as alien species.

If the produced image looks broken, then it is possible your code caused a bug.
Make sure to test in game to see if you can fix it.

I am changing sprites, it's supposed to look different.

If the newly produced sprites are correct, then the tests should be updated.

You can either:

  1. Right-click the "produced image", and save it in code/modules/unit_tests/screenshots/NAME.png.
  2. Download and extract this zip file in the root of your repository, and commit.

If you need help, you can ask maintainers either on Discord or on this pull request.

This is a false positive.

If you are sure your code did not cause this failure, especially if it's inconsistent,
then you may have found a false positive.

Ask maintainers to rerun the test.

If you need help, you can ask maintainers either on Discord or on this pull request.

@tgstation-server tgstation-server added the UI We make the game less playable, but with round edges label Nov 20, 2023
Copy link
Contributor

Screenshot tests failed!

Download zip file of new screenshots.

Diffs

See snapshot diffs
Name Expected image Produced image Diff
cardboard_cutouts_nukie_cutout None produced.
screenshot_antag_icons_loneoperative
screenshot_dynamic_human_icons_syndicate_commando

Help

What is this?

Screenshot tests make sure that specific icons look the same as they did before.
This is important for elements that often mistakenly change, such as alien species.

If the produced image looks broken, then it is possible your code caused a bug.
Make sure to test in game to see if you can fix it.

I am changing sprites, it's supposed to look different.

If the newly produced sprites are correct, then the tests should be updated.

You can either:

  1. Right-click the "produced image", and save it in code/modules/unit_tests/screenshots/NAME.png.
  2. Download and extract this zip file in the root of your repository, and commit.

If you need help, you can ask maintainers either on Discord or on this pull request.

This is a false positive.

If you are sure your code did not cause this failure, especially if it's inconsistent,
then you may have found a false positive.

Ask maintainers to rerun the test.

If you need help, you can ask maintainers either on Discord or on this pull request.

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 Even the uncaring universe rejects you, why even go on label Nov 28, 2023
@deathrobotpunch
Copy link
Contributor

good PR yesterday I died as a miner to gibtonite and my mining modsuit turned off stopping the GPS from working

@Fikou
Copy link
Member Author

Fikou commented Nov 29, 2023

good PR yesterday I died as a miner to gibtonite and my mining modsuit turned off stopping the GPS from working

that module should work when the suit is off tbh

@github-actions github-actions bot removed the Stale Even the uncaring universe rejects you, why even go on label Nov 30, 2023
Copy link
Contributor

github-actions bot commented Dec 8, 2023

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 Even the uncaring universe rejects you, why even go on label Dec 8, 2023
@github-actions github-actions bot closed this Dec 15, 2023
dragomagol pushed a commit that referenced this pull request May 20, 2024
## About The Pull Request

see #70061 but i almost finished it, i only need to go through every
single module and assign it a fitting part

## Changelog
:cl:
refactor: modsuits have been refactored if you see bugs report them 
fix: admin cargo tech modsuit outfit now works correctly
/:cl:

---------

Co-authored-by: Andrew <mt.forspam@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Makes the code harder to read Sprites A bikeshed full of soulless bikes. Stale Even the uncaring universe rejects you, why even go on UI We make the game less playable, but with round edges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MOD helmets are deleting multiple times
6 participants