Bionic power supply tool mod#57501
Merged
Fris0uman merged 3 commits intoCleverRaven:masterfrom Sep 1, 2022
Merged
Conversation
Contributor
Author
|
|
2d37f05 to
bfb1e48
Compare
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Fris0uman
reviewed
Aug 3, 2022
bombasticSlacks
approved these changes
Aug 3, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Content "Adds a craftable kit to convert devices to use bionic power. Become buddies with Rubik to learn how."
Purpose of change
With CBMs being sourced from the Exodii now, the bionic UPS doesn't make much sense anymore. However, a tech-wielding, wayfaring nomad needs to power the gadgets in their backpack somehow and their internal power generators would be ideal if they could just tap into that energy somehow.
Describe the solution
The basic bionics kit the Exodii initially install in us includes an external interface we already now use to power some of the Nomad gear, so if that interface can supply bionic power why don't we connect that to a power converter and attach it to our own technology? With some electronics know-how and at least a vague explanation of what that Exodii interface wiring kit does, someone handy with soldering and electric circuits shouldn't have trouble doing just that.
To begin with we first need to become good buddies with the Exodii. Get to the point where Tier 3 CBMs are being offered to you and Rubik will also offer to sell you the technical reference for the Exodii CBM interface wiring kit (along with some more surplus wiring kits being made available for you to purchase).
See Screenshot 1 for the tech reference.
It's hard to understand the alien technical reference, but at least someone left notes to make it possible to decipher if you know what you're looking for. If you have at least 4 knowledge in electronics you'll learn enough to know which wires are the important wires for your power project.
See Screenshot 2 for the recipe.
Once you make the tool mod, activate it and install it just like a UPS conversion mod! Speaking of a UPS, it can't be installed on a UPS or devices that normally get power from a UPS. The former requires fixing an issue with how UPSes work, and the latter requires modifying how tool mods modify devices they're installed on. Anyway, see screenshot 3 for my bionic-powered flashlight.
I'd post a screenshot of my flashlight lighting up an evac shelter basement and draining my bionic power pool while waiting for 30m, but you'll probably take my word for it.
The single line I changed in C++ should be self-explanatory: it's to prevent having both the USE_UPS and USES_BIONIC_POWER flags on the same object simultaneously, and to prevent bricking a UPS by installing this mod on one. Again, the UPS is coded with a special way to consume power that's incompatible with this.
Describe alternatives you've considered
Figuring out how to fit a bionic UPS into the new bionics lore. UPSes are already probably going to be cut content soon enough so I figured I could just ignore them with my solution.
Making the cable charger CBM specifically provide (and be a requirement for) power to devices. This would require a bunch of new C++ code to implement, while the solution I've come up with makes use of already existing features and already existing item flags.
Testing
I downloaded and compiled the repo with my single changed C++ line, which resolved (or rather prevents) a bug I observed before I'd made that change. I've manually confirmed Rubik will begin to stock the tech reference and extra wiring kits at 20 favor with the Exodii, and I've made my new recipe then attached it to devices to test that they draw power from my character's bionic power pool.
Unless there are other tools with special power consumption code like the UPS that I don't know about, there shouldn't be any battery powered tools that can break with this tool mod installed.
Context