ideas = {
	## War Bonds
	bonds = { 
		law = yes
		bonds_peace = {
			
			cost = 25
			removal_cost = -1
			modifier = {
				stability_factor = 0.025
				war_support_factor = 0.025
			}
			default = yes
			on_add = {
				set_country_flag = bonds_peace
				clr_country_flag = bonds_basic
				clr_country_flag = bonds_war_domestic
				clr_country_flag = bonds_war_international
				clr_country_flag = bonds_war_public
				clr_country_flag = bonds_state_requisition
				clr_country_flag = bonds_print
			}
			
			cancel_if_invalid = no
			
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 1000
					has_war = no
				}
			}
		}
		bonds_basic = {
			available = {
				
			}
			cost = 200
			removal_cost = -1
			modifier = {
				stability_factor = 0.05
				war_support_factor = 0.05
				production_speed_arms_factory_factor = 0.05
				production_speed_dockyard_factor = 0.05
				industrial_capacity_factory = 0.05
				industrial_capacity_dockyard = 0.05
			}
			
			on_add = {
				set_country_flag = bonds_basic
				clr_country_flag = bonds_peace
				clr_country_flag = bonds_war_domestic
				clr_country_flag = bonds_war_international
				clr_country_flag = bonds_war_public
				clr_country_flag = bonds_state_requisition
				clr_country_flag = bonds_print
			}
						
			cancel_if_invalid = no
			
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 10
					threat > 0.25
					has_war = no
				}
				modifier = {
					factor = 20
					has_war = yes
				}
			}
		}
		bonds_war_domestic = {
			available = {
				OR = { 
					has_government = fascism
					has_government = neutrality
				}
				has_war = yes
				has_country_flag = bonds_basic
			}
			cost = 300
			removal_cost = -1
			modifier = {
				stability_factor = -0.025
				war_support_factor = -0.025
				production_speed_arms_factory_factor = 0.1
				production_speed_dockyard_factor = 0.1
				industrial_capacity_factory = 0.1
				industrial_capacity_dockyard = 0.1
				political_power_factor = -0.05
			}
			
			on_add = {
				set_country_flag = bonds_war_domestic
				clr_country_flag = bonds_basic
				clr_country_flag = bonds_peace
				clr_country_flag = bonds_war_international
				clr_country_flag = bonds_war_public
				clr_country_flag = bonds_state_requisition
				clr_country_flag = bonds_print
			}
			
			cancel_if_invalid = no
			
			ai_will_do = {
				factor = 30
				
			}
		}
		bonds_war_international = {
			
			available = {
				OR = { 
					has_government = democratic
					has_government = neutrality
				}
				has_war = yes
				has_country_flag = bonds_basic
			}
		
			cost = 300
			removal_cost = -1
			modifier = {
				stability_factor = -0.05
				war_support_factor = -0.05
				production_speed_arms_factory_factor = 0.1
				production_speed_dockyard_factor = 0.1
				industrial_capacity_factory = 0.1
				industrial_capacity_dockyard = 0.1
				political_power_factor = -0.1
			}
			
			on_add = {
				set_country_flag = bonds_war_international
				clr_country_flag = bonds_basic
				clr_country_flag = bonds_war_domestic
				clr_country_flag = bonds_peace
				clr_country_flag = bonds_war_public
				clr_country_flag = bonds_state_requisition
				clr_country_flag = bonds_print
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 30
				
			}
		}
		bonds_war_public = {
			
			available = {
				has_war = yes
				OR = { 
					has_government = democratic
					has_government = neutrality
				}
				has_country_flag = bonds_war_international
			}
			
			cost = 400
			removal_cost = -1
			modifier = {
				stability_factor = -0.1
				war_support_factor = -0.1
				production_speed_arms_factory_factor = 0.15
				production_speed_dockyard_factor = 0.15
				consumer_goods_factor = -0.05
				industrial_capacity_factory = 0.15
				industrial_capacity_dockyard = 0.15
				political_power_factor = -0.15
				local_resources_factor = 0.05
				trade_opinion_factor = -0.05
				
			}
			
			on_add = {
				set_country_flag = bonds_war_public
				clr_country_flag = bonds_basic
				clr_country_flag = bonds_war_domestic
				clr_country_flag = bonds_war_international
				clr_country_flag = bonds_peace
				clr_country_flag = bonds_state_requisition
				clr_country_flag = bonds_print
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 0
				
   			}
		}
		bonds_state_requisition = {
			
			available = {
				has_war = yes
				OR = { 
					has_government = fascism
					has_government = communism
					has_government = neutrality
				}
				OR = {
					AND = {
						has_government = communism
						has_country_flag = bonds_basic
					}
					has_country_flag = bonds_war_domestic
				}
			}
			
			cost = 400
			removal_cost = -1
			modifier = {
				stability_factor = -0.15
				war_support_factor = -0.15
				production_speed_arms_factory_factor = 0.2
				production_speed_dockyard_factor = 0.2
				consumer_goods_factor = -0.05
				industrial_capacity_factory = 0.2
				industrial_capacity_dockyard = 0.2
				political_power_factor = -0.2
				local_resources_factor = 0.1
				trade_opinion_factor = -0.1
			}
			
			on_add = {
				set_country_flag = bonds_state_requisition
				clr_country_flag = bonds_basic
				clr_country_flag = bonds_war_domestic
				clr_country_flag = bonds_war_international
				clr_country_flag = bonds_war_public
				clr_country_flag = bonds_print
				clr_country_flag = bonds_peace
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 0
				
   			}
		}
		bonds_print = {
			
			available = {
				has_war = yes
				OR = {
					has_country_flag = bonds_state_requisition
					has_country_flag = bonds_war_public
				}
			}
			
			cost = 600
			removal_cost = -1
			modifier = {
				stability_factor = -0.3
				war_support_factor = -0.3
				production_speed_arms_factory_factor = 0.25
				production_speed_dockyard_factor = 0.25
				consumer_goods_factor = -0.15
				industrial_capacity_factory = 0.25
				industrial_capacity_dockyard = 0.25
				political_power_factor = -0.3
				local_resources_factor = 0.25
				trade_opinion_factor = -0.2
			}
			
			on_add = {
				set_country_flag = bonds_print
				clr_country_flag = bonds_basic
				clr_country_flag = bonds_war_domestic
				clr_country_flag = bonds_war_international
				clr_country_flag = bonds_war_public
				clr_country_flag = bonds_state_requisition
				clr_country_flag = bonds_peace
			}
			
			cancel_if_invalid = no

			ai_will_do = {
   				factor = 0
				
   			}
		}
	}
}
### EOF ###