[global]
descname=_ Arena
type=training
size=big
buildable=yes
buildicon=arena_build.png
enhances_to=colosseum
worker=carrier
max_soldiers=8
train=evade
program=Sleep
program=upgrade_evade_0 # This is needed to run the scripts

[Sleep]
0=sleep 5000

[evade]
min_level=0
max_level=0

[upgrade_evade_0]
0=check bread
1=check fish,meat
2=check_soldier evade 0 # Fails when aren't any soldier of level 0 attack
3=sleep 30000
4=check_soldier evade 0 # Because the soldier can be expulsed by the player
5=consume bread
6=consume fish,meat
7=train evade 0 1

[inputs]
bread=10
fish=6
meat=6

[buildcost]
trunk=2
stone=4
marble=5
wood=5
marblecolumn=2

[idle]
pics=arena_i_??.png  # ???
hotspot=82 98

[working]
pics=arena_i_??.png  # ???
hotspot=82 98

[build]
pics=arena_i_??.png  # ???
hotspot=82 98
