RimWorld

RimWorld

84 ratings
Diplomatic Marriage & Permanent Alliance
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
1.924 MB
Apr 14, 2024 @ 2:33pm
Aug 13, 2024 @ 9:27pm
34 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Diplomatic Marriage & Permanent Alliance

Description

Readme in my Github repository. English, Chinese and French versions available.
Github中有英文,中文和法语版的Readme
Le fichier Readme est sur mon dépôt Github, dispo en anglais, chinois et français.


[github.com]

**THIS MOD IS MIT LICENSED**


Diplomatic Marriage & Permanent Alliance, or Diplomatic Marriage Plus (DMP), is heavily inspired by Paradox game Crusader Kings, and by Diplomatic Marriage event in the mod More Faction Interactions as a starting point, which is also why I call this mod Diplomatic Marriage "Plus".

Features:

- You can now form a permanent alliance(PA) by marrying off one of the child of your colony ideology leader to one of your vanilla ally. PA goodwill will quickly increase each day, usually be locked to 100 (if your child has high social skill) unless you really do something terrible.

- While enjoying benefits like endless caravan or military reinforcement, you need to work hard to keep the union, such as keeping the couple safe or avoid changing ideology leader, just like how it often works in CK alliance. WARNING: In most time the couple are not your pawns so it wont be so easy.


How to start

You can't start the proposal volunteerly, you need to meet the condition then wait your ally to do so.

- Your colony must have ideology leader
- Your ideology leader must have an adult, unmarried child. DIRECT DESCENDENT only. Nephew or grandchildren do not count. (BTW this is also how alliance mostly works in CK)
- You need to have at least one NPC ally faction with goodwill >= 75

After all conditions met, NPC ally will propose randomly. Since the conditions are already hard enough, I set the event chance pretty high so that you wont wait for long.


What happens after PA?

- Daily goodwill increase with the ally faction
- Randomly convert the entire ally faction to your ideology
- PA may randomly send you Rimcities quests if you have it installed, such as joint attack a large city.
- You can request items of your choice to your PA, if you have A Petition For Provitions(APFP) installed. The CD is largely increased depending on the overall power of your PA.
- [NEW] When attacking an enemy settlement, let your PA takeover instead of destroying it. Just start the assault, go to comm console and call PA to come. Helping them to grow power can reduce items request CD of APFP.
- Caravan Refuge: PA together with the couple may seek refuge in your colony for raiders are behind them.
- Homesick: Your child may miss their parents and come back as your temporary pawns. This event is mostly for giving you an opportunity to give them equipments and xenogenes so that they wont die easily in future battles.

More post-marriage events will be added in the future.


Potential Interaction with other mods

This mod shall work with most mods. But since the key couple is considered as world pawns of your ally NPC faction, it may change abit the gameplay of other mods.

In a simple word, some other mods or even Vanilla may also spawn them on your map as world pawns from another faction. But whatever the reason, you need to protect them to keep the PA.


Examples

- Factional War: You are no longer just a "bystander" like the author says. When your permanent ally is involved in the war and your child or child-in-law happen to be in their army, you'd better think of a quick intervention.

- Dynamic Diplomacy: Similar for battle simulation. Other NPC factions may randomly convert your PA to other ideologies even after your child successfully convert them.

- Hospitality: The couple may appear as guests if you invite your permanent allied faction. It should be fine but DO NOT RECRUTE THEM. In no way you shall attempt to change their faction on your own. There is a script to detect and correct their faction by force, but better not fully rely on it.

- VE Ideology: Some memes like Crafting Culture may force unwanted leader. With DMP you now need to be careful about these memes, because changing leader other than father/mother of the child will break the PA.

- Glitterworld Destroyer 4 & VE - Mechanoids: Mechs are insanely powerful in these mods, especially GD4. DMP may make them even harder for you may have some uncontrollable NPC to protect during the fight.

By having someone in another faction that you need to worry about, there are endless possibilities of new playstyles DMP can offer, depending on your mod list.


Collaborated mods

- Rimcities: PA will give you their own version of some Rimcities quests like city assault and defense. You can help PA to conquer the large cities as well as regular settlements. If your PA is targeted by the special variant of Dynamic Diplomacy global alliance, they will ask you much more often to defend their large cities.

- A Petition For Provisions: DMP has built-in balance patch for APFP. Items request now becomes a privilege exclusively for PA, no longer every non-hostile faction can offer it. The CD is also much longer, depending on their power (percentage of global settlements). See tooltip in mod config option for more info.

- Dynamic Diplomacy:

1. A DMP variant of DD great alliance against your PA AND YOU, if your PA faction grows too powerful. See tooltip in mod config option for more info. Recommended to play with MulitiRaid 联合袭击 for more challenge so that the great alliance may be united to raid you as well.

2. The 1.5 DD new feature "Semi battle sim" gives you another way to help PA expand by altering battle sim result. Check DD page for details.


Other compatible/recommended mods

-SOS2: My script identifies SOS2 space maps and prevent all inappropriate DMP events in space, so that you wont see your child/child-in-law spawn and die in space without EVA suits. However if you use other pawn spawning mods non compatible with SOS2, this issue may still happen. Plz check SOS2 page for compatible mod list.

-Rimnauts 2: Celestial bodies maps are also considered as SOS2 space maps.

-VE Events : All incidents of DMP can have their chances adjusted in VEE mod configs.

-Vanilla Faction Base Expanded / Powerful Faction Base: To make enemy faction base assault abit more challenging when calling PA reinforcement in comm console to takeover.


Maybe compatible mods:

- Combat Extended 1.5 : I dont play CE myself so no guarantee, but this mod doesn't alter anything about combat mechanism so it should be fine.


Incompatible mods

-Better Relationship Value: This mod causes issues for DMP has alot of relation changes with expected values, which are not supposed to be altered by other mods.

- EdB Prepare Carefully: It may reroll suits worn on your child/child in law while they are outside of colony maps, making pointless to equip them with the best clothing or armors.


Requirement of DLC:

Ideology: Required. The mod takes Ideology leader as your colony leader. Ideologies need to be activated at game start. Incompatible with Classic Mode.

Biotech: Not a must-have but recommended for growth vat which help to raise a skillful child much faster. Xenogenes like Deathless and Ageless are also helpful to keep them alive to ensure the PA (Remember the power of Immortal trait in CK2).


Language
-简体中文
-English
-Français
You are welcomed to translate into more languages.

82 Comments
Nirahiel Mar 17 @ 11:08am 
Would there be a way to either set or at least know how much time before a marriage is proposed, and know on a quick glance if we even have pawns that *could* marry ?
For example, a letter pops up :
"Your colonist <name>, child of your faction leader <name>, is now adult.
These factions may propose a diplomatic marriage for them :
* faction list, with estimated time before proposal *"

If we had no compatible faction before (not enough relation) but we do have enough now, maybe a different letter :
"The faction <name> now considers diplomatic marriages with your faction.
These pawns are eligible for diplomatic marriage :
*pawn list*
This faction will propose a marriage in roughly <time>"

(Also if it could be retro-active, meaning if you do code this and after I update the mod, any currently eligible pawn and faction will trigger the letter)
GVLT Mar 11 @ 6:05am 
Still have the problem with enemy attackers spawned during the event not attacking at all.
Also, may I suggest making this event a bit more variable with the ability to generate encounter map and control PA pawns during it?
Ionfrigate12345  [author] Dec 18, 2024 @ 5:14pm 
@GVLT Depending on the progress of modded events. I can't guarantee
GVLT Dec 18, 2024 @ 4:27pm 
Is the mod safe to remove mid-game? Judging by the Dub's Performance Analyzer it's on a heavier side.
Ionfrigate12345  [author] Oct 28, 2024 @ 2:20pm 
@GVLT The logic is pretty complex, it depends on the other NPC pawn selected from world pawns pool and there is a match criteria including age difference. Just like real life or in CK you have no control of what others will propose.
Ionfrigate12345  [author] Oct 28, 2024 @ 2:17pm 
@GVLT Yes it may disappear after save load if you dont reply. For this event since it will immediately remove a colonist out of your faction I prefer let player have some time to prepare so I used a prospondable message type. However this kind of message doesn't seem to be correctly serialized.
GVLT Oct 23, 2024 @ 10:50am 
Also, I have a few questions: how pawn is chosen for proposal? Why I have to give up older and valuable sons while daughters are becoming old virgins?
Why does couple requiring help from raid always decide to just chill in the snow instead of going inside the house or home area at least?
GVLT Oct 15, 2024 @ 3:12pm 
Is proposal supposed to dissappear after save load?
Ionfrigate12345  [author] Sep 17, 2024 @ 2:40pm 
@然提携夜灯 我试试能否改成把在小地图上的NPC排除出候选名单

@Rhaenys This mod focus on marry-off, which means your pawn will leave to join an NPC ally faction yet you still need to worry about their safety to keep the union. If I let player ideology leader marry off, they will no longer be your leader for they are no longer player controlled pawn, unless I let the other side marry in, but marry-in is not a part of this mod for making your own pawn a VIP of the union will make the most important playstyle of this mod pointless. If you like marry-in, a mod called Romance on the Rim can do similar things
Rhaenys Sep 17, 2024 @ 1:22pm 
Amazing, I am so sad I didn't know about this mod sooner. This is a new must for my medieval play games.

Do you have any plans to allow the players leader to marry the child of another leader? I know there would be an issue with leaders not spawning with family, but I am very willing to customize families of leaders in my saves, this feature would add so much!