As part of the ongoing effort to model politics of the era in CK, I've started looking closely at the potential for event-driven civil wars. While at the moment, it seems impossible to have intra-kingdom feuds, I think I have managed to set up the basics of true civil wars, where you have something more than just individual vassals trying to break away.
The basic design theory behind these events is that when the loyalty of a vassal drops below 25%, there is a small chance that a civil war will be sparked. The chance is based on the vassal's traits, the liege's traits, laws, and whatnot. Then the vassal and the liege get to make choices, with consequences that might result in other vassals DOWing the liege as well.
The current basic events I've created assume the liege has royal preorgatory. Obviously, civil war events should be modified based on the ruling laws of the realm.
I'm looking for some feedback so we can really make civil wars to be something feared.
The basic design theory behind these events is that when the loyalty of a vassal drops below 25%, there is a small chance that a civil war will be sparked. The chance is based on the vassal's traits, the liege's traits, laws, and whatnot. Then the vassal and the liege get to make choices, with consequences that might result in other vassals DOWing the liege as well.
The current basic events I've created assume the liege has royal preorgatory. Obviously, civil war events should be modified based on the ruling laws of the realm.
I'm looking for some feedback so we can really make civil wars to be something feared.
Code:
#A chance to conspire against your liege: Civil War Series 1: Vassal starts
character_event = { #You have found an opportunity to conspire against your liege. You can make a bid for the throne. What shall we do?
id = 11000
picture = “event_claim”
trigger = {
condition = { type = ruler }
condition = { type = is_vassal }
condition = { type = not value = { type = loyalty value = 0.25 } }
}
condition = {
type = liege
condition = { type = has_law value = { royal_preorgatory_law = yes } }
}
mean_time_to_happen = {
days = 30 #This may seem harsh, but remember this only fires when vassal loyalty drops below 25%. Thus it needs to fire quickly before loyalty increases make the window disappear.
modifier = {
condition = { type = trait value = proud }
factor = 0.5
}
modifier = {
condition = { type = trait value = selfish }
factor = 0.5
}
modifier = {
condition = { type = trait value = deceitful }
factor = 0.5
}
modifier = {
condition = { type = trait value = reckless }
factor = 0.5
}
modifier = {
condition = { type = trait value = naive_wirepuller }
factor = 0.8
}
modifier = {
condition = { type = trait value = flamboyant_schemer }
factor = 0.7
}
modifier = {
condition = { type = trait value = intricate_webweaver }
factor = 0.5
}
modifier = {
condition = { type = trait value = illusive_shadow }
factor = 0.2
}
#Yes, the more traits held, the faster it will fire. May very well be instant for certain connniving vassals.
modifier = {
condition = { type = trait value = modest }
factor = 2
}
modifier = {
condition = { type = trait value = honest }
factor = 3
}
modifier = {
condition = { type = trait value = coward }
factor = 10
}
modifier = {
condition = { type = liege
condition = { type = prestige value = 500 }
}
factor = 2
}
modifier = {
condition = { type = liege
condition = { type = not value = { prestige value = 200 } }
}
factor = .5
}
modifier = {
condition = { type = has_law value = { elective_law = yes } }
factor = 5
}
modifier = {
condition = { type = liege
condition = { type = trait value = coward }
}
factor = .5
}
modifier = {
condition = { type = liege
condition = { type = trait value = arbitrary }
}
factor = .5
}
modifier = {
condition = { type = liege
condition = { type = trait value = cruel }
}
factor = .5
}
modifier = {
condition = { type = liege
condition = { type = trait value = valorous }
}
factor = 2
}
modifier = {
condition = { type = liege
condition = { type = trait value = just }
}
factor = 2
}
}
action_a = { #The Realm is mine!
effect { type = random chance = 10 { type = prestige value = -100 } }
effect { type = random chance = 10 { type = prestige value = 100 } } #simulates potential rejection or acceptance of cause by others
effect { type = loyalty value = -1.0 }
effect { type = random chance = 50 { type = add_trait value = reckless } }
effect { type = random chance = 10 { type = add_trait value = deceitful } }
effect { type = type = add_title_claim value = liege }
effect { type = trigger for = liege value = 11001 } #Liege respone event
}
action_b = { #Let us bide our time
effect { type = type = add_title_claim value = liege }
effect { type = loyalty value = 0.2 }
}
action_c = { #No, I shall not commit treason
effect { type = loyalty value = 0.2 }
effect { type = prestige value = 25 }
}
}
#A vassal is making a bid for the throne! Civil War Series 1, Vassal Starts
character_event = { #One of our vassals is starting a civil war! What shall we do, my lord?
id = 11001
picture = “event_claim”
action_a = { #Crush all who oppose us!
effect { type = random chance = 20 { type = add_trait value = vengeful } }
effect { type = random chance = 20 { type = add_trait value = proud } }
effect { type = random chance = 75 { type = trigger for = best_vassal value = 11003 } }
effect { type = random chance = 75 { type = trigger for = worst_vassal value = 11003 } }
effect { type = random chance = 75 { type = trigger for = random_vassal = 11003 } }
effect { type = trigger for = best_son value = 11014 } #son response event
effect { type = trigger for = worst_son value = 11014 } #son response event
effect { type = trigger for = random_son = 11014 } #son response event
effect { type = trigger for = spouse = 11015 } #spouse response event
}
action_b = { #Let us make concessions to avoid a conflict.
effect { type = add_trait value = coward }
effect { type prestige value = -200 }
effect { type = set_law value = traditional_custom }
effect { type = random chance = 10 { type = trigger for = best_vassal value = 11003 } }
effect { type = random chance = 10 { type = trigger for = worst_vassal value = 11003 } }
effect { type = random chance = 10 { type = trigger for = random_vassal = 11003 } }
effect { type = trigger for = best_son value = 11012 } #son response event
effect { type = trigger for = worst_son value = 11012 } #son response event
effect { type = trigger for = random_son = 11012 } #son response event
effect { type = trigger for = spouse = 11013 } #spouse response event
}
}
#Shall we join the fight against our liege? Civil War Series 1, Vassal reaction
character_event = { #A civil war within the realm is brewing. Shall we join the fight against our liege?
id = 11003
picture = “event_claim”
action_a = { #Let us depose our liege
ai_chance = 50
modifier = {
condition = { type = trait value = valorous }
factor = 1.25
}
modifier = {
condition = { type = trait value = reckless }
factor = 1.25
}
modifier = {
condition = { type = trait value = proud }
factor = 1.25
}
modifier = {
condition = { type = trait value = decietful }
factor = 1.25
}
effect { type = loyalty value = -1.0 }
effect { type = type = add_title_claim value = liege }
effect { type = trigger for = liege value = 11004 } #Liege response event
}
action_c = { #No, I shall not commit treason
ai_chance = 50
modifier = {
condition = { type = trait value = modest }
factor = 1.25
}
modifier = {
condition = { type = trait value = wise }
factor = 1.25
}
modifier = {
condition = { type = trait value = coward }
factor = 2
}
modifier = {
condition = { type = trait value = honest }
factor = 1.25
}
effect { type = loyalty value = 0.25 }
effect { type = prestige value = 25 }
}
}
#Another vassal is joining the fight against us! Civil War stage 4
character_event = { #Another vasssal is joining the fight against us in the civil war that is brewing.
id = 11004
picture = “event_claim”
action_a = { #Crush all who oppose us!
effect { type = random chance = 25 { type = trigger for = best_vassal value = 11003 } }
effect { type = random chance = 25 { type = trigger for = worst_vassal value = 11003 } }
effect { type = random chance = 25 { type = trigger for = random_vassal = 11003 } }
effect { type prestige value = 200 }
}
action_b = { #Let us make concessions to avoid further conflict.
effect { type = random chance = 20 { type = add_trait value = coward } }
effect { type prestige value = -200 }
effect { type = set_law value = traditional_custom }
effect { type = random chance = 10 { type = trigger for = best_vassal value = 11003 } }
effect { type = random chance = 10 { type = trigger for = worst_vassal value = 11003 } }
effect { type = random chance = 10 { type = trigger for = random_vassal = 11003 } }
}
}
#My father is a weakling! Civil War Event series 1
character_event = { #Your father has come under attack from his vassals; however, he has caved in and given concessions rather than fought back. How do you react?
id = 11012
action_a = { #I can’t believe he did that! I am disgusted!
ai_chance = 50
modifier = {
condition = { type = trait value = valorous }
factor = 1.25
}
modifier = {
condition = { type = trait value = energetic }
factor = 1.25
}
modifier = {
condition = { type = trait value = proud }
factor = 1.25
}
modifier = {
condition = { type = trait value = vengeful }
factor = 1.25
}
effect { type = loyalty value = -0.75 }
effect { type = trigger for = father value = 11016 } #Father response event
}
action_c = { #It was probably the best course of action
ai_chance = 50
modifier = {
condition = { type = trait value = modest }
factor = 1.25
}
modifier = {
condition = { type = trait value = merciful }
factor = 1.25
}
modifier = {
condition = { type = trait value = coward }
factor = 2
}
modifier = {
condition = { type = trait value = lazy }
factor = 1.25
}
effect { type = loyalty value = 0.25 }
effect { type = prestige value = 25 }
effect { type = trigger for = father value = 11018 } #Father response event
}
}
#My spouse is a weakling! Civil War Event series 1
character_event = { #Your spouse has come under attack from one of his own relatives; however, he has caved in and given concessions rather than fought back. How do you react?
id = 11013
action_a = { #I can’t believe he did that! I am disgusted!
ai_chance = 50
modifier = {
condition = { type = trait value = valorous }
factor = 1.25
}
modifier = {
condition = { type = trait value = energetic }
factor = 1.25
}
modifier = {
condition = { type = trait value = proud }
factor = 1.25
}
modifier = {
condition = { type = trait value = vengeful }
factor = 1.25
}
effect { type = loyalty value = -0.75 }
effect { type = trigger for = spouse value = 11017 } #Father response event
}
action_c = { #It was probably the best course of action
ai_chance = 50
modifier = {
condition = { type = trait value = modest }
factor = 1.25
}
modifier = {
condition = { type = trait value = merciful }
factor = 1.25
}
modifier = {
condition = { type = trait value = coward }
factor = 2
}
modifier = {
condition = { type = trait value = lazy }
factor = 1.25
}
effect { type = loyalty value = 0.25 }
effect { type = prestige value = 25 }
effect { type = trigger for = spouse value = 11019 } #Father response event
}
}
#My Father is under attack. Civil War series 1
character_event = { #Your father has come under attack by a relative who is trying to take the throne. Your father will fight back with his full fury. Shall you support him?
id = 11014
action_a = { #I will stand by my father! Death to all who oppose him!
ai_chance = 50
modifier = {
condition = { type = trait value = valorous }
factor = 1.25
}
modifier = {
condition = { type = trait value = energetic }
factor = 1.25
}
modifier = {
condition = { type = trait value = proud }
factor = 1.25
}
modifier = {
condition = { type = trait value = vengeful }
factor = 1.25
}
effect { type = loyalty value = 0.50 }
effect { type = prestige value = 25 }
effect { type = trigger for = father value = 11018 } #Father response event
}
action_c = { #Perhaps he has acted unwisely
ai_chance = 50
modifier = {
condition = { type = trait value = modest }
factor = 1.25
}
modifier = {
condition = { type = trait value = merciful }
factor = 1.25
}
modifier = {
condition = { type = trait value = coward }
factor = 2
}
modifier = {
condition = { type = trait value = lazy }
factor = 1.25
}
effect { type = loyalty value = -0.25 }
}
}
#I use separate events for spouse and sons only because the text inside the event window needs to be different.
#My spouse is under attack. Civil War series 1
character_event = { #Your spouse has come under attack by a relative who is trying to take the throne. He will fight back with his full fury. Shall you support him?
id = 11015
action_a = { #I will stand by my husband!
ai_chance = 50
modifier = {
condition = { type = trait value = valorous }
factor = 1.25
}
modifier = {
condition = { type = trait value = energetic }
factor = 1.25
}
modifier = {
condition = { type = trait value = proud }
factor = 1.25
}
modifier = {
condition = { type = trait value = vengeful }
factor = 1.25
}
effect { type = loyalty value = 0.50 }
effect { type = prestige value = 25 }
effect { type = trigger for = father value = 11019 } #Spouse response event
}
action_c = { #Perhaps he has acted unwisely
ai_chance = 50
modifier = {
condition = { type = trait value = modest }
factor = 1.25
}
modifier = {
condition = { type = trait value = merciful }
factor = 1.25
}
modifier = {
condition = { type = trait value = coward }
factor = 2
}
modifier = {
condition = { type = trait value = lazy }
factor = 1.25
}
effect { type = loyalty value = -0.25 }
}
}
#Your son is disgusted with your spinelessness: Civil War Series 1
character_event = { #A son is disgusted with your spinelessness with regards to the civil war.
id = 11016
picture = “event_claim”
immidiate = { #Damned if I do, damned if I don’t with this family…
effect = { type = prestige value = -25 }
}
}
#Your spouse is disgusted with your spinelessness: Civil War Series 1
character_event = { #Your own spouse is disgusted with your gutlessness with regards to the civil war.
id = 11017
picture = “event_claim”
immidiate = { #Damned if I do, damned if I don’t with this family…
effect = { type = prestige value = -25 }
}
}
#Your son rallies to your cause: Civil War Series 2
character_event = { #A son has rallied to support you in the civil war with your own family.
id = 11018
picture = “event_claim”
immidiate = { #That’s my boy!
effect = { type = prestige value = 25 }
}
}
#Your spouse rallies to your cause
character_event = { #Your spouse fully supports you in the civil war with your family.
id = 11019
picture = “event_claim”
immidiate = { #She is my rock and stronghold in these dark times
effect = { type = prestige value = 25 }
}
}