When mining and refining resources, Megajoules should only be consumed when there are input materials available AND there's storage onboard for the output materials.

This patch prevents a deadlock refueling condition. For example, on mun, a 1.25m generator + sethanes fission reactor cannot supply enough power to both mine alumina and electrolyse it into aluminum and oxidizer. If both options are enabled on the ISRU, the mining will take precidence and starve the electrolysis process of megajoules even when the alumina storage on the ship is full. With this patch applied, the mining function will stop consuming megajoules when there is no more room to store the alumina, so there will be power for the electrolysis to consume the alumina. This allows the ship to be refueled without requiring the player to constantly turn on and off the alumina mining option (although it will still be slower than if sufficient power generation were available).
- fixed typo in #4
patch note
Refund unused resources if refining/mining cannot be completed.
One more time. Refund power and base resources unused in refining/mining.
Added red-effect to heat radiators
Increased glow texture red component
Enable the effects only for radiator*
Large and Radial are also colored based on the temperature
- precooler fix
- rollback isru function changes
- first pass reactor balance
All radiator support emissive and bump maps
Fixed emissive of large, normal  and inline radiators

Inline and large red color is now bright as the other radiators and the
normal radiator color follows the same scale as the others.
Removed forgotten unused variable
Added configuration and fixed texture/colors

Colors are now even between components.
The texture colors are applied with a 0.0f-1.0f interval at the power of
3 to make the glow effect increase exponentially as the temperature
rises.
Added a configuration key to disable the feature completly.
- partial tweakscale integration
- clean up
- fix red hot radiators
cleanup
- more tweakscale
- more part changes
- rename project to match mod name
- reorganization work