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

medsechud take 3 #1888

Closed
wants to merge 7 commits into from
Closed

Conversation

MilonPL
Copy link
Member

@MilonPL MilonPL commented Sep 21, 2024

About the PR

gives the corpsman glasses an action to switch between modes
you could already do that by just switching between the corpsman and security glasses, so this just gives it an action, overall qol increase

Why / Balance

permanent flash protection and maintains functionality but it has a 10s cooldown so you can't spam it
might lock it behind research in a separate PR and default to secmedhud

Technical details

new component, new system, adds an action that basically just switches between comps
requires space-wizards/space-station-14#32354 and space-wizards/space-station-14#32355

Requirements

Breaking changes

Changelog

🆑

  • tweak: The corpsman glassses can now switch between medical and security icons.

@github-actions github-actions bot added Changes: YML Changes any yml files Changes: C# Changes any cs files labels Sep 21, 2024
EntityManager.AddComponents(ent, ent.Comp.RemoveComponents);
}

Dirty(ent);
Copy link
Member

Choose a reason for hiding this comment

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

remove

public bool MedicalMode = true;

[DataField]
public EntProtoId<InstantActionComponent> ActionId = "ActionToggleMedSecHud";
Copy link
Member

Choose a reason for hiding this comment

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

remove

- type: GuideHelp
guides:
- Security
- Antagonists
- Medical
- type: IdentityBlocker
coverage: EYES
- type: MedSecHud # we have ComponentToggler at home
Copy link
Member

Choose a reason for hiding this comment

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

why does this not just use ComponentToggler

Copy link
Member Author

Choose a reason for hiding this comment

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

because we need to both add some and remove some components on activation
componentToggler would just add them on activation and then remove the same set of components when it's deactivated

Copy link
Member

Choose a reason for hiding this comment

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

add the inverse to it and make upstream pr too

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah real

@github-actions github-actions bot added the S: Merge Conflict Fix your PR! label Dec 19, 2024
Copy link
Contributor

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

@MilonPL MilonPL closed this Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files Changes: YML Changes any yml files S: Merge Conflict Fix your PR!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants