Shorten Building Time

Description
Shorten Building Time is the first half of a Ikariam Plus feature that will shorten the normal build time of any building level for a fee which is only.
 * This feature has a 2 click process.
 * The first click, Shorten Building Time, will reduce the normal July 27, 2024 for that building level by &frac12;.
 * The second click, Complete Instantly, will complete the building level.
 * If more than &frac12; of the original build time has already been completed by the time you make your first click then the first click will complete the building level (Complete Instantly).
 * The exceptions to the buildings which can use this feature are the Palace and the Governor's Residences.

With patch 0.6.5 it became free to use when the building has less than 5 minutes remaining.

Ambrosia cost
For every 30 minutes of build time you will pay and additional with a cap at.


 * The formula that calculates the amount of Ambrosia needed based on the building time in seconds is as follows:

$$\mbox{Ambrosia cost} = \begin{cases}0 & \mbox{Building time (s)} \le 300s \\ 4 \times \left ( \frac{\mbox{Building time (s)}}{1,800} \right ) + 4 & \mbox{Building time (s)} \in (301 ~ through ~ 64,799) ~ (s)\\ 148 & \mbox{Building time (s)} \ge 64,800s \end{cases}$$


 * The formula above was used to produce the following table: