Skip to content

Instantly share code, notes, and snippets.

@krisk0
Created November 7, 2025 11:49
Show Gist options
  • Select an option

  • Save krisk0/abf4b3e8d7cd1c315880c22be37e33fa to your computer and use it in GitHub Desktop.

Select an option

Save krisk0/abf4b3e8d7cd1c315880c22be37e33fa to your computer and use it in GitHub Desktop.
patch to CK3 1.18.0.2 script courtier_guest_management_events.txt
diff -purN a/courtier_guest_management_events.txt b/courtier_guest_management_events.txt
--- a/courtier_guest_management_events.txt 2025-11-07 14:38:00.000000000 +0300
+++ b/courtier_guest_management_events.txt 2025-11-07 14:43:52.000000000 +0300
@@ -918,10 +918,7 @@ courtier_guest_management.3001 = {
add = 150
}
modifier = {
- OR = {
- any_relation = { type = soulmate always = yes }
- is_married = yes
- }
+ any_relation = { type = soulmate always = yes }
ai_honor >= 0
add = -150
}
@@ -935,12 +932,11 @@ courtier_guest_management.3001 = {
trigger = {
is_married = no
is_concubine = no
- might_cheat_on_every_partner_trigger = yes
NOR = {
has_trait = chaste
- has_trait = celibate
has_sexuality = asexual
}
+ might_cheat_on_every_partner_trigger = yes
trigger_if = {
limit = {
is_courtier = yes
@@ -961,12 +957,11 @@ courtier_guest_management.3001 = {
limit = {
is_married = no
is_concubine = no
- might_cheat_on_every_partner_trigger = yes
NOR = {
has_trait = chaste
- has_trait = celibate
has_sexuality = asexual
}
+ might_cheat_on_every_partner_trigger = yes
any_relation = {
type = lover
count < 1
@@ -986,10 +981,7 @@ courtier_guest_management.3001 = {
}
}
}
- this != scope:current_character
can_set_relation_lover_trigger = { CHARACTER = scope:current_character }
- is_attracted_to_gender_of = scope:current_character
- scope:current_character = { is_attracted_to_gender_of = prev }
age <= scope:current_character.age_plus_5
age >= scope:current_character.age_minus_10
trait_compatibility = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment