﻿@forever = 2000

# Testing only
regula_memory_test = {
    categories = { regula regula_enchanted relationships intimate }
    icon = "regula.dds"
    description = {
        first_valid = {
            desc = regula_memory_test_desc_1
        }
    }

    second_perspective_description = {
        first_valid = {
            desc = regula_memory_test_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        first_valid = {
            desc = regula_memory_test_desc_third_perspective_1
        }
    }

    duration = {
        years = memory_default_duration
    }
}

# Default memory (can be used for any type of event)
# However it's better to use a specific memory for each event.
regula_memory_fascinare_default = {
    categories = { regula regula_enchanted relationships intimate }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_main_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_main_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_main_desc_third_perspective_1
        }
    }

    participants = { enchanter }

    duration = {
        years = @forever
    }
}

# Fascinare scheme
regula_memory_fascinare_scheme_main = {
    categories = { regula regula_enchanted relationships intimate }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_main_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_main_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_main_desc_third_perspective_1
        }
    }

    participants = { enchanter }

    duration = {
        years = @forever
    }
}

# Fascinare scheme triggered by AI
regula_memory_fascinare_scheme_ai = {
    categories = { regula regula_enchanted relationships intimate }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_ai_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_ai_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_fascinare_scheme_ai_desc_third_perspective_1
        }
    }

    participants = { enchanter magister }

    duration = {
        years = @forever
    }
}

# Player directly converts own ward
regula_memory_convert_ward_direct = {
    categories = { regula regula_enchanted relationships intimate regula_ward_converted }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_convert_ward_direct_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_convert_ward_direct_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_convert_ward_direct_desc_third_perspective_1
        }
    }

    participants = { enchanter }

    duration = {
        years = @forever
    }
}

# Ward gets converted by your assistant (Mulsa, Paelex, Domina)
regula_memory_convert_ward_assistant = {
    categories = { regula regula_enchanted relationships intimate regula_ward_converted }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_convert_ward_assistant_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_convert_ward_assistant_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_convert_ward_assistant_desc_third_perspective_1
        }
    }

    participants = { enchanter magister }

    duration = {
        years = @forever
    }
}

# Enchant a prisoner
regula_memory_enchanted_in_prison = {
    categories = { regula regula_enchanted relationships intimate }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_enchanted_in_prison_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_enchanted_in_prison_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_enchanted_in_prison_desc_third_perspective_1
        }
    }

    participants = { enchanter }

    duration = {
        years = @forever
    }
}

# Infected by regula virus
regula_memory_infected_by_virus_main = {
    categories = { regula regula_enchanted relationships intimate regula_virus }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_infected_by_virus_main_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_infected_by_virus_main_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_infected_by_virus_main_desc_third_perspective_1
        }
    }

    participants = { last_patient patient_zero magister }

    duration = {
        years = @forever
    }
}

# Infected by regula virus from relative
regula_memory_infected_by_virus_from_relative = {
    categories = { regula regula_enchanted relationships intimate regula_virus }
    icon = "regula.dds"
    description = {
        random_valid = {
            desc = regula_memory_infected_by_virus_from_relative_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_infected_by_virus_from_relative_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_infected_by_virus_from_relative_desc_third_perspective_1
        }
    }

    participants = { last_patient patient_zero magister }

    duration = {
        years = @forever
    }
}

# Sanctifica Serva Ritual
regula_memory_serva_ritual = {
    categories = { regula relationships intimate regula_ritual }
    icon = "religious.dds"
    description = {
        random_valid = {
            desc = regula_memory_serva_ritual_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_serva_ritual_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_serva_ritual_desc_third_perspective_1
        }
    }

    participants = { magister }

    duration = {
        years = @forever
    }
}

# Domitans Tribunal
regula_memory_domitans_tribunal = {
    categories = { regula relationships intimate regula_domitans_tribunal }
    icon = "religious.dds"
    description = {
        random_valid = {
            desc = regula_memory_domitans_tribunal_desc_1
        }
    }

    second_perspective_description = {
        random_valid = {
            desc = regula_memory_domitans_tribunal_desc_second_perspective_1
        }
    }

    third_perspective_description = {
        random_valid = {
            desc = regula_memory_domitans_tribunal_desc_third_perspective_1
        }
    }

    participants = { magister }

    duration = {
        years = @forever
    }
}

# Adoption
## This overrides the vanilla adoption memory to make it last "forever." This is needed for the custom Consecrate Bloodline decision to work properly
was_adopted = {
	categories = { positive family }
	icon = "birth.dds"
	description = {
		random_valid = {
			desc = was_adopted_desc_1
		}
	}

	second_perspective_description = {
		random_valid = {
			desc = was_adopted_desc_second_perspective_1
		}
	}

	third_perspective_description = {
		random_valid = {
			desc = was_adopted_desc_third_perspective_1
		}
	}

	participants = { parent }

	duration = {
		 years = @forever
	}
}
