#45000-45999 id for war

###called reinforcement
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45000
		desc = EVNTDESCreinfunitfort.45000
		
		is_triggered_only = yes 
		
		option = {
			name = "EVTOPTAreinfunitfort45000"
			
			hidden_tooltip = { 
			
				From = {
					character_event = { id = reinfunitfort.45001 days = 60}
					
					clr_character_flag = called_reinf_fort_big
					set_character_flag = called_reinf_fort_big
				}
			
			}

			ai_chance = {factor = 0}
		}
		
		option = {
			name = "EVTOPTBreinfunitfort45000"

				From = {
					prestige = -300 
				}			

			ai_chance = {factor = 1}
		}

}

### Where to go
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45001
		desc = EVNTDESCreinfunitfort.45001
		border = GFX_event_normal_frame_war
		is_triggered_only = yes 
		
		###A
		option = {
		name = "EVTOPTAreinfunitfort45001"
		
		hidden_tooltip = {
			From = {
				character_event = { id = reinfunitfort.45010 days = 30} 
			}
		}

		ai_chance = {factor = 1}
		}
		
		###B
		option = {
		name = "EVTOPTBreinfunitfort45001"
		
		hidden_tooltip = {
			From = {
				character_event = { id = reinfunitfort.45011 days = 30} 
			}
		}
		
		ai_chance = {factor = 1}
		}
	
}


###A
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45010
		desc = EVNTDESCreinfunitfort.45010
		border = GFX_event_normal_frame_war
		
		is_triggered_only = yes 
		
		option = {
		name = "EVTOPTAreinfunitfort45010"
		
			hidden_tooltip = {
		
			capital_scope = {
				ROOT = {
					spawn_unit = {
						province = PREV
						owner = ROOT
						earmark = reinfunitfort_big
						match_character = ROOT
						match_mult = 1.5
						disband_on_peace = yes
						cannot_inherit = no
						attrition = 0.8
						maintenance = yes
						maintenance_multiplier = 2.0
						is_looter = no
						can_toogle_looting = no
						reinforces = yes
						reinforces_rate_multiplier = 0.05
					}

				}
			}
			}
			
		ai_chance = {factor = 1}
		}
}

###B
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45011
		desc = EVNTDESCreinfunitfort.45011
		border = GFX_event_normal_frame_war
		
		is_triggered_only = yes 
		
		option = {
		name = "EVTOPTAreinfunitfort45011"
		
		hidden_tooltip = {
		

			location  = {
				ROOT = {
					spawn_unit = {
						province = PREV
						owner = ROOT
						earmark = reinfunitfort_big
						match_character = ROOT
						match_mult = 1.5
						disband_on_peace = yes
						cannot_inherit = no
						attrition = 0.8
						maintenance = yes
						maintenance_multiplier = 2.0
						is_looter = no
						can_toogle_looting = no
						reinforces = yes
						reinforces_rate_multiplier = 0.05
					}

				}
			}
			}
			
		ai_chance = {factor = 0}
		}
}




