Building:Hideout

__NOWYSIWYG__

Building information
A wise leader always has a eye on both his allies and his enemies. The Hideout allows you to hire spies who are able to provide you with information from the inside of other towns. A larger hideout provides space for more spies.

Spy recruitment
Recruiting spies costs and, as well as a short amount of time spent on training. Unlike military units, spies require no upkeep costs. However, like military units and ships, the higher level the hideout is, the less time is used for training a spy.

The formula that calculates the training time (in seconds) of a spy on the nth level of Hideout is the following: $$Training \ time = \left \lbrack 900.12 \times e^{-0.0513 \times n} \right \rbrack$$

Use of spies
Once "activated" and sent on an espionage mission, the spy (for a fee) will try to infiltrate the target town. After the infiltration has been successful, the spy remains stationed in the target town, and can be assigned new orders, or recalled back to his original Hideout. While a spy is stationed in a foreign town you will be able to see the levels of all the infiltrated town's buildings. Seeing an enemy town's building levels after a spy infiltrates a town does not increase the risk at all.

Any trained spies, which have not been sent with espionage orders and remain in the Hideout, are working in defense, increasing the chance of failure of enemy's espionage missions on the town they are stationed in.

Expansion Details
The time (in seconds) it takes to upgrade to the next level is determined by the following formula: $${ \text{Building time (seconds)} = \left \lbrack \cfrac{96,000}{7} \times 1.05 ^ \text{Level} - 12,960 \right \rbrack }$$

The accumulative time (in seconds) it takes to upgrade up to the next level is determined by the following formula: $${ \text{Accumulative building time (seconds)} = \left \lbrack 288,000 \times \left (\ 1.05^\text{Level} -\ 1\ \right ) - 12,960 \times \text{Level}\right \rbrack}$$

__NOWYSIWYG__

Building:Hideout/1-10|1-10 Building:Hideout/11-20|11-20 Building:Hideout/21-30|21-30 Building:Hideout/31-32|31-32