ideas = {
	economy = { 
		law = yes
		
		civilian_economy = {
			cost = 150
			removal_cost = -1
			
			modifier = {
				consumer_goods_factor = 0.5
				production_speed_industrial_complex_factor = -0.5
				production_speed_arms_factory_factor = -0.5
				conversion_cost_civ_to_mil_factor= 0.3
				conversion_cost_mil_to_civ_factor = 0.3
			}
			
			default = yes
			
			cancel_if_invalid = no
		}
		
		low_economic_mobilisation = {
			
			available = {
				OR = {
					has_government = fascist
					has_government = nationalist
					has_government = communist
					has_war = yes
					threat > 0.25
				}			
			}
			
			cost = 150
			removal_cost = -1
			
			modifier = {
				consumer_goods_factor = 0.4

				production_speed_industrial_complex_factor = -0.1
				production_speed_arms_factory_factor = -0.1
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 1

   				modifier = {
					factor = 2
					
					is_major = yes
				}
   			}
		}
		
		partial_economic_mobilisation = {
			
			available = {
				OR = {
					has_government = fascist
					has_government = nationalist
					has_government = communist
					has_war = yes
					threat > 0.5
				}			
			}

			cost = 150
			removal_cost = -1
			
			modifier = {
				consumer_goods_factor = 0.3
				production_speed_arms_factory_factor = 0.1
				conversion_cost_civ_to_mil_factor= -0.1
				conversion_cost_mil_to_civ_factor = -0.1
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 1

   				modifier = {
					factor = 2
					
					is_major = yes
				}
   			}
		}
		
		war_economy = {
			available = {
				OR = {
					has_government = fascist
					has_government = communist
					custom_trigger_tooltip = { tooltip = or_clarification_tooltip always = no }
					has_war = yes
					threat > 0.75
				}			
			}
		
			cost = 150
			removal_cost = -1
			
			modifier = {
				consumer_goods_factor = 0.2
				production_speed_arms_factory_factor = 0.2
				conversion_cost_civ_to_mil_factor= -0.2
				conversion_cost_mil_to_civ_factor = -0.2
			}
			
			cancel_if_invalid = no
			
			ai_will_do = {
   				factor = 1

   				modifier = {
					factor = 40
					
					is_major = yes
				}
   			}
		}
		
		tot_economic_mobilisation = {
			available = {
				has_war = yes
				any_enemy_country = {
					ic_ratio = { 
						tag = ROOT 
						ratio > 0.75
					}
				}
			}
			
			cost = 150
			removal_cost = -1
			
			modifier = {
				consumer_goods_factor = 0.1
				conscription = -0.05
				production_speed_arms_factory_factor = 0.3
				conversion_cost_civ_to_mil_factor= -0.3
				conversion_cost_mil_to_civ_factor = -0.3
			}
			
			cancel_if_invalid = no
		}
	}
	
	trade_laws = { 
		law = yes

		free_trade = {
			
			
			cost = 150
			removal_cost = -1
			
			modifier = {
				min_export = 0.8
				industrial_capacity_factory = 0.15
				production_speed_buildings_factor = 0.15
				research_time_factor = -0.10
			}
			
			cancel_if_invalid = no
		}
		
		export_focus = {
			
			
			cost = 150
			removal_cost = -1
			
			modifier = {
				min_export = 0.5
				industrial_capacity_factory = 0.1
				production_speed_buildings_factor = 0.1
				research_time_factor = -0.05
			}
			
			default = yes
			
			cancel_if_invalid = no
		}
		
		limited_exports = {
			
			
			available = {
				OR = {
					AND = {
						OR = {
							has_government = reactionary
							has_government = conservative
							has_government = market_liberal
							has_government = social_liberal
							has_government = social_democrat
							has_government = progressive
							has_government = democratic_socialist
						}
						has_war = yes
						any_enemy_country = {
							ic_ratio = { 
								tag = ROOT 
								ratio > 0.2
							}
						}
					}
					AND = {
						OR = {
							has_government = nationalist
							has_government = fascist
							has_government = communist
							has_government = islamist
						}
						OR = {
							has_idea = partial_economic_mobilisation
							has_idea = war_economy
							has_idea = tot_economic_mobilisation
						}
					}
				}
			}
		
			cost = 150
			removal_cost = -1
			
			modifier = {
				min_export = 0.25
				industrial_capacity_factory = 0.05
				production_speed_buildings_factor = 0.05
				research_time_factor = -0.01
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 1

   				modifier = {
					factor = 0
					
					is_major = no
					is_in_faction = yes
					has_war = yes
				}
   			}
		}
		
		closed_economy = {
			
			
			available = {
				OR = {
					has_war = yes
					has_government = communist
				}
				OR = { 
					has_government = fascist
					has_government = communist
					has_government = islamist
					has_government = nationalist
				}
				OR = {
					has_idea = war_economy
					has_idea = tot_economic_mobilisation
				}
			}
			
			cost = 150
			removal_cost = -1
			
			
			modifier = {
				min_export = 0
			}
			
			on_add = {
				custom_effect_tooltip = closed_economy_TT
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 1

   				modifier = {
					factor = 0
					
					is_major = no
					is_in_faction = yes
					has_war = yes
				}
   			}
		}
	}
}
