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

fix powered lights electrocuting you despite having insulated gloves #32409

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MilonPL
Copy link
Contributor

@MilonPL MilonPL commented Sep 23, 2024

About the PR

Lights will no longer electrocute you while wearing any gloves with the InsulatedComponent

Why / Balance

i'm guessing that was always the indented behavior but no one implemented it because of how the AttackedEvent works, considering how it checks for the component when interacting
also needed to fix DeltaV-Station/Delta-v#909 downstream

Technical details

Checks for InsulatedComponent on the entity (if for whatever reason it has one), if false, moves on to check the gloves, and adjusts the siemens coefficient accordingly, otherwise defaults to 1.

Requirements

Breaking changes

None

Changelog

🆑

  • fix: Punching lights while wearing insulated gloves will no longer electrocute you.

@metalgearsloth metalgearsloth added the Status: Awaiting Changes This PR needs its reviews addressed or changes to be made in order to be merged. label Sep 23, 2024
@github-actions github-actions bot added Status: Needs Review This PR requires new reviews before it can be merged. and removed Status: Awaiting Changes This PR needs its reviews addressed or changes to be made in order to be merged. labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review This PR requires new reviews before it can be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mouseop cant punch lights
2 participants