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

Made Sec Hud Show Borg Job Icons + Made Borgs Unimplantable #26004

Closed

Conversation

Zadeon
Copy link
Contributor

@Zadeon Zadeon commented Mar 11, 2024

About the PR

This PR makes it so that people wearing sec huds will see the borg job icon beside borgs instead of the unknown job icon. This only works with station borgs and not syndicate borgs. Syndicate borgs will show up as unknown to people wearing sec huds. Also I found through testing that borgs didn't have the Unimplantable tag, so this PR also fixes that.
Closes #25211
(I had to remake this PR because I broke the original branch when merging).

Why / Balance

It felt strange that we had the borg job icon available but borgs would always show up as unknown when using the sec hud so I wanted to fix that. Unfortunately, this change clashes with the current ruling for borgs where if somebody has a job icon displayed then it means they're a crew member. This change makes borgs also see borg job icons for other borgs (because they use the same system sec huds use for showing job icons). I'm making this PR now in the state it's currently in because I could not for the life of me figure out how to code it so that if you are playing as a borg you do not see job icons over other borgs. Also couldn't figure out how to make syndicate borgs show the borg job icon if you're playing as a nuke op. I'm willing to implement this functionality if somebody can show me how (or leave the PR as is and we redefine borg rules, whichever is easier).

Technical details

In ShowSecurityIconsSystem.cs inside the DecideSecurityIcon function, it will now check if the entity has the BorgChassisComponent and does not have the ShowSyndicateIconsComponent. If true, it will grab a new BorgJobIcon field added to BorgChassisComponent which holds the JobIconBorg status and set jobIconToGet to this value.
Added Unimplantable to the tags of BaseBorgChassis.

Media

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase
    PoV of a crew member wearing sec hud:
    image
    PoV of a station borg:
    image
    PoV of a nuclear operative:
    image

Breaking changes

None.

Changelog

🆑

  • tweak: Job icons for borgs can now be seen while wearing sechud.
  • fix: Borgs can no longer be implanted.

…but not a syndicate) and if so to add the borg job icon to the result.

Updated BorgChassisComponent.cs to include a new field called "BorgJobIcon" that holds the borg's job icon.
Updated base_borg_chassis.yml to include the Unimplantable tag.
@metalgearsloth
Copy link
Contributor

@Zadeon PR doesn't work so are you coming back to fix this.

@metalgearsloth metalgearsloth added the S: Derelict Status: Abandoned, but may contain something that can be salvaged. label Apr 18, 2024
@github-actions github-actions bot added the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Apr 18, 2024
Copy link
Contributor

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

@Zadeon
Copy link
Contributor Author

Zadeon commented Apr 19, 2024

@Zadeon PR doesn't work so are you coming back to fix this.

I probably won't be able to work on this at the moment, sorry.

@mirrorcult
Copy link
Contributor

reopen if you're able to come back to this

@mirrorcult mirrorcult closed this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Derelict Status: Abandoned, but may contain something that can be salvaged. S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

station borgs should have borg icon on sechud
3 participants