TacGenericConverter conversionRate field
PhineasFreak opened this issue ยท 10 comments
One of the nice things of the old TACLS resource converter was that you could scale the imput/output rates by using the "conversionRate" field. Easier than changing all the rates by hand.
Since the current TACLS resource converter already adds custom parameters to the ModuleResourceConverter (like the "requiresAtmo" parameter) would be possible to also support the "conversionRate" parameter?
Yeah been thinking about that.
TACGenericConverter now just uses the stock ModuleResourceConverter which does not support a conversionRate. BUT, it could if I add it in.
OR, option 2 is use MM variables to do it.
Added conversionRate field (float value accepted so can have decimal values) to TACGenericConverter. Optional PartModule field. Defaults to value of 1. Value must be > 0 otherwise is set to 1.
If supplied and not equal to 1 will multiply all inputs, outputs, requirements node resources by this value.
Wow, that was quick! I really appreciate it that you took the time to add it!
No probs. should have done to begin with when I converted it over. Knew it! I haven't tested it yet. I'll do a dev build tomorrow and post here so you can test it out.
Here is the Dev build link:
https://github.com/KSP-RO/TacLifeSupport/releases/tag/v0.12.7dev
Thanks mate. Good to hear. got a bit of noise of other bugs being reported. so will need to look at those before I do the next version release.