Ancient Temple

"Applies ancient math to ore, changing their value only once in a mysterious but nonrandom way."

Overview
Ancient Temple is a garbage tier item that came out on June 2nd. Ancient Temple has the most complicated effect out of all items in Miner's Haven. When it was first released, Berezaa offered 5K R$ to the first user that could figure out the effects of the ore.

Functionality
When ore enter the Ancient Temple, Ancient Temple finds the overvalue then divides it by 7. Ancient Temple would then multiply the actual and multiplies based on the remainder (from 0-6x), if the remainder is a decimal then it would round to the nearest whole number.

One example would be 6 divided by 7. The remainder would be 6 as 7 goes into 6 zero whole times. Another example would be 255 divided by 7, 7 can go into 255 36 whole times with a remainder of 3, the orevalue in that case would be tripled.

If the overvalue was divisible by 7 a whole number of times for example, 14 divided by 7 then the remainder would be zero then the orevalue would be multiplied by zero making the orevalue $0.

PRO TIPs
Due to the way Lua (the scripting language ROBLOX uses) gets remainders, if the ore value is above $10qd when it is upgraded, the multiplier will always be 0. When the ore value becomes too big, Lua will always assume that the remainder of the number divided by 7 is 0.

The way that Ancient Temple multiplies ores with random overvalue (like Newtonium, Atomium, etc.) can be very unpredictable. It would help to instead use mines with a predictable ore value like Remote Ambrosia Mine and upgraders that increase ore value by a fixed amount like Cursed Ore Purifier or Fine-Point Upgrader so that the ore value isn't divisible by 7.

This upgrader can upgrade ores MASSIVELY when the ore value is more than $1qd+ although $1Sp+ is preferred for this kind of setup.

Here's a video that explains how it works:

☀https://www.youtube.com/watch?v=dQw4w9WgXcQ

Trivia

 * This is the only upgrader that is able to make your ores' values go to $0 without the assistance of other upgraders.
 * This upgrader sucks.
 * People defend it because it multiplies ore value by 0.