Geothermal Generator Unit
"Harnesses geothermal energy from the surrounding environment, and improves protection against damage from heat sources. Install multiple for faster charging and greater protection."
The Geothermal Generator Unit is a Module that when installed in the Mekasuit Pants provides reduction against heat damage and energy generation from heat sources.
Effect
The player takes 10% x installedCount less fire damage, up to 80% reduction with maximum number of modules installed before draining energy from the suit. The player also generates energy based on how hot they are compared to the ambient temperature: the hotter, the more energy generated per second.
Detailed Effects
For every kind of fluid the player is submerged deeper than 0.25 blocks in, take its average temperature over every intersected block, calculate the temperature difference between it and the ambient temperature (300), and scale that by the percentage of pants submerged in it. The highest result is taken as the temperature of the pants.
If the resulting temperature is lower than 200, and the player is on fire, set it to 200.
The resulting energy generation per tick is then base * temperature * installed. base is 10.5 Joules, but can be configured. installed is how many modules are installed, up to 8.
For a list of vanilla and Mekanism fluid temperatures, see Fluid Temperature.
|