namespace = goodside character_event = { id = goodside.1 title = "EVTNAMEgoodside.1" desc = "EVTDESCgoodside.1" picture = "GFX_good" age = 16 only_rulers = yes only_independent = yes trigger = { OR = { religion_group = religion_group_khazad religion_group = religion_group_eldar religion = religion_numenorean religion = religion_dunedain religion = religion_edain religion = religion_druedain religion = religion_rhovanion } NOT = { trait = evil_side has_character_flag = goodsidestartup title = d_mornaugrim } NOT = { religion_group = religion_group_melkor } } immediate = { set_character_flag = goodsidestartup } option = { name = "EVTOPTgoodside.1" if = { limit = { NOT = { trait = good_side } } add_trait = good_side } # adds good side to high-ranking vassals any_vassal = { limit = { primary_title = { higher_tier_than = count } NOT = { trait = evil_side } NOT = { has_character_flag = goodsidestartup } NOT = { religion_group = religion_group_melkor } # perhaps some additional limitations here } # vassal kings will always (after passing the above test) get good_side if = { limit = { real_tier = king } if = { limit = { NOT = { trait = good_side } } add_trait = good_side } set_character_flag = goodsidestartup # we now scope to the duke-level vassals any_vassal = { if = { limit = { real_tier = duke OR = { religion_group = religion_group_khazad religion_group = religion_group_eldar religion = religion_numenorean religion = religion_dunedain religion = religion_edain religion = religion_druedain } } if = { limit = { NOT = { trait = good_side } } add_trait = good_side } set_character_flag = goodsidestartup } } } # vassal duke will get good_side under certain conditions if = { limit = { real_tier = duke OR = { religion_group = religion_group_khazad religion_group = religion_group_eldar religion = religion_numenorean religion = religion_dunedain religion = religion_edain religion = religion_druedain } } if = { limit = { NOT = { trait = good_side } } add_trait = good_side } set_character_flag = goodsidestartup } } # marks the heir as good side current_heir = { if = { limit = { NOT = { trait = good_side } } add_trait = good_side } } } } ##Event to switch to the Good side for players only## character_event = { id = goodside.2 title = "EVTNAMEgoodside.2"#Switching Sides desc = "EVTDESCgoodside.2"#Elves are leaving, and there is no strength left in men. Perhaps, it would be wise to ... join the winning side and serve Sauron willingly? picture = "GFX_evil" is_triggered_only = yes trigger = { trait = good_side } immediate = { set_character_flag = switched_side } option = { name = "EVTOPTAgoodside.2"#It might indeed be wise... remove_trait = good_side add_trait = evil_side } option = { name = "EVTOPTBgoodside.2"#That would be madness! piety = 10 } } ##Event for good-side vassals when ruler turns evil# character_event = { id = goodside.3 title = "EVTNAMEgoodside.3"#Corrupted Ruler desc = "EVTDESCgoodside.3"#Your liege-lord has submitted to Sauron! Do you declare independence, or keep to your oaths? picture = "GFX_evil" only_rulers = yes trigger = { OR = { culture_group = culture_group_edain culture_group = culture_group_numenorean culture_group = culture_group_middlemen culture_group = culture_group_haldadian culture_group = culture_group_halfling culture_group = culture_group_dwarves culture_group = culture_group_quendi culture_group = culture_group_amanyar culture_group = culture_group_umanyar culture_group = culture_group_moriquendi } NOT = { culture = culture_black_numenorean } NOT = { has_character_flag = evil_liege } NOT = { religion_group = religion_group_melkor } NOT = { trait = evil_side } liege = { trait = evil_side } NOT = { liege = { culture = culture_maiar } } NOT = { liege = { culture = culture_istari } } NOT = { liege = { culture_group = culture_group_melkor } } } mean_time_to_happen = { days = 180 } immediate = { set_character_flag = evil_liege } option = { name = "EVTOPTAgoodside.3"#I will not serve this traitor! set_character_flag = evil_liege liege = { character_event = { id = goodside.4 days = 1 } } set_defacto_liege = THIS } option = { name = "EVTOPTBgoodside.3"#Perhaps my liege is right... trigger = { OR = { trait = cruel trait = lunatic trait = weak trait = deceitful trait = craven } } set_character_flag = evil_liege liege = { character_event = { id = goodside.9 days = 1 } } piety = 10 } } ##Ruler is informed a vassal declares independence# character_event = { id = goodside.4 title = "EVTNAMEgoodside.4"#Vassal rejects you desc = "EVTDESCgoodside.4"#Ally with Sauron? Your will has turned to madness, and you are faithless and accursed! I declare my bond to you broken. picture = "GFX_evil" is_triggered_only = yes option = { name = "EVTOPTAgoodside.4"#I'll see you dead for this! add_trait = wroth } option = { name = "EVTOPTBgoodside.4"#None can withstand the will of Sauron. add_trait = zealous } } ##Event for good-side courtiers when ruler turns evil# character_event = { id = goodside.5 title = "EVTNAMEgoodside.5"#Corrupted Ruler desc = "EVTDESCgoodside.5"#Your liege-lord has submitted to Sauron! Do you leave his court, or follow him into darkness? picture = "GFX_evil" trigger = { OR = { culture_group = culture_group_edain culture_group = culture_group_numenorean culture_group = culture_group_middlemen culture_group = culture_group_haldadian culture_group = culture_group_halfling culture_group = culture_group_dwarves culture_group = culture_group_quendi culture_group = culture_group_amanyar culture_group = culture_group_umanyar culture_group = culture_group_moriquendi } NOT = { culture = culture_black_numenorean } NOT = { has_character_flag = evil_liege } NOT = { religion_group = religion_group_melkor } NOT = { trait = evil_side } liege = { trait = evil_side } lower_tier_than = baron } mean_time_to_happen = { days = 180 } immediate = { set_character_flag = evil_liege } option = { name = "EVTOPTAgoodside.5"#I will not serve this traitor! set_character_flag = evil_liege liege = { character_event = { id = goodside.6 days = 1 } } } option = { name = "EVTOPTBgoodside.5"#I will stay loyal. trigger = { OR = { trait = cruel trait = lunatic trait = weak trait = deceitful trait = craven } } set_character_flag = evil_liege liege = { character_event = { id = goodside.7 days = 1 } } } } ##Ruler is informed a courtier makes his choice to stay# character_event = { id = goodside.6 title = "EVTNAMEgoodside.6"#Courtier supports you desc = "EVTDESCgoodside.6"#It is not my place to question you, my Liege. You lead, and I follow. picture = "GFX_evil" is_triggered_only = yes option = { name = "EVTOPTAgoodside.6"#Excellent! } } ##Ruler is informed a courtier makes his choice to leave# character_event = { id = goodside.7 title = "EVTNAMEgoodside.7"#Courtier leaves you desc = "EVTDESCgoodside.7"#You are mad, we cannot submit to Sauron! picture = "GFX_evil" is_triggered_only = yes option = { name = "EVTOPTAgoodside.7"#Guards, seize this traitor! FROM = { imprison = ROOT } } option = { name = "EVTOPTBgoodside.7"#Then leave, while you still can... random_independent_ruler = { limit = { culture = FROM num_of_vassals = 3 } reverse_banish = FROM } } } ##Ruler is informed a vassal will stay with him# character_event = { id = goodside.9 title = "EVTNAMEgoodside.9"#Vassal stays loyal desc = "EVTDESCgoodside.9"#Treating with Sauron seems like madness, but if this is what it takes to ensure the survival of our people... picture = "GFX_evil" is_triggered_only = yes option = { name = "EVTOPTAgoodside.9"#It is the only way. } }