on_startup = {
	events = {
		ani_plus.105 # updating duck dev maximum potential
	}
}

on_chronicle_start = {
	events = {
		ani_plus.258 # settings all chronicle event (not launch on multiplayer start, so with MTTH if on it)
	}
}


on_birth = {
	events = {
		ani_plus.005 # force animal portrait
		ani_plus.006 # birth event for bear (multiple child and number of childs' bonus) and panda (multiple child, more than bear)
		ani_plus.108 # giving duck holy site bonus (if relevant)
		ani_plus.179 # horse trait on birth
		ani_plus.202 # forcing dragon religion if child is dragon culture
	}
}

on_adolescence = {
	events = {
		ani_plus.183 # starting second horse rite
	}
}
on_adolescence_pulse = {
	events = {
		ani_plus.187 # starting third horse rite
	}
}
on_adulthood = {
	events = {
		ani_plus.190 # horse caste trait comming on age
		ani_plus.205 # getting dragon's culture and education trait
	}
}

on_yearly_pulse = {
	events = {
		ani_plus.105 # updating duck dev maximum potential
		ani_plus.144 # quest tombola for cat society
		# ani_plus.207 # a trial start for a child dragon -- moved as a decision
	}
}
on_bi_yearly_pulse = {
	events = {
		ani_plus.136 # force cat ai to join one of its society
	}
}

on_death = {
	events = {
		ani_plus.003 # put up to date bears family number
	}
}

on_character_convert_culture = {
	events = {
		ani_plus.004 # remove bear cultural modifier
		ani_plus.005 # force animal portrait and add cultural modifier
		ani_plus.192 # remove horse caste trait on culture change
		ani_plus.198 # preventing dragon to change culture
		ani_plus.202 # forcing dragon religion if new culture is dragon
	}
}

on_character_convert_religion = {
	events = {
		ani_plus.202 # preventing a dragon from changing religion
	}
}

on_war_started = {
	events = {
		ani_plus.043 # hedgehog morale bonuses/maluses at war start
	}
}

on_war_ended_victory = {
	events = {
		ani_plus.076 # hedgehogg - removing war modifiers
		ani_plus.153 # cat - prosperity quest rank up
	}
}
on_war_ended_invalid = {
	events = {
		ani_plus.076 # hedgehogg - removing war modifiers
	}
}
on_war_ended_whitepeace = {
	events = {
		ani_plus.076 # hedgehogg - removing war modifiers
	}
}
on_war_ended_defeat = {
	events = {
		ani_plus.076 # hedgehogg - removing war modifiers
		ani_plus.154 # cat - prosperity quest rank up
		ani_plus.229 # remove tributary of dragon ruler
	}
}

on_loot_settlement = {
	events = {
		ani_plus.066 # hedgehog province modifier
		ani_plus.107 # reduce development level for duck
	}
	random_events = {
		cat_invasion_start = {
			5 = ani_plus.128
			95 = 0
		}
	}
}

on_siege_over_winner = {
	events = {
		ani_plus.031 # deleting big construction  (theodosian wall etc.)
		ani_plus.068 # hedgehog province modifier
		ani_plus.107 # reduce development level for duck
	}
	random_events = {
		cat_invasion_start = {
			15 = ani_plus.128
			85 = 0
		}
	}
}

on_holding_building_start = {
	events = {
		ani_plus.095 # updating panda's bureau building
	}
}

on_new_holder = {
	events = {
		ani_plus.164 # removing dog unity and council laws on holder change
	}
}
on_new_holder_inheritance = {
	events = {
		ani_plus.116 # updating elephant law
    	ani_plus.164 # removing dog unity and council laws on holder change
		ani_plus.226 # starting dragon succession tournament
	}
}
on_new_holder_usurpation = {
	events = {
		ani_plus.125 # cat holder change 
    	ani_plus.164 # removing dog unity and council laws on holder change
	}
}

on_society_failed_to_find_new_leader = {
	events = {
		ani_plus.132 # generating a new leader
	}
}

on_character_ask_to_join_society = {
	events = {
		ani_plus.133 # letting cat enter one of their society 
	}
}

