#small unit 45100
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45100
		desc = EVNTDESCreinfunitfort.45100
		
		is_triggered_only = yes 
		
		option = {
			name = "EVTOPTAreinfunitfort45100"
			
			hidden_tooltip = { 
			
				From = {
					character_event = { id = reinfunitfort.45101 days = 28}
					
					clr_character_flag = called_reinf_fort_small
					set_character_flag = called_reinf_fort_small
				}
			
			}

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

				From = {
					prestige = -100 
				}			

			ai_chance = {factor = 1}
		}

}

### Where to go
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45101
		desc = EVNTDESCreinfunitfort.45101
		border = GFX_event_normal_frame_war
		is_triggered_only = yes 
		
		###A
		option = {
		name = "EVTOPTAreinfunitfort45101"
		
		hidden_tooltip = {
			From = {
				character_event = { id = reinfunitfort.45110 days = 14} 
			}
		}

		ai_chance = {factor = 1}
		}
		
		###B
		option = {
		name = "EVTOPTBreinfunitfort45101"
		
		hidden_tooltip = {
			From = {
				character_event = { id = reinfunitfort.45111 days = 14} 
			}
		}
		
		ai_chance = {factor = 1}
		}
	
}

#spawnlocation
###A
namespace = reinfunitfort
character_event = {
		id = reinfunitfort.45110
		desc = EVNTDESCreinfunitfort.45110
		border = GFX_event_normal_frame_war
		
		is_triggered_only = yes 
		
		option = {
		name = "EVTOPTAreinfunitfort45110"
		
			hidden_tooltip = {
		
			capital_scope = {
				ROOT = {
					spawn_unit = {
						province = PREV
						owner = ROOT
						earmark = reinfunitfort_small
						match_character = ROOT
						match_mult = 0.1
						disband_on_peace = yes
						cannot_inherit = no
						attrition = 0.8
						maintenance = yes
						maintenance_multiplier = 1.3
						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.45111
		desc = EVNTDESCreinfunitfort.45111
		border = GFX_event_normal_frame_war
		
		is_triggered_only = yes 
		
		option = {
		name = "EVTOPTAreinfunitfort45111"
		
		hidden_tooltip = {
		

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

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