-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
faraday CBM now protects your bionic power #77824
faraday CBM now protects your bionic power #77824
Conversation
for the two faraday chainmails, and things that become `ELECTRIC_IMMUNE` when turned on, suggesting some sort of active field
Discussion has pointed me to a previous discussion of different devs (discord link) revealed that EMP-proof properties don't really apply for faraday cages that are not electrically connected to the items they are trying to protect. This liberates me from worrying about implementing special pocket properties (but still need to make sure magic mods can have all the The purpose of the PR, preventing bionic power storage being sapped of its energy even while things such as the suits and |
If I were to finish this up and leave it for the merger to decide, I would probably:
Cataclysm-DDA/src/explosion.cpp Lines 817 to 824 in 65b3721
But just wait for a bit in case anyone else has anything to say.
|
Summary
None
Purpose of change
Tightly woven faraday cages should protect against any waves smaller than the earths magnetic field.I interpret
bio_faraday
as though it's creating a pseudo-faraday cage, because my biggest issue is electric fields draining your power despite apparently protecting against shocks.The RM13 and Phase Immersion Suit are changed because:RM13 is explicitly onlyELECTRIC_IMMUNE
when powered, so I figure whatever is going on, it's probably actively deflecting incoming disturbances.Phase Immersion Suit is both (whatever I said above) as well as being designed for very hostile environments. Maybe even something close to solar flares.Describe the solution
Right now I've dragged together everything I've found that is either a faraday cage or what presumably uses some sort of powered EMP neutralization. Not merely any big blanket or bodyglove made of nomex.This being in draft: I only intend to prevent bionic power being drained. The current edits seemingly making your smartphone in your backpack immune to being fried is unintended.Add another flag, apply it to
bio_faraday
, make the bionic power drain check for it.Describe alternatives you've considered
Testing
With an active
bio_faraday
, I don't lose power, but my items still break.Additional context