Skip to content

Instantly share code, notes, and snippets.

@krisk0
Last active July 29, 2025 05:52
Show Gist options
  • Select an option

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

Select an option

Save krisk0/56746e652454bccc1e4edb082ea896fc to your computer and use it in GitHub Desktop.
CK3 liege-summons-his-employeer character interaction with custom effects
summon_subject_interaction = {
category = realm
icon = "interaction_invite_to_court"
interaction_option_name = summon_subject_interaction
desc = summon_subject_interaction_desc
priority = 80 # 100 = max
popup_on_receive = yes
ai_min_reply_days = 1
ai_max_reply_days = 5
# ai_will_do missing -- can fire thru important_actions/
on_send = {
on_send_effect = yes
}
ai_accept = {
base = 0
my_modifier = yes
}
cooldown = { days = 1 }
cooldown_against_recipient = { years = 1 }
is_shown = {
scope:actor = {
is_landed = yes
liege_trigger = yes
}
}
is_valid_showing_failures_only = {
scope:recipient = {
is_within_diplomatic_range = scope:actor
sub_trigger = yes
}
}
on_accept = {
on_accept_effect = yes
if = {
limit = {
NOT = { scope:recipient.location = scope:actor.capital_province }
}
start_travel_plan = {
destination = scope:actor.capital_province
on_arrival_on_action = my_on_arrival
return_trip = yes
}
}
else = {
trigger_event = { on_action = my_on_arrival }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment