##########################################################################
# Empire edicts
##########################################################################

country_edict = {
	name = "information_quarantine"
	modifier = {
		pop_ethic_shift = -0.10
		all_technology_research_speed = -0.05
	}
	
	influence_cost = 1
		
	allow = {
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			NOR = {
				has_ethic = ethic_collectivist
				has_ethic = ethic_fanatic_collectivist
			}
		}		
	}	
}

country_edict = {
	name = "encourage_free_thought"
	modifier = {
		pop_ethic_shift = 0.15
		all_technology_research_speed = 0.10
	}
	
	influence_cost = 1
		
	allow = {
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0
			NOR = {
				has_ethic = ethic_individualist
				has_ethic = ethic_fanatic_individualist
			}
		}		
	}
}

country_edict = {
	name = "map_the_stars"
	modifier = {
		science_ship_survey_speed = 0.25
		ship_anomaly_generation_chance_mult = 0.10
	}
	
	influence_cost = 1
		
	allow = {
	}
	
	ai_weight = {
		weight = 1
	}	
	
	prerequisites = {
		"tech_global_research_initiative"
	}
}

country_edict = {
	name = "engineering_research_focus"
	modifier = {
		country_engineering_tech_research_speed = 0.3
		country_society_tech_research_speed = -0.10
		country_physics_tech_research_speed = -0.10
	}
	
	influence_cost = 1
		
	allow = {
		NOR = {
			has_country_edict = physics_research_focus
			has_country_edict = society_research_focus
		}
	}
	
	ai_weight = {
		weight = 0
	}	
}

country_edict = {
	name = "physics_research_focus"
	modifier = {
		country_engineering_tech_research_speed = -0.10
		country_society_tech_research_speed = -0.10
		country_physics_tech_research_speed = 0.3
	}
	
	influence_cost = 1
		
	allow = {
		NOR = {
			has_country_edict = engineering_research_focus
			has_country_edict = society_research_focus
		}
	}
	
	ai_weight = {
		weight = 0
	}	
}

country_edict = {
	name = "society_research_focus"
	modifier = {
		country_engineering_tech_research_speed = -0.10
		country_society_tech_research_speed = 0.3
		country_physics_tech_research_speed = -0.10
	}
	
	influence_cost = 1
		
	allow = {
		NOR = {
			has_country_edict = engineering_research_focus
			has_country_edict = physics_research_focus
		}
	}
	
	ai_weight = {
		weight = 0
	}		
}

country_edict = {
	name = "social_welfare_programs"
	modifier = {
		pop_happiness = 0.15
		tile_resource_energy_mult = -0.2
		tile_resource_minerals_mult = -0.2
	}
	
	influence_cost = 1
		
	allow = {
	}
	
	ai_weight = {
		weight = 0
	}
	
	prerequisites = {
		"tech_living_state"
	}
}

country_edict = {
	name = "the_grand_fleet"
	modifier = {
		navy_size_mult = 0.35
		ship_reparation_speed_mult = 0.15
		country_ship_upgrade_cost_mult = -0.15
	}
	
	influence_cost = 2
		
	allow = {
	}
	
	ai_weight = {
		weight = 1
	}	
	
	prerequisites = {
		"tech_interstellar_fleet_traditions"
	}
}

country_edict = {
	name = "share_the_burden"
	modifier = {
		slave_production_output = 0.2
		slave_food_output = 0.2
		pop_robot_production_output = 0.2
	}
	
	influence_cost = 2
		
	allow = {
		has_policy_flag = slavery_allowed_regulated
	}
	
	ai_weight = {
		weight = 1
	}	
	
	prerequisites = {
		"tech_artificial_moral_codes"
	}
}

##########################################################################
# Event edicts
##########################################################################

country_edict = {
	name = "crystal_sonar"
	modifier = {
		
	}

	influence_cost = 0

	potential = {
		has_country_flag = crystal_sonar_edict_available
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}	
}

country_edict = {
	name = "greater_crystal_bounty"
	modifier = {
		
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = greater_crystal_bounty_edict_available
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}	
}

country_edict = {
	name = "crystal_bounty"
	modifier = {
	
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = crystal_bounty_edict_available
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}	
}

country_edict = {
	name = "droning_optimizations"
	modifier = {
		tile_resource_minerals_mult = 0.15
		tile_resource_energy_mult = -0.05
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = droning_optimizations_edict_available
	}
		
	allow = {
	}
	
	ai_weight = {
		weight = 1
	}	
}

country_edict = {
	name = "drone_bounty"
	modifier = {
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = drone_bounty_edict_available
	}

	allow = {
	}

	ai_weight = {
		weight = 0
	}	
}

country_edict = {
	name = "masters_writings_politics"
	modifier = {
		planet_building_cost_mult = -0.1
		building_time_mult = -0.1
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_masters_writings_politics
	}

	allow = {
	}
	
	ai_weight = {
		weight = 1
	}	
}

country_edict = {
	name = "masters_writings_diplomacy"
	modifier = {
		max_embassies = 1
		country_trade_attractiveness = 0.10
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_masters_writings_diplomacy
	}

	allow = {
	}
	
	ai_weight = {
		weight = 1
	}
}

country_edict = {
	name = "masters_writings_philosophy"
	modifier = {
		country_society_tech_research_speed = 0.1
		country_leader_cap = 1
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_masters_writings_philosophy
	}

	allow = {
	}
	
	ai_weight = {
		weight = 1
	}
}

country_edict = {
	name = "masters_writings_war"
	modifier = {
		navy_size_mult = 0.1
		army_upkeep_mult = -0.15
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_masters_writings_war
	}

	allow = {
	}
	
	ai_weight = {
		weight = 1
	}
}

country_edict = {
	name = "improved_work_environment"
	modifier = {
		pop_happiness = 0.05
		category_biology_research_speed_mult = 0.1
		category_statecraft_research_speed_mult = 0.1
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_improved_work_environment
	}

	allow = {
	}
	
	ai_weight = {
		weight = 1
	}
}

country_edict = {
	name = "renewable_energy"
	modifier = {
		pop_happiness = 0.05
		category_industry_research_speed_mult = 0.1
		category_materials_research_speed_mult = 0.1
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_renewable_energy
	}

	allow = {
	}
	
	ai_weight = {
		weight = 1
	}
}

country_edict = {
	name = "super_sensors"
	modifier = {
		planet_sensor_range_mult = 0.25
	}
	
	influence_cost = 1

	potential = {
		has_country_flag = edict_super_sensors
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}
}

country_edict = {
	name = "nomal"
	modifier = {

		max_energy = 100000         #Դ +100K
		max_minerals = 100000         #V +100K
		max_influence = 100000         #Ӱ +100K
		country_core_sector_system_cap = 5        #ֱϵ +5 
		science_ship_survey_speed = 1.00 		#ϵٶ+100%
		ship_anomaly_research_speed_mult = 1.00		 #쳣¼ٶ+100%
		ship_anomaly_generation_chance_mult = 0.3 		#쳣¼+30%
		ship_anomaly_fail_risk = -0.30 				#쳣¼ʧܸ
		country_leader_cap = 30                 #I +30
		leader_skill_levels = 2                       #I似 +1
		country_leader_pool_size = 5                 #IҎģ +5
		leader_age = 500                         #I +500
		shipsize_mining_station_construction_speed_mult = 1.00                 #Vվٶ +100%
		shipsize_observation_station_construction_speed_mult = 1.00     #^yվٶ +100%
		shipsize_research_station_construction_speed_mult = 1.00         #оվٶ +100%
		shipsize_outpost_station_construction_speed_mult = 1.00         #߅վٶ +100%
		shipsize_terraform_station_construction_speed_mult = 1.00         #DQվٶ +100%
	
	}
	
	influence_cost = 0

	potential = {
		is_ai = no
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}
}

country_edict = {
	name = "hard"
	modifier = {

		max_energy = 100000         #Դ +100K
		max_minerals = 100000         #V +100K
		max_influence = 100000         #Ӱ +100K
		all_technology_research_speed = -0.2		 #Ƽоٶ-20%
		tile_resource_energy_mult = -0.20

	}
	
	influence_cost = 0

	potential = {
		is_ai = no
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}
}

country_edict = {
	name = "crazy"
	modifier = {

		tile_resource_food_mult = -0.20                         #ʳa -20%
		tile_resource_minerals_mult = -0.20                 #ӵVa -20% (Insane AI)
		tile_resource_energy_mult = -0.30                 #a -20% (Insane AI)
		tile_resource_physics_research_mult = -0.20         #Ƽa -20% (Insane AI)
		tile_resource_society_research_mult = -0.20         #Ƽa -20% (Insane AI)
		tile_resource_engineering_research_mult = -0.20         #ӹ̿Ƽa -20% (Insane AI)
		all_technology_research_speed = -0.3		 #Ƽоٶ-30%
		ship_weapon_damage = -0.25                                         #Ş -25% (FE)
		ship_hitpoints_mult = -0.30                                         #Ş;ö -30% (FE)
		ship_shield_hp_mult = -0.30                                         #o;ö -30% (FE)
		ship_armor_mult = -0.50                                                 #Şbֵ -0.50%
		ship_fire_rate_mult = -0.30                                         #Ş_ -30%
		ship_accuracy_mult = -0.20                                        #Ş -20%
		ship_evasion_mult = -0.20                                         #ŞWܼӳ -20%
	}
	
	influence_cost = 0

	potential = {
		is_ai = no
	}

	allow = {
	}
	
	ai_weight = {
		weight = 0
	}
}