#	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
#       attacker_modifier = no  # if yes this modifier will also be read in combat for 
#                               # people engaging in the combat even if not in the state
#
#		# 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 = { 
		ROOT = {
			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
}

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
}

kurdish_agitation = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_kurdish_agitation
	
	resistance_growth = 0.03
	resistance_target = 0.1
	resistance_decay = -0.1
	state_resources_factor = -0.15
}

kurdish_separatism = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_kurdish_separatism
	
	compliance_growth = -0.05
	resistance_growth = 0.05
	resistance_target = 0.20
	resistance_decay = -0.20
	state_resources_factor = -0.33
	disable_strategic_redeployment = 1
}

dense_rural_infrastructure = { #State Modifier
	enable = { always = yes }
	remove_trigger = {
		ROOT = {
			infrastructure > 4
		}
	}

	icon = GFX_modifiers_SOV_civilian_labor_in_defense
	
	local_non_core_supply_impact_factor = 0.35
}

yellow_river_blown = { #State Modifier
	enable = { always = yes }

	icon = GFX_decision_hol_inundate_water_lines
	
	local_supply_impact_factor = 0.5
	disable_strategic_redeployment = 1
	state_resources_factor = -0.25
	local_manpower = -0.5
	army_speed_factor_for_controller = -0.25
}

kurdish_rebellion = {
	enable = { always = yes }

	icon = GFX_modifiers_tur_kurdish_rebellion
	
	compliance_growth = -0.1
	resistance_growth = 0.07
	resistance_target = 0.35
	resistance_decay = -0.25
	state_resources_factor = -0.33
	disable_strategic_redeployment = 1
}

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
}

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
}

international_city = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource
	
	state_resources_factor = -1
	recruitable_population_factor = -1
	local_factories = -1
	disable_strategic_redeployment = yes
}

international_city_2 = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource
	
	state_resources_factor = -0.75
	recruitable_population_factor = -0.75
	local_factories = -0.75
	resistance_growth = 1.2
	disable_strategic_redeployment = yes
}

international_city_3 = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource
	
	state_resources_factor = -0.5
	recruitable_population_factor = -0.5
	local_factories = -0.5
	resistance_growth = 0.6
	compliance_gain = 0.1
	disable_strategic_redeployment = yes
}

international_city_4 = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource
	
	state_resources_factor = -0.25
	recruitable_population_factor = -0.25
	local_factories = -0.25
	resistance_growth = 0.2
	compliance_gain = 0.4
	disable_strategic_redeployment = yes
}

unity_propaganda = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource
	
	compliance_gain = 0.7
}

military_appeasement = {
	enable = { always = yes }

	icon = GFX_modifiers_sabotaged_resource
	
	resistance_growth = -0.5
}