Floofies / NovaSector

The Blue Moon Branch is an enhanced fork of Nova Sector. This repository contains development branches for contributing to The Blue Moon Branch and NovaSector.
https://ko-fi.com/bluemoonclub
GNU Affero General Public License v3.0
3 stars 9 forks source link

[MODULAR] Cell Charging for Synths #1

Closed Floofies closed 7 months ago

Floofies commented 7 months ago

About The Pull Request

This PR is a deliverable for a bounty. Most of the bounty was implemented except for visual attachment.

The changes included in this PR enables the "power cord implant" to directly charge from power cells.

How This Contributes To The Nova Sector Roleplay Experience

Bounty Descriptuon

"Unlocks the space-age technology of inductive-charging for our synthetic humanoids. This would be adding functionality to the power-cord implant to function on cells outside of an APC (stealing some functionality from Ethereals, who can already do this). The implant would thus be renamed to "Charging Implant" instead, and would require a minor sprite update so that the cell looks visually attached to the cord when draining power from it, in-hand (mob sprite change not required here).

This would be beneficial for Synthetic Humanoids who usually don't leave their workplace often and max out the room's APC rather quickly, and Synthetics carrying around batteries to snack on is very flavorful - not to mention very helpful for synthetic miners."

Testimony from Lieutenant Commander Data
>"I initiated the testing process as per your instructions. Commencing with the connection to a standard power cell, followed by testing with an EPS conduit's inverter. I monitored the energy transfer, automatic disconnection, and subsequent internal power cell charge. > > Connection to a standard power cell was successful. The power cord effectively received energy, and the automatic disconnection mechanism engaged as the minimum energy level was reached. Subsequently, my internal power cell was observed to have increased to its maximum level. Testing with an EPS conduit's inverter also yielded positive results. The power cord efficiently interfaced with the inverter, underwent the automatic disconnection process upon reaching the minimum energy level, and successfully increased the internal power cell charge to its maximum level. > >The implant appears to function as intended, demonstrating reliability and safety. The new power cord implant offers a more direct and efficient method of energy transfer, minimizing downtime for recharging. Prior to the new design, I relied on traditional charging methods, often requiring a dedicated charging station. The new implant enhances my operational efficiency by allowing for on-the-go charging, which aligns with the principles of productivity and adaptability. > > Given the positive results of the testing and the potential operational benefits, I would cautiously recommend the implant to other synthetic life forms. I trust that the information I have provided will be valuable in Nanotrasen's decision-making process. If there are further inquiries or if additional assistance is required, please do not hesitate to contact me. > >Respectfully, >Lieutenant Commander Data, >United Federation of Planets, Starfleet

Proof of Testing

Tested extensively by a well-known "Soong-type" synthetic intelligence and android-lifeform, Lieutenant Commander Data.

Screenshots/Videos
https://github.com/Floofies/NovaSector/assets/17753498/925a39d0-98e8-4a44-8a0b-fa909417a709

Changelog

:cl: add: Enabled the synth power cord implant to charge from any power cell. Renamed it to charging implant. /:cl: