SSTUSolarPanelDeployable - SSTUResourceBoiloff - Public Accessible 'EC In/Out' methods
shadowmage45 opened this issue ยท 4 comments
Allow for external mods to query for the resource costs/generation from these part-modules.
Returned values should reflect the maximum (nominal) values for the current part configuration in cases where parts can be modified.
- Boiloff should return the maximum EC/s consumed for full storage tanks
- Solar panel should return the nominal EC output for fully-lit panels in orbit of Kerbin/reference distance and temperature.
Modules that need hooks:
- SSTUModularPart - Solar Panel
- SSTUSolarPanelDeployable
- SSTUSolarPanelStatic
- SSTUResourceBoiloff
Implemented for ModularPart in dev --
SSTULabs/Plugin/SSTUTools/SSTUTools/Module/SSTUModularPart.cs
Lines 426 to 432 in 175dbc7
Implemented in SolarPanelDeployable --
Already implemented in SolarPanelStatic
SSTULabs/Plugin/SSTUTools/SSTUTools/Module/SSTUSolarPanelStatic.cs
Lines 21 to 22 in 58f0590
Implemented for ResourceBoiloff:
SSTULabs/Plugin/SSTUTools/SSTUTools/Module/SSTUResourceBoiloff.cs
Lines 39 to 44 in 0bf5aa4