﻿# Family romance: On actions for the Hunt activity

familyromance_hunt_random_events = {
	random_events = {		
		chance_of_no_event = {
			value = 99
			if = {
				limit = {
					has_game_rule = familyromance_siblings_seduce_attempts_during_feasts_hunts_very_rare
				}
				subtract = familyromance_siblings_seduce_attempts_during_feasts_hunts_very_rare_prob
			}
			if = {
				limit = {
					has_game_rule = familyromance_siblings_seduce_attempts_during_feasts_hunts_rare
				}
				subtract = familyromance_siblings_seduce_attempts_during_feasts_hunts_rare_prob
			}
			if = {
				limit = {
					has_game_rule = familyromance_siblings_seduce_attempts_during_feasts_hunts_often
				}
				subtract = familyromance_siblings_seduce_attempts_during_feasts_hunts_often_prob
			}
			if = {
				limit = {
					has_game_rule = familyromance_siblings_seduce_attempts_during_feasts_hunts_very_often
				}
				subtract = familyromance_siblings_seduce_attempts_during_feasts_hunts_very_often_prob
			}
		}

		400 = hunt_familyromance.1001
		400 = hunt_familyromance.1002
		400 = hunt_familyromance.1003
	}
	
}


hunt_random_pulse = {
	on_actions = {
		familyromance_hunt_random_events
	}	
}