A guide to the EDB.
Here's a real example of one (Parthian Royal Clan building):
Code:
parth_rcl requires factions { f_parthia, } and not building_present govallied and not event_counter ecParthia_Imperial 1
{
capability ;;; Recruitment pool: 15 * 0.04 - preferring top- and low-tier units
{
;;; SARMATIA
recruit_pool "steppe cavalry early sarmatian nobles" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource sarmatian
recruit_pool "steppe cavalry sarmatian horse archers" 1 0.25 4 0 requires factions { f_parthia, } and hidden_resource sarmatian
recruit_pool "steppe infantry sarmatian archers" 1 0.2 5 0 requires factions { f_parthia, } and hidden_resource sarmatian
;;; SAKA
recruit_pool "steppe cavalry early saka nobles" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource saka
recruit_pool "steppe cavalry saka horse archers" 1 0.24 4 0 requires factions { f_parthia, } and hidden_resource saka
recruit_pool "steppe infantry saka archers" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource saka
recruit_pool "steppe infantry saka axemen" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource saka
;;; DAHA
recruit_pool "steppe cavalry parthian cataphracts" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource daha
recruit_pool "steppe cavalry dahae horse archers" 1 0.25 5 0 requires factions { f_parthia, } and hidden_resource daha
recruit_pool "steppe infantry gundi nizagan" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource daha
recruit_pool "steppe infantry parthian archers" 1 0.12 3 0 requires factions { f_parthia, } and hidden_resource daha
;;; ESLEWHERE
recruit_pool "steppe cavalry parthian cataphracts" 1 0.08 2 0 requires factions { f_parthia, } and not hidden_resource sarmatian and not hidden_resource saka and not hidden_resource daha
recruit_pool "steppe cavalry parthian horse archers" 1 0.12 3 0 requires factions { f_parthia, } and not hidden_resource sarmatian and not hidden_resource saka and not hidden_resource daha
recruit_pool "steppe infantry gundi nizagan" 1 0.08 2 0 requires factions { f_parthia, } and not hidden_resource sarmatian and not hidden_resource saka and not hidden_resource daha
recruit_pool "steppe infantry parthian archers" 1 0.08 2 0 requires factions { f_parthia, } and not hidden_resource sarmatian and not hidden_resource saka and not hidden_resource daha
The number you need to alter if you want to adjust refresh is the decimalised one. 1/(that number) determines how many turns it takes before a new unit becomes available.