﻿# character having its birthday in root scope
# tested after age has increased
on_birthday = {
	on_actions = {
		INTR_track_mental_health
	}
}

INTR_track_mental_health = {
	effect = {
		if = {
			limit = {
				INTR_has_negative_coping_mechanism = yes
			}
			INTR_increase_stress_free_years_effect = yes
		}
		if = {
			limit = {
				NOT = { INTR_has_negative_coping_mechanism = yes }
			}
			INTR_remove_stress_free_years_effect = yes
		}
	}
}