[global]
descname=_ Arena # nicer name to display in GUI

type=training		# basic type (warehouse, production, military)
size=big
buildable=yes
buildicon=arena_build.png
enhances_to=colosseum
worker=carrier
max_soldiers=8				# Number of soldiers that caught at the building
train=evade				# May be attack,defense,evade,hp Allowed more than one separated by ','
program=Sleep
program=upgrade_evade_0		# This is needed to run the scripts

[Sleep]
0=sleep 5000

[evade]		# Attack leveling
min_level=0		# First will be : upgrade_attack_0
max_level=1		# Last  will be : upgrade_attack_1 (that level ups to Level 1)

[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		# Upgrade the attack of soldier of level 0

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

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

[idle]
pics=arena_i_??.png  # ???
hot_spot_x=82
hot_spot_y=98
clrkey_r=255
clrkey_g=255
clrkey_b=0 
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

[working]
pics=arena_i_??.png  # ???
hot_spot_x=82
hot_spot_y=98
clrkey_r=255
clrkey_g=255
clrkey_b=0  
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

[build]
pics=arena_i_??.png  # ???
hot_spot_x=82
hot_spot_y=98
clrkey_r=255
clrkey_g=255
clrkey_b=0  
shadowclr_r=255
shadowclr_g=0
shadowclr_b=0

