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


The Ancient Temple is a Reborn-tier item that came out on June 2nd. It has a complicated mechanism included when upgrading ore value. When it was first released, Berezaa offered 5k R$ to the first user that could figure out the effects of the item.


When ores enter the Ancient Temple, the upgrader finds the overvalue and divides it by 7. It would then multiply the orevalue based on the remainder of the process (from x1-x6). If the remainder is a decimal then it would be rounded 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 thirty-six whole times with a remainder of 3. The ore value, in that case, would be tripled.

The minimum multiplier is x1, even if the ore's value is a multiple of 7.

This item is currently bugged. For any ore worth at least 1qd it will assume their ore value is divisible by 7. The reason is the script failing to find the remainder of such high value ore (some Lua limitation). Therefore it only does x1 for any ores worth at least 1qd.

Pro Tips

The Ancient Temple is not an impressive upgrader by itself post-nerf. Due to the game's use of Cash Suffixes, it is hard to detect which numbers are actually divisible by 7, so it might not even upgrade your ores.

The way that Ancient Temple multiplies ores with random overvalue (Newtonium, Atomium, etc.) can be very unpredictable. It would help to use mines with a fixed ore value instead, 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 had some negative attention because it used to break money and had a value limit, which is why most players don't use this reborn item.
  • This item had used Lua's modulus operator which is broken. The modulus operator gets the remainder from the division, but it is doing something really weird under the hood. This resulted in people getting huge multipliers when over around $10qd on occasion. The multipliers would usually be around oreValue / 2^53, or oreValue / 1e15. Thus, the higher the input ore value was, the higher the multiplier was.
  • The Ancient Temple was an item used to "break" your cash prefix, appearing with a number and then an endless decimal. (The glitch is now fixed.)
  • Before 4/20/18, this and the Ancient Coliseum could multiply ore value by 0.
  • This used to be the only upgrader that is able to make your ores' values go to $0 without the assistance of other upgraders.
  • Because of the bug described above, this and Ancient Coliseum will only do x1 in any endgame setups. They are practically useless for any high-life player and should be remade since the bug probably cannot be fixed (it's a problem with Lua).