# Overrides the vanilla MNM.160x events, so that Magnum Opuses also count towards the bloodline

namespace = MNM

#Write a Magnum Opus - Finish book on Ritualistic/Invocative Theurgy
character_event = {
	id = MNM.1604
	desc = EVTDESC_MNM_1604
	picture = GFX_evt_secluded_in_prayer
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = { #Awesome!
		name = EVTOPTA_MNM_1604
		if = {
			limit = {
				NOT = { learning = 12 }
			}
			prestige = 50
    		add_artifact = magnum_opus_theurgy_ritual_1
		}
		if = {
			limit = {
				AND = {
					learning = 12
					NOT = { learning = 18 }
				}
			}
			prestige = 100
    		add_artifact = magnum_opus_theurgy_ritual_2
		}
		if = {
			limit = {
				AND = {
					learning = 18
					NOT = { learning = 25 }
				}
			}
			prestige = 150
    		add_artifact = magnum_opus_theurgy_ritual_3
		}
		if = {
			limit = {
				learning = 25
			}
			prestige = 200
    		add_artifact = magnum_opus_theurgy_ritual_4
		}
		remove_character_modifier = writing_magnum_opus
	}
	
	after = { mbb_author_update_variables_magnum_opus = yes }
	
}

#Write a Magnum Opus - Finish book on Contemplative Theurgy
character_event = {
	id = MNM.1605
	desc = EVTDESC_MNM_1605
	picture = GFX_evt_secluded_in_prayer
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = { #Awesome!
		name = EVTOPTA_MNM_1605
		if = {
			limit = {
				NOT = { learning = 12 }
			}
			prestige = 50
    		add_artifact = magnum_opus_theurgy_contemplation_1
		}
		if = {
			limit = {
				AND = {
					learning = 12
					NOT = { learning = 18 }
				}
			}
			prestige = 100
    		add_artifact = magnum_opus_theurgy_contemplation_2
		}
		if = {
			limit = {
				AND = {
					learning = 18
					NOT = { learning = 25 }
				}
			}
			prestige = 150
    		add_artifact = magnum_opus_theurgy_contemplation_3
		}
		if = {
			limit = {
				learning = 25
			}
			prestige = 200
    		add_artifact = magnum_opus_theurgy_contemplation_4
		}
		remove_character_modifier = writing_magnum_opus
	}
	
	after = { mbb_author_update_variables_magnum_opus = yes }
	
}

#Write a Magnum Opus - Finish book on Astrology with focus on Stars
character_event = {
	id = MNM.1606
	desc = EVTDESC_MNM_1606
	picture = GFX_evt_comet
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = { #Awesome!
		name = EVTOPTA_MNM_1606
		if = {
			limit = {
				NOT = { learning = 12 }
			}
			prestige = 50
    		add_artifact = magnum_opus_astrology_stars_1
		}
		if = {
			limit = {
				AND = {
					learning = 12
					NOT = { learning = 18 }
				}
			}
			prestige = 100
    		add_artifact = magnum_opus_astrology_stars_2
		}
		if = {
			limit = {
				AND = {
					learning = 18
					NOT = { learning = 25 }
				}
			}
			prestige = 150
    		add_artifact = magnum_opus_astrology_stars_3
		}
		if = {
			limit = {
				learning = 25
			}
			prestige = 200
    		add_artifact = magnum_opus_astrology_stars_4
		}
		remove_character_modifier = writing_magnum_opus
	}
	
	after = { mbb_author_update_variables_magnum_opus = yes }
	
}

#Write a Magnum Opus - Finish book on Astrology with focus on Planets
character_event = {
	id = MNM.1607
	desc = EVTDESC_MNM_1607
	picture = GFX_evt_comet
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = { #Awesome!
		name = EVTOPTA_MNM_1607
		if = {
			limit = {
				NOT = { learning = 12 }
			}
			prestige = 50
    		add_artifact = magnum_opus_astrology_planets_1
		}
		if = {
			limit = {
				AND = {
					learning = 12
					NOT = { learning = 18 }
				}
			}
			prestige = 100
    		add_artifact = magnum_opus_astrology_planets_2
		}
		if = {
			limit = {
				AND = {
					learning = 18
					NOT = { learning = 25 }
				}
			}
			prestige = 150
    		add_artifact = magnum_opus_astrology_planets_3
		}
		if = {
			limit = {
				learning = 25
			}
			prestige = 200
    		add_artifact = magnum_opus_astrology_planets_4
		}
		remove_character_modifier = writing_magnum_opus
	}
	
	after = { mbb_author_update_variables_magnum_opus = yes }
	
}

#Write a Magnum Opus - Finish book on Alchemy with focus on Universal Panacea
character_event = {
	id = MNM.1608
	desc = EVTDESC_MNM_1608
	picture = GFX_evt_experiment
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = { #Awesome!
		name = EVTOPTA_MNM_1608
    	if = {
			limit = {
				NOT = { learning = 12 }
			}
			prestige = 50
    		add_artifact = magnum_opus_alchemy_panacea_1
		}
		if = {
			limit = {
				AND = {
					learning = 12
					NOT = { learning = 18 }
				}
			}
			prestige = 100
    		add_artifact = magnum_opus_alchemy_panacea_2
		}
		if = {
			limit = {
				AND = {
					learning = 18
					NOT = { learning = 25 }
				}
			}
			prestige = 150
    		add_artifact = magnum_opus_alchemy_panacea_3
		}
		if = {
			limit = {
				learning = 25
			}
			prestige = 200
    		add_artifact = magnum_opus_alchemy_panacea_4
		}
		remove_character_modifier = writing_magnum_opus
	}
	
	after = { mbb_author_update_variables_magnum_opus = yes }
	
}

#Write a Magnum Opus - Finish book on Alchemy with focus on Transmutation
character_event = {
	id = MNM.1609
	desc = EVTDESC_MNM_1609
	picture = GFX_evt_experiment
	border = GFX_event_normal_frame_religion

	is_triggered_only = yes

	option = { #Awesome!
		name = EVTOPTA_MNM_1609
		if = {
			limit = {
				NOT = { learning = 12 }
			}
			prestige = 50
    		add_artifact = magnum_opus_alchemy_transmutation_1
		}
		if = {
			limit = {
				AND = {
					learning = 12
					NOT = { learning = 18 }
				}
			}
			prestige = 100
    		add_artifact = magnum_opus_alchemy_transmutation_2
		}
		if = {
			limit = {
				AND = {
					learning = 18
					NOT = { learning = 25 }
				}
			}
			prestige = 150
    		add_artifact = magnum_opus_alchemy_transmutation_3
		}
		if = {
			limit = {
				learning = 25
			}
			prestige = 200
    		add_artifact = magnum_opus_alchemy_transmutation_4
		}
		remove_character_modifier = writing_magnum_opus
	}
	
	after = { mbb_author_update_variables_magnum_opus = yes }
	
}