The purpose of this (mini) mod is to alter what happens at the conclusion of a successful decadence invasion, to result in the blob breaking up more. It does so by altering the event that fires for all vassals of the lord that just lost the decadence invasion, changing the weighting so that those vassals that are not de jure vassals are much more likely to declare independence. It also limits the "Ask to shape up" decision to either the head of the dynasty or the player. In addition, this version of the mod reduces the amount of decadence lost from winning wars, and from fighting battles, as well as to bring the opinion bonus from piety into line with the value needed for prestige, making it harder for Muslims to get that extra global +20 opinion. (Now, 2000 Piety is needed, instead of vanilla's 500 Piety.)
Here is the 2.6.2 compatible version of the mod:
Decadence Breakup v4.4
Please let me know if you have any problems or suggestions or whatnot.
Older Version of the OP
Here is the download link for the 2.3.3 compatible version: (Also is compatible with 2.3.4, 2.3.5, and 2.3.6, as they did not alter decadence.)
Decadence Breakup v3.95
Here is the version for 2.4.5, and one intercompatible with my trait mod:
Decadence Breakup v4
Decadence Breakup v4 Trait Rebalance Compatible
Here is the 2.5.2 compatible version of the mod:
Decadence Breakup v4.3
Changes for this version:
Unless requested, I'm not going to put together an intercompatible version for my trait mod, as there was very little interest for it.
Decadence Breakup v3.95
Here is the version for 2.4.5, and one intercompatible with my trait mod:
Decadence Breakup v4
Decadence Breakup v4 Trait Rebalance Compatible
Here is the 2.5.2 compatible version of the mod:
Decadence Breakup v4.3
Changes for this version:
- Decadence revolt armies now can reinforce, as vassal levies can do so now.
- Revolter armies should now scale against max army size of target, instead of current size.
- Tweaked piety opinion scaling to match vanilla changes. (It matches prestige, as before, but with the opinion nerf.)
Unless requested, I'm not going to put together an intercompatible version for my trait mod, as there was very little interest for it.
Here is the 2.6.2 compatible version of the mod:
Decadence Breakup v4.4
On the subject of inter-mod compatibility, be aware that this mod changes the defines.lua file, so by default is not compatible with other mods that do so. (That said, I don't change that much in that file, so merging shouldn't be too difficult.)
Please let me know if you have any problems or suggestions or whatnot.
Older Version of the OP
I've finally gotten around to updating this for RoI. I've tweaked the breakup rates a bit, and also changed the way that the "Ask a dynasty member to shape up" action works. Now, only the dynasty head and the player can ask other dynasty members to shape up. Also, the flag indicating that they've been asked to shape up should now expire after ten years, so they can eventually be asked again if they relapse. (If you want to get rid of the change to asking decadent dynasty members to shape up, just delete the "decisions" folder in the mod.)
Here's the download: (Note: this is for game version 2.1.6. The version updated for Charlemagne is below.)
Decadence Breakup v3
EDIT = {
Here is a patched version of the above, which should work with 2.2 and the betas through 2.2.0.4 . It does not have the additional features I intend to add for the next release, mainly tying together vassal limit and decadence, but it has all the existing features of the mod.
Decadence Breakup v3.5
}
This spoiler contains the original OP, and the downloads for older versions of the minimod.
Here's the download: (Note: this is for game version 2.1.6. The version updated for Charlemagne is below.)
Decadence Breakup v3
EDIT = {
Here is a patched version of the above, which should work with 2.2 and the betas through 2.2.0.4 . It does not have the additional features I intend to add for the next release, mainly tying together vassal limit and decadence, but it has all the existing features of the mod.
Decadence Breakup v3.5
}
This spoiler contains the original OP, and the downloads for older versions of the minimod.
The original event's code was:
My altered version is:
Here is what one of my test runs looked like:
Obviously, it won't always come out as nicely as this observer game did, but it can. (Full disclosure: to start things off, I went in as the Umayyad sultan and surrendered to the decadence invasion. I then let events play out freely from there. Badajoz and the counties north and west of it have traded hands between the Christians and the Muslims over the course of the years. Andalusia only took that land back in the last fifteen years or so, when Asturias underwent some nasty rebellions. They had managed to get to Absolute CA, and without the former queen's diplomacy and massive long reign bonus things fell apart.)
Please let me know if you spot anything that I've done wrong, or need to change. This is my first attempt at making a mod, and I hope I've done well.
Download: View attachment Decadence Breakup.zip (Note: This version is bugged, and will cause ALL vassals to declare independence, unless they are imprisoned. This version has been left up by request.)
Edit:
Here is the fixed version of the minimod:
View attachment Decadence Breakup v 2.zip
I've fixed the bug I mentioned earlier, along with some ROOT/FROM errors, and also tweaked some of the modifiers for loyalty/independence. You can see the code for this version earlier in this post, as it has replaced the code for the bugged version in the spoiler. I think I have gotten all the FROMs and stuff correct this time.
Code:
# Vassal can declare independence after a successful Decadence invasion
character_event = {
id = 91240
desc = EVTDESC91240
picture = GFX_evt_council_muslim
is_triggered_only = yes
option = {
name = EVTOPTA91240 # Remain loyal
ai_chance = {
factor = 10
modifier = {
factor = 10
trait = content
}
modifier = {
factor = 3
trait = zealous
liege = {
controls_religion = yes
religion = ROOT
}
}
}
}
option = {
name = EVTOPTB91240 # Declare independence
ai_chance = {
factor = 2
modifier = {
factor = 3
trait = ambitious
}
modifier = {
factor = 20
in_faction = faction_independence
}
modifier = {
factor = 3
tier = KING
}
modifier = {
factor = 2
liege = {
NOT = { religion_group = ROOT }
}
}
modifier = {
factor = 2
liege = {
NOT = { religion = ROOT }
}
}
modifier = {
factor = 1.5
liege = {
NOT = { culture_group = ROOT }
}
}
modifier = {
factor = 1.5
liege = {
NOT = { culture = ROOT }
}
}
}
liege = {
ROOT = {
any_demesne_title = {
limit = {
higher_tier_than = COUNT
}
add_pressed_claim = PREVPREV
}
}
opinion = {
modifier = opinion_traitor
who = ROOT
months = 240
}
}
set_defacto_liege = ROOT
}
}
My altered version is:
Code:
# Vassal can declare independence after a successful Decadence invasion
character_event = {
id = 91240
desc = EVTDESC91240
picture = GFX_evt_council_muslim
is_triggered_only = yes
option = {
name = EVTOPTA91240 # Remain loyal
ai_chance = {
factor = 4
modifier = {
factor = 5
AND = {
trait = content
# opinion = { who = FROM value = 1 }
# de_jure_liege = FROM
}
}
modifier = {
factor = 20
trait = zealous
liege = {
controls_religion = yes
religion = ROOT
}
}
modifier = {
factor = 5
de_jure_liege = FROM
}
}
}
option = {
name = EVTOPTB91240 # Declare independence
ai_chance = {
factor = 4
modifier = {
factor = 5
trait = ambitious
}
modifier = {
factor = 25
in_faction = faction_independence
}
modifier = {
factor = 4
tier = KING
}
modifier = {
factor = 2
liege = {
NOT = { religion = ROOT }
}
}
modifier = {
factor = 15
liege = {
NOT = { religion_group = ROOT }
}
}
modifier = {
factor = 1.5
liege = {
NOT = { culture_group = ROOT }
}
}
modifier = {
factor = 1.5
liege = {
NOT = { culture = ROOT }
}
}
modifier = {
factor = 20
liege = {
NOT = { de_jure_liege = FROM }
}
}
}
liege = {
ROOT = {
any_demesne_title = {
limit = {
higher_tier_than = COUNT
}
add_weak_pressed_claim = PREVPREV
}
}
opinion = {
modifier = opinion_traitor
who = ROOT
months = 240
}
}
set_defacto_liege = ROOT
}
}
Here is what one of my test runs looked like:
Obviously, it won't always come out as nicely as this observer game did, but it can. (Full disclosure: to start things off, I went in as the Umayyad sultan and surrendered to the decadence invasion. I then let events play out freely from there. Badajoz and the counties north and west of it have traded hands between the Christians and the Muslims over the course of the years. Andalusia only took that land back in the last fifteen years or so, when Asturias underwent some nasty rebellions. They had managed to get to Absolute CA, and without the former queen's diplomacy and massive long reign bonus things fell apart.)
Please let me know if you spot anything that I've done wrong, or need to change. This is my first attempt at making a mod, and I hope I've done well.
Download: View attachment Decadence Breakup.zip (Note: This version is bugged, and will cause ALL vassals to declare independence, unless they are imprisoned. This version has been left up by request.)
Edit:
Here is the fixed version of the minimod:
View attachment Decadence Breakup v 2.zip
I've fixed the bug I mentioned earlier, along with some ROOT/FROM errors, and also tweaked some of the modifiers for loyalty/independence. You can see the code for this version earlier in this post, as it has replaced the code for the bugged version in the spoiler. I think I have gotten all the FROMs and stuff correct this time.
Last edited:
- 1