rt56rp_hist_decisions_category = {
	rt56rp_hist_decisions_civilian_economy = {
		
		cost = 150
		
		available = {
			NOT = { has_idea = civilian_economy }
		}
		
		complete_effect = {
			add_ideas = { civilian_economy   rt56rp_hist_civilian_economy }
			hidden_effect = {
				remove_ideas = {
					low_economic_mobilisation               partial_economic_mobilisation               war_economy               tot_economic_mobilisation
					rt56rp_hist_low_economic_mobilisation   rt56rp_hist_partial_economic_mobilisation   rt56rp_hist_war_economy   rt56rp_hist_tot_economic_mobilisation
				}
			}
		}
	}
	rt56rp_hist_decisions_low_economic_mobilisation = {
		
		cost = 150
		
		available = {
			NOT = { has_idea = low_economic_mobilisation }
			
			
			has_war_support > 0.15
			if = {
				limit = {
					original_tag = HUN
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					NOT = { has_idea = HUN_treaty_of_triannon_aat }
				}
				else = {
					NOT = { has_idea = HUN_treaty_of_triannon }
				}
			}
			if = {
				limit = {
					original_tag = USA
					has_completed_focus = USA_limited_intervention
					has_defensive_war = no
				}
				has_war_support > 0.3
				congress_high_support_trigger = yes
			}
			if = {
				limit = {
					original_tag = GER
					OR = {
						has_idea = GER_treaty_of_versailles
						has_idea = GER_treaty_of_versailles_2
						has_idea = GER_treaty_of_versailles_3
					}
				}
				NOT = {
					has_idea = GER_treaty_of_versailles
					has_idea = GER_treaty_of_versailles_2
					has_idea = GER_treaty_of_versailles_3
				}
			}
		}
		
		complete_effect = {
			add_ideas = { low_economic_mobilisation   rt56rp_hist_low_economic_mobilisation }
			hidden_effect = {
				remove_ideas = {
					civilian_economy               partial_economic_mobilisation               war_economy               tot_economic_mobilisation
					rt56rp_hist_civilian_economy   rt56rp_hist_partial_economic_mobilisation   rt56rp_hist_war_economy   rt56rp_hist_tot_economic_mobilisation
				}
			
				if = {
					limit = {
						original_tag = USA
						has_completed_focus = USA_limited_intervention
						has_defensive_war = no
					}
					USA_congress_large_opposition = yes
				}
			}
		}
	}
	rt56rp_hist_decisions_partial_economic_mobilisation = {
		
		cost = 150
		
		available = {
			NOT = { has_idea = partial_economic_mobilisation }
			
			has_war_support > 0.25
			if = {
				limit = {
					original_tag = HUN
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					NOT = { has_idea = HUN_treaty_of_triannon_aat }
				}
				else = {
					NOT = { has_idea = HUN_treaty_of_triannon }
				}
			}
			if = {
				limit = {
					original_tag = USA
					has_completed_focus = USA_limited_intervention
					has_defensive_war = no
				}
				has_war_support > 0.5
				congress_high_support_trigger = yes
			}
			if = {
				limit = {
					original_tag = GER
					OR = {
						has_idea = GER_treaty_of_versailles
						has_idea = GER_treaty_of_versailles_2
						has_idea = GER_treaty_of_versailles_3
					}
				}
				NOT = {
					has_idea = GER_treaty_of_versailles
					has_idea = GER_treaty_of_versailles_2
					has_idea = GER_treaty_of_versailles_3
				}
			}
		}
		
		complete_effect = {
			add_ideas = { partial_economic_mobilisation   rt56rp_hist_partial_economic_mobilisation }
			hidden_effect = {
				remove_ideas = {
					civilian_economy               low_economic_mobilisation               war_economy               tot_economic_mobilisation
					rt56rp_hist_civilian_economy   rt56rp_hist_low_economic_mobilisation   rt56rp_hist_war_economy   rt56rp_hist_tot_economic_mobilisation
				}
				
				if = {
					limit = {
						original_tag = USA
						has_completed_focus = USA_limited_intervention
						has_defensive_war = no
					}
					USA_congress_large_opposition = yes
				}
			}
		}
	}
	rt56rp_hist_decisions_war_economy = {
		
		cost = 150
		
		available = {
			NOT = { has_idea = war_economy }
			
			has_war_support > 0.5
			OR = {
				has_government = fascism
				has_government = communism
				custom_trigger_tooltip = { tooltip = or_clarification_tooltip always = no }
				AND = {
					has_war = yes
					any_enemy_country = {
						ic_ratio = { 
							tag = ROOT 
							ratio > 0.4
						}
					}
				}
			}

			if = {
				limit = {
					original_tag = HUN
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					NOT = { has_idea = HUN_treaty_of_triannon_aat }
				}
				else = {
					NOT = { has_idea = HUN_treaty_of_triannon }
				}
			}
			if = {
				limit = {
					original_tag = USA
					has_completed_focus = USA_limited_intervention
					has_defensive_war = no
				}
				has_war_support > 0.75
				congress_high_support_trigger = yes
			}
			if = {
				limit = {
					original_tag = GER
					OR = {
						has_idea = GER_treaty_of_versailles
						has_idea = GER_treaty_of_versailles_2
						has_idea = GER_treaty_of_versailles_3
					}
				}
				NOT = {
					has_idea = GER_treaty_of_versailles
					has_idea = GER_treaty_of_versailles_2
					has_idea = GER_treaty_of_versailles_3
				}
			}
		}
		
		complete_effect = {
			add_ideas = { war_economy   rt56rp_hist_war_economy }
			hidden_effect = {
				remove_ideas = {
					civilian_economy               low_economic_mobilisation               partial_economic_mobilisation               tot_economic_mobilisation
					rt56rp_hist_civilian_economy   rt56rp_hist_low_economic_mobilisation   rt56rp_hist_partial_economic_mobilisation   rt56rp_hist_tot_economic_mobilisation
				}
				
				if = {
					limit = {
						original_tag = USA
						has_completed_focus = USA_limited_intervention
						has_defensive_war = no
					}
					USA_congress_large_opposition = yes
				}
			}
		}
	}
	rt56rp_hist_decisions_tot_economic_mobilisation = {
		
		cost = 150
		
		available = {
			NOT = { has_idea = tot_economic_mobilisation }
			
			has_war = yes
			has_war_support > 0.8
			any_enemy_country = {
				ic_ratio = { 
					tag = ROOT 
					ratio > 0.5
				}
			}

			if = {
				limit = {
					original_tag = HUN
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					NOT = { has_idea = HUN_treaty_of_triannon_aat }
				}
				else = {
					NOT = { has_idea = HUN_treaty_of_triannon }
				}
			}
			if = {
				limit = {
					original_tag = USA
					has_completed_focus = USA_limited_intervention
					has_defensive_war = no
				}
				has_war_support > 0.9
				congress_high_support_trigger = yes
			}
			if = {
				limit = {
					original_tag = GER
					OR = {
						has_idea = GER_treaty_of_versailles
						has_idea = GER_treaty_of_versailles_2
						has_idea = GER_treaty_of_versailles_3
					}
				}
				NOT = {
					has_idea = GER_treaty_of_versailles
					has_idea = GER_treaty_of_versailles_2
					has_idea = GER_treaty_of_versailles_3
				}
			}
		}
		
		complete_effect = {
			add_ideas = { tot_economic_mobilisation   rt56rp_hist_tot_economic_mobilisation }
			hidden_effect = {
				remove_ideas = {
					civilian_economy               low_economic_mobilisation               partial_economic_mobilisation               war_economy
					rt56rp_hist_civilian_economy   rt56rp_hist_low_economic_mobilisation   rt56rp_hist_partial_economic_mobilisation   rt56rp_hist_war_economy
				}
				
				if = {
					limit = {
						original_tag = USA
						has_completed_focus = USA_limited_intervention
						has_defensive_war = no
					}
					USA_congress_large_opposition = yes
				}
			}
		}
	}
}