Lightning Rod (GregTech 6)

The Lightning Rod is an expandable 3x6x3 multiblock structure added by GregTech 6 for Christmas 2018. It generates very large amounts of electrical energy (EU) sporadically when exposed to the sky, more often in rainy or stormy weather. Adding more of the eponymous Lightning Rod blocks also reduces wait times.
==Recipe==
==Construction==
In addition to the Lightning Rod Electric Output, and one to 100 Lightning Rod blocks, the structure requires
* 26 
* 18 
The 99 additional Lightning Rod blocks are to be stacked in a single column on top of the structure.
==Usage==
To operate, the topmost Lightning Rod block must be at or above y-level 100 and have a clear view of the sky. 
Energy in the internal buffer will drain at one amp even if no power is drawn.
Once the internal buffer is empty (less than 32768EU remain), there is a small chance every tick that the rod will be struck by lightning and fully recharged. The expected wait time before recharging is c. under best conditions. It will tend to wait longer if the weather is merely cloudy / rainy instead of storming, or if other rods are 'nearby'. The biome is not checked, only the world weather type, so Desert windstorms and Tundra blizzards will work just as well.
==Behavior==
The precise chance of recharging is:
rng(1000000) < Math.min(100, size) && ( isThundering || (isRaining && rng(10)==0) )
&& rng(countRodsNearby) == 0
Which is 0.01% per tick with a full stack of 100 Lightning Rod blocks during a thunderstorm, and no other Lightning rods in range. It takes ten times as long during rainy / cloudy weather, and up to a hundred times longer if the rod is short.
This chance is divided by the number of valid Lightning Rod structures in a 512m square centered on the one being ticked (including itself).
Nearby Lightning Rods are determined from a registry, it does not matter if the others are chunk loaded or not, simply building them will reduce the chance of this rod recharging.
The full charge from a lightning strike is 18000 LuV packets. To get optimal power production an array of 16 Large Battery Boxes and five Transformers is needed to drain all 16 amps, which takes 1125 ticks. On average, a full size Lightning Rod would produce 53,018 EU per tick in a world that is constantly stormy.
Category:GregTech 6Category:GT6-EU PowerCategory:Energy productionCategory:Machines that use lightning