#	Example:
#
#	example_dynamic_modifier = {
	#		icon = "GFX_idea_unknown" # optional, will show up in guis if icon is specified
	#		enable = { always = yes } #optional, the modifier won't apply if not enabled
	#		remove_trigger = { always = no } #optional, will remove the modifier if true
	#
	#		# list of modifiers
	#		fuel_cost = 321
	#		max_fuel = var_max_fuel # will be taken from a variable
	#	}
#
#
#	In a script file:
#
#	effect = {
	#		add_dynamic_modifier = {
		#			modifier = example_dynamic_modifier
		#			scope = GER # optional, if you specify this your dynamic modifier scoped to this scope (root is the effect scope)
		#			days = 14 # optional, will be removed after this many days passes
		#		}
	#	}
#
#	can be added to countries, states or unit leaders
#	will only updated daily, unless forced by force_update_dynamic_modifier effect

sabotaged_resources = {
	remove_trigger = {
		has_resistance = no
	}

	icon = GFX_modifiers_sabotaged_resource

	temporary_state_resource_oil = sabotaged_oil
	temporary_state_resource_aluminium = sabotaged_aluminium
	temporary_state_resource_rubber = sabotaged_rubber
	temporary_state_resource_tungsten = sabotaged_tungsten
	temporary_state_resource_steel = sabotaged_steel
	temporary_state_resource_chromium = sabotaged_chromium
}

autonomous_state = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource

	recruitable_population_factor = -0.5
	local_building_slots_factor = -0.25
	state_resources_factor = -0.25
	state_production_speed_buildings_factor = -0.25
}

expanded_local_autonomy = {
	enable = { always = yes }

	icon = GFX_modifiers_conscription_exemptions_granted
	local_building_slots_factor = 0.04
	state_resources_factor = 0.04
	state_production_speed_buildings_factor = 0.04
	recruitable_population_factor = 0.1
}

expanded_fishing_industry = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource

	recruitable_population_factor = 0.05
	local_building_slots_factor = 0.05
	state_resources_factor = 0.05
	state_production_speed_buildings_factor = 0.05
}

semi_autonomous_state = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource

	local_building_slots_factor = -0.25
	state_resources_factor = -0.25
	state_production_speed_buildings_factor = -0.25
}


separatist_fatigue = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_kurdish_fatigue

	compliance_growth = 0.05
	resistance_decay = 0.15
	state_resources_factor = -0.33
}

turanist_assimilation = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_pan_turkic_propaganda

	non_core_manpower = 0.25
	compliance_growth = 0.05
	resistance_growth = -0.1
}

conscription_exemptions_granted = {
	enable = { always = yes }

	icon = GFX_modifiers_conscription_exemptions_granted

	recruitable_population_factor = -0.85
}

islamist_opposition = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_traditionalist_unrest

	recruitable_population_factor = -0.05
	local_building_slots_factor = -0.1
	state_resources_factor = -0.1
	state_production_speed_buildings_factor = -0.15
}

islamist_sedition = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_traditionalist_sedition

	recruitable_population_factor = -0.25
	local_building_slots_factor = -0.25
	state_resources_factor = -0.25
	state_production_speed_buildings_factor = -0.25
	army_speed_factor_for_controller = -0.15
}

islamist_insurgency = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_traditionalist_insurgency

	recruitable_population_factor = -0.5
	local_building_slots_factor = -0.33
	state_resources_factor = -0.5
	state_production_speed_buildings_factor = -0.33
	army_speed_factor_for_controller = -0.33
}

islamists_placated = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_traditionalist_placated

	state_production_speed_buildings_factor = 0.05
}

devout_islamists = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_traditionalist_placated

	recruitable_population_factor = 0.15
	state_production_speed_buildings_factor = 0.1
}

kemalist_loyalties = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_kemalist_loyalties

	recruitable_population_factor = 0.15
	state_production_speed_buildings_factor = 0.1
}

kemalist_schemers = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_kemalist_unrest

	recruitable_population_factor = -0.33
	state_production_speed_buildings_factor = -0.25
	army_speed_factor_for_controller = -0.5
}

BUL_foreign_industry_dynamic_modifier = { #Used as National Spirit
	enable = { always = yes }

	icon = GFX_idea_man_five_year_plan_industry

	political_power_gain = 0.05
	production_speed_buildings_factor = BUL_foreign_industry_construction_speed_modifier
	industrial_capacity_factory = -0.02
	production_factory_efficiency_gain_factor = BUL_foreign_industry_production_efficiency_modifier
	production_factory_max_efficiency_factor = BUL_foreign_industry_production_efficiency_modifier
	consumer_goods_expected_value = BUL_foreign_industry_consumer_goods_modifier
}

skirmishes_against_imro = {
	enable = { always = yes }

	icon = GFX_modifiers_bul_macedonian_revolutionaries

	state_resources_factor = -0.75
	state_production_speed_buildings_factor = -0.75
	army_speed_factor_for_controller = -0.25
	attrition_for_controller = 1
	local_org_regain = -0.75
	disable_strategic_redeployment = 1
}

widespread_bulgarian_sentiment_01 = {
	enable = { always = yes }

	icon = GFX_modifiers_bul_arranged_bulgarian_occupation

	compliance_growth = -0.1
	resistance_growth = 0.1
	resistance_target = 0.1
	resistance_decay = -0.1
	state_resources_factor = -0.1
	local_factories = -0.1
}

widespread_bulgarian_sentiment_02 = {
	enable = { always = yes }

	icon = GFX_modifiers_bul_arranged_bulgarian_occupation

	compliance_growth = 0.1
	resistance_growth = -0.1
	resistance_target = -0.1
	resistance_decay = 0.1
	state_resources_factor = 0.1
	local_factories = 0.1
}

bulgarian_territorial_expansion_arranged = {
	enable = { always = yes }

	icon = GFX_modifiers_bul_arranged_territorial_expansion

	custom_modifier_tooltip = BUL_bulgarian_territorial_expansion_arranged_tt
}

BUL_our_duty_in_the_balkans_dynamic_modifier = { #Used as National Spirit
	enable = { always = yes }

	icon = GFX_idea_generic_fortify_the_borders

	consumer_goods_expected_value = BUL_our_duty_in_the_balkans_consumer_goods_modifier
	stability_factor = BUL_our_duty_in_the_balkans_stability_modifier
	weekly_manpower = 1000
}

GER_East_German_Infrastructure_Issues = {
	enable = { always = yes }

	icon = GFX_decision_generic_electricity
	local_building_slots_factor = -0.02
	army_org_factor = -0.08
	army_speed_factor = -0.1
	state_production_speed_buildings_factor = -0.15
}

unplanned_offensive = {
	icon = GFX_unplanned_offensive
	attacker_modifier = yes

	air_cas_present_factor = -0.75
	army_attack_factor = -0.9
	army_speed_factor = -0.75
	ground_attack_factor = -0.75
	local_org_regain = -0.5
}

CHE_resistance = {
	icon = GFX_unplanned_offensive
	attacker_modifier = yes

	attrition_for_controller = 0.2
	compliance_growth = -0.2
	local_factories = -1
	local_manpower = -0.8
	local_supplies = -0.4
}

YEM_South_Yemen_Seperatism = {
	enable = { always = yes }

	icon = GFX_decision_generic_form_nation
	local_building_slots_factor = -0.02
	army_org_factor = -0.08
	army_speed_factor = -0.08
}