#----------------------------------------------------------------------------
#
# Project      : Call To Power 2
# File type    : Text file
# Description  : The risk level database text file
# Id           : $Id:$
#
#----------------------------------------------------------------------------
#
# Disclaimer
#
# THIS FILE IS NOT GENERATED OR SUPPORTED BY ACTIVISION.
#
# This material has been developed at apolyton.net by the Apolyton CtP2 
# Source Code Project. Contact the authors at ctp2source@apolyton.net.
#
#----------------------------------------------------------------------------
#
# Modifications from the original Activision code:
#
# - Converted to the new database format. The old format can still be parsed.
#   (Aug 29th 2005 Martin Gühmann)
# - Changed MaxSponateousbarbs since this is where they are randomly created
#   and there was differentiation with levels (only with huts)
#
#----------------------------------------------------------------------------

#4 #Risk levels

RISK_VILLAGES_ONLY {
	HutChanceBarbarian 0.00
	HutChanceGold 0.3
	HutChanceAdvance 0.15
	HutChanceUnit 0.25
	HutChanceCity 0.05
	HutChanceSettler 0.05
	HutMaxBarbarians 0
	HutMaxAdvancePrerequisites 1
	HutMaxUnitPrerequisites 2
	HutMaxGold 300
	HutMinGold 150
	
	BarbarianChance 0.00   #Chance of barbarians appearing at random

	# When choosing barbarian types, all units available to players
	# are looked at.  The best unit that will be considered is the RANK_MAX'th
	# best unit available to anyone (0 meaning the best unit)
	# The worst that will be considered is the RANK_MIN'th.
	# value is determined solely by attack strength.
	BarbarianUnitRankMax 15
	BarbarianUnitRankMin 30
	MaxSpontaniousBarbarians 0
	BarbarianFirstTurn 20
	BarbarianLastTurn 350
	BarbarianMinimumDistance 5
}

RISK_BORING_HORDES {
	HutChanceBarbarian 0.10
	HutChanceGold 0.25
	HutChanceAdvance 0.15
	HutChanceUnit 0.25
	HutChanceCity 0.05
	HutChanceSettler 0.05
	HutMaxBarbarians 3
	HutMaxAdvancePrerequisites 1
	HutMaxUnitPrerequisites 3
	HutMaxGold 400
	HutMinGold 200
	
	BarbarianChance 0.05   #Chance of barbarians appearing at random

	BarbarianUnitRankMax 15
	BarbarianUnitRankMin 25
	MaxSpontaniousBarbarians 3 # 1
	BarbarianFirstTurn 20
	BarbarianLastTurn 350
	BarbarianMinimumDistance 5
}

RISK_DECENT_HORDES {
	HutChanceBarbarian 0.20
	HutChanceGold 0.25
	HutChanceAdvance 0.15
	HutChanceUnit 0.15
	HutChanceCity 0.05
	HutChanceSettler 0.05
	HutMaxBarbarians 4
	HutMaxAdvancePrerequisites 1
	HutMaxUnitPrerequisites 4
	HutMaxGold 500
	HutMinGold 250
	
	BarbarianChance 0.10   #Chance of barbarians appearing at random

	BarbarianUnitRankMax 10
	BarbarianUnitRankMin 20
	MaxSpontaniousBarbarians 4 #2
	BarbarianFirstTurn 20
	BarbarianLastTurn 350
	BarbarianMinimumDistance 5
}

RISK_RAGING_HORDES {
	HutChanceBarbarian 0.25
	HutChanceGold 0.2
	HutChanceAdvance 0.20
	HutChanceUnit 0.15
	HutChanceCity 0.05
	HutChanceSettler 0.1
	HutMaxBarbarians 6 #4
	HutMaxAdvancePrerequisites 1
	HutMaxUnitPrerequisites 5
	HutMaxGold 700
	HutMinGold 350
	
	BarbarianChance 0.20   #Chance of barbarians appearing at random

	BarbarianUnitRankMax 8
	BarbarianUnitRankMin 15
	MaxSpontaniousBarbarians 6 #2
	BarbarianFirstTurn 20
	BarbarianLastTurn 350
	BarbarianMinimumDistance 5
}
