Crusader Kings III

Crusader Kings III

Unlanded Characters Inherit Gold
38 Comments
FDM 29 Apr @ 3:35am 
might need update, still checking if this mod break something in the khans update
piercebuster 12 Mar @ 3:17pm 
Hey Karstaag, technically realm priests are considered unlanded, so they end up triggering this mod's inheritance rather than giving all the gold to their successor.

You can fix this by adding the limit
is_clergy = no
to UnlandedGold_on_Actions.txt

I put out a fork of this that also changes some things for balance. Feel free to copy any part. Thanks for this!
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3443312765
OP Cheater 25 Feb @ 4:00pm 
Is this applicable to characters with titles as well?
cuomo860 15 Jan @ 8:06am 
There were complaints about religious rulers getting too much gold. When I integrated this into the super compatch I added a lot more levels before it reached this rulers.
[AT] 10 Simps 14 Jan @ 10:17pm 
any issues folks?
vladimir_gilmour 2 Jun, 2024 @ 1:18am 
is this save game compatible?
Karstaag  [author] 19 Apr, 2024 @ 1:20am 
@HeirandtheSpare It should work with any version unless Paradox broke the code.
HeirandtheSpare 17 Apr, 2024 @ 6:22pm 
Does this still work with the recent updates? Or does it need to be updated as well?
cuomo860 26 Jan, 2024 @ 7:47am 
@Karstaag. I've actually implemented this mod and with some tweaks into my Super Compatch so I wanted to let you know what I've done in regards to @BlackGenetics concerns.

Since the game clearly states, gold represents all assets not just money, with the thought that outside of family, characters are only going to be able to obtain liquid assets from the dead.

I changed level c to only be 80% of gold value, which spouse gets. This does well to represent the loss of value of losing a spouse. (20% probably should be taken off the top in the event files but I didn't want to mess with those and it would likely be such a minor amount.)

I added levels d and e which are 30% and 15% respectively. 30% to liege and everybody else gets 15% of the characters gold value further down the line.

In the scenario described below the Caliphate would get 7.5k to 9k. It's not ideal but a much better scenario.

You can find the file changes in the Super Compatch if you want to see specifically.
cuomo860 26 Jan, 2024 @ 6:47am 
@BlackGenetics @Karstaag I mean, that makes for a realistic representation of the power of faith heads lol. However, I suppose there could be some coding to prevent that at some level.
Karstaag  [author] 26 Jan, 2024 @ 6:00am 
@BlackGenetics I don't make mods with balance in mind. Feel free to fork it if you want.
BlackGenetics 26 Jan, 2024 @ 5:23am 
Hello! I have to say I love the idea of this mod but it completely breaks the Abbasid Caliphate as they are the head of faith and receive most of the inheritance from Sunni characters without any family members. After 30 years starting from 867 they always amass 50k-60k gold breaking the game balance substantially.
Karstaag  [author] 19 Jan, 2024 @ 9:21pm 
@cuomo860 Added your suggestions. Also added in couple of code snippets to check for culture head, spouse and realm priest too. Thanks.
cuomo860 19 Jan, 2024 @ 8:21am 
I went ahead and put in the discussion section some fixed coding which may do a better job of what you're looking for. I haven't tested it so it may not work as intended.
cuomo860 19 Jan, 2024 @ 7:33am 
Since it's causing an issue with cases where the character is travelling, I would just change the 3rd part to liege and not host, if it exists.

gold_inherit_relatives_3 = {
trigger = {
is_landed = no
gold > 0
ROOT = {
NOT = {
any_child = {
is_alive = yes
}
any_close_or_extended_family_member = {
is_alive = yes
}
}
}
exists = root.liege
}
effect = {
ROOT = {
pay_short_term_gold = {
target = root.liege
gold = inherited_gold_value_c
}
}
}
}

The first two parts cover, a wandering character who has family. The third part covers the liege which represents their abandoned valuables being taken. There could be a 4th part for host using the exists = host.instead of liege. The 5th part could be NOT exists = host exists = liege and it could be given to the head of faith? or just passes on.

The key to avoiding the errors will be making sure the effect does not target a character who does not exists...hence the trigger having the exists =.
Karstaag  [author] 19 Jan, 2024 @ 1:53am 
@Dnasis I've tried but I can't seem to make the code target characters who have no liege or host.
Dnasis 18 Jan, 2024 @ 6:33pm 
How does this work with an unlanded character dies with no heirs AND no host or liege? I've been using the travelers mod and I think so many characters in transit is causing a lot of errors for this mod.
Caloens2k1 27 Nov, 2023 @ 6:51am 
Is this save game compatible?
geri.1313 12 Oct, 2023 @ 12:08pm 
Not compatible with AGOT Beta 0.1.16 for CK3 Version 1.10.2
Noted on 12.10.2023
stukulele 3 Oct, 2023 @ 8:06am 
Would it be possible to get a popup to let you know which character has died and how much they have left you?
HeirandtheSpare 7 Sep, 2023 @ 6:19pm 
Cool. How did it work before?
Karstaag  [author] 15 Aug, 2023 @ 2:41pm 
They still fire.
cuomo860 15 Aug, 2023 @ 2:18pm 
You may want to check what is actually uploaded to steam...it may have been a bad upload but your on_action say;

trigger_event = {
id = gold_relatives.0001
}

trigger_event = {
id = gold_relatives.0002

but you event files show the events are actually
gold_relatives.1 and gold_relative.2 not gold_relatives.0001 and gold_relatives.0002
Karstaag  [author] 15 Aug, 2023 @ 1:51pm 
It only seems not to work when you execute someone you imprisoned from the assassination event. But the character might have some obscure relative that the gold goes to.
cuomo860 15 Aug, 2023 @ 11:49am 
FYI, the mod doesn't work because the on_action is triggering files which are not names correctly.
أبو مقرن 14 Jul, 2023 @ 7:14am 
can you add an option that does the same for landed characters when they die? its weird that only the main heir get all the gold
Karstaag  [author] 20 Jun, 2023 @ 1:49am 
@Ahoyande It does work.
Ahoyande 19 Jun, 2023 @ 5:23pm 
My courtiers' kids never inherit their dead parents' money. The mod doesn't seem to work.
tilarium 23 May, 2023 @ 12:53pm 
@Cali, All mods are achievement compatible now.
puggy 23 May, 2023 @ 11:28am 
How about debt or negative gold balances on death
CaliBlueBear 18 May, 2023 @ 7:55pm 
Achievements compatible?
Karstaag  [author] 30 Apr, 2023 @ 5:39pm 
@Ēarendel What doesn't work?
@mack_min No. I can't be bothered to. I'm not very skilled at modding anyways.
@alegdansk All the gold disappears forever.

I will try to update the MAR mods after the ck3 dlc has dropped and make them more simple and compatible using on_actions instead of modifying the vanilla religion files.
Ēarendel 30 Apr, 2023 @ 4:37pm 
Doesn't work
Heavenly Weapon Getta 26 Apr, 2023 @ 7:41am 
Very neat mod !!!
j112000f 25 Apr, 2023 @ 4:44pm 
Hey your mod is awesome. Any plans to expand upon features to allow unlanded to become nobles? Thank you
Riaman 22 Apr, 2023 @ 2:16pm 
good, now my courtiers if they don't have children will return me money, or if they have enough money after few gens, they will get a castle barony or county.
alegdansk 22 Apr, 2023 @ 9:48am 
How does it works in the base game when an unlanded character dies?
Ahoyande 22 Apr, 2023 @ 8:53am 
This was long overdue and should be in the base game. Thank you!