Skip to content

Conversation

@VerinSenpai
Copy link
Contributor

@VerinSenpai VerinSenpai commented Jun 25, 2025

About the PR

Why / Balance

I have now made it my mission to move these reusable methods to systems 😠

With that said, I moved MakeSentient to server side MindSystem and updated references accordingly (including cleanup up using statements as I went). I felt like the MindSystem was a good place for this but I can of course make a new system for it if that is so desired.

Otherwise performed localization and cleanup of the makesentient command. I moved the EntityExists check to the line with TryGetEntity because that was as it was in the electrocute command and I felt this made sense. Do comment on it if that is wrong.

Requirements

Breaking changes

MakeSentient method has been moved from MakeSentientCommand.cs to Content.Shared\Mind\SharedMindSystem.cs and the EntityManager variable was removed. Calls to this method will need to be updated.

@github-actions github-actions bot added size/M Denotes a PR that changes 100-999 lines. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted labels Jun 25, 2025
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@VerinSenpai
Copy link
Contributor Author

WHY GOD WHY!!!

@github-actions github-actions bot removed the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Jun 27, 2025
Copy link
Contributor

@Fildrance Fildrance left a comment

Choose a reason for hiding this comment

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

Very minor changes request, looks good overall :3

@Fildrance Fildrance self-assigned this Jun 28, 2025
@VerinSenpai
Copy link
Contributor Author

Fildrance?!? How can this be??? ill get it done

@VerinSenpai VerinSenpai requested a review from Fildrance June 29, 2025 03:53
@VerinSenpai
Copy link
Contributor Author

Good call on the EnsureComp shortcut. I was a touch confused by what you meant but I got it.

Copy link
Contributor

@Fildrance Fildrance left a comment

Choose a reason for hiding this comment

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

looks good to me

@Fildrance Fildrance added T: Refactor Type: Refactor of notable amount of codebase D3: Low Difficulty: Some codebase knowledge required. S: Approved Status: Reviewed and approved by at least one maintainer; a PR may require another approval. P3: Standard Priority: Default priority for repository items. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Jul 20, 2025
using Robust.Shared.Player;
using Robust.Shared.Utility;
using System.Diagnostics.CodeAnalysis;
using Content.Shared.Emoting;
Copy link
Member

Choose a reason for hiding this comment

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

sort alphabetically

[Dependency] private readonly FollowerSystem _followerSystem = default!;
[Dependency] private readonly TransformSystem _transform = default!;
[Dependency] private readonly SharedMindSystem _mindSystem = default!;
[Dependency] private readonly MindSystem _mindSystem = default!;
Copy link
Member

Choose a reason for hiding this comment

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

keep the Shared system and move the command to shared instead

@VerinSenpai
Copy link
Contributor Author

You got it boss man

@PJBot PJBot removed the S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. label Jul 23, 2025
@slarticodefast slarticodefast merged commit 83b3e9e into space-wizards:master Jul 23, 2025
11 checks passed
@VerinSenpai VerinSenpai deleted the make-sentient-command branch July 23, 2025 13:01
FairlySadPanda pushed a commit to FairlySadPanda/honk-station-15 that referenced this pull request Jul 25, 2025
…m. (space-wizards#38565)

* praying pjb doesn't smite me for this 🙏

* requested changes

* Update makesentient-command.ftl

* verin commith and verin taketh away
Princess-Cheeseballs pushed a commit to Princess-Cheeseballs/space-station-14 that referenced this pull request Aug 1, 2025
…m. (space-wizards#38565)

* praying pjb doesn't smite me for this 🙏

* requested changes

* Update makesentient-command.ftl

* verin commith and verin taketh away
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D3: Low Difficulty: Some codebase knowledge required. P3: Standard Priority: Default priority for repository items. S: Approved Status: Reviewed and approved by at least one maintainer; a PR may require another approval. size/M Denotes a PR that changes 100-999 lines. T: Refactor Type: Refactor of notable amount of codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants