linuxgurugamer / FuseBoxContinued

Keep track of your electrical usage
GNU General Public License v2.0
3 stars 2 forks source link

Add support for KopernicusSolarPanel to power calc #10

Closed tivec closed 6 years ago

tivec commented 7 years ago

Note: This edit is not tested since I don't have a dev environment for KSP mods set up.

That said, KopernicusSolarPanel inherits ModuleSolarPanel (see https://github.com/Kopernicus/Kopernicus/blob/master/Kopernicus/Kopernicus.Components/KopernicusSolarPanel.cs), and updates the flowRate field, so there shouldn't be any issues.

reseune commented 6 years ago

Can I +1 this? I am seeing the same issue and if someone would like to create a fix, I will make a KSP environment to test with just Kopernicus (and / or whatever mods linuxgurugamer or whomever wants me to test).

linuxgurugamer commented 6 years ago

@reseune here you go: https://www.dropbox.com/s/zu96dgkfnvfpkk5/FuseBoxContinued-0.1.15.4.zip?dl=0 Let me know how it goes

reseune commented 6 years ago

Okay, this seems to solve the problem. I tried it with Stock + Kopernicus (and obviously this mod) as well as just stock, and it worked to show solar panel power generation. I tried it Sandbox and Career, and I also tried it in a heavily modded install with NFE and other modded solar panels. It works. 👍