Scripted effect · By God Alone files
pam_negotiate_land_relation_accept_effect
pam_negotiate_land_relation_accept_effect = yesgame/common/scripted_effects/pam_effects.txt, line 6282 (86 lines). No parameters.
pam_negotiate_land_relation_accept_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6282 of its file. It takes no parameters: pam_negotiate_land_relation_accept_effect = yes. The game's script calls it in 4 places, among them …, Acquired (event pam_interactions_events.0035), Negotiations for … (event pam_interactions_events.0030) and The Disputing of … (event pam_interactions_events.0034). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
has_relation_best_friend = scope:recipient
Then
remove_relation_best_friend = scope:recipient
Else if
has_relation_friend = scope:recipient
Then
remove_relation_friend = scope:recipient
If
has_relation_soulmate = scope:recipient
Then
remove_relation_soulmate = scope:recipient
If
has_relation_lover = scope:recipient
Then
remove_relation_lover = scope:recipient
If
has_relation_crush = scope:recipient
Then
remove_relation_crush = scope:recipient
If
has_relation_student = scope:recipient
Then
remove_relation_student = scope:recipient
If
has_relation_mentor = scope:recipient
Then
remove_relation_mentor = scope:recipient
If
has_relation_guardian = scope:recipient
Then
remove_relation_guardian = scope:recipient
If
has_relation_ward = scope:recipient
Then
remove_relation_ward = scope:recipient
If
has_relation_potential_friend = scope:recipient
Then
remove_relation_potential_friend = scope:recipient
If
has_relation_potential_lover = scope:recipient
Then
remove_relation_potential_lover = scope:recipient
If
has_relation_blood_brother = scope:recipient
Then
remove_relation_blood_brother = scope:recipient
If
has_relation_disciple = scope:recipient
Then
remove_relation_disciple = scope:recipient
If
has_relation_elder = scope:recipient
Then
remove_relation_elder = scope:recipient
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (86 lines of game script)
pam_negotiate_land_relation_accept_effect = {
if = {
limit = {
has_relation_best_friend = scope:recipient
}
remove_relation_best_friend = scope:recipient
}
else_if = {
limit = {
has_relation_friend = scope:recipient
}
remove_relation_friend = scope:recipient
}
if = {
limit = {
has_relation_soulmate = scope:recipient
}
remove_relation_soulmate = scope:recipient
}
if = {
limit = {
has_relation_lover = scope:recipient
}
remove_relation_lover = scope:recipient
}
if = {
limit = {
has_relation_crush = scope:recipient
}
remove_relation_crush = scope:recipient
}
if = {
limit = {
has_relation_student = scope:recipient
}
remove_relation_student = scope:recipient
}
if = {
limit = {
has_relation_mentor = scope:recipient
}
remove_relation_mentor = scope:recipient
}
if = {
limit = {
has_relation_guardian = scope:recipient
}
remove_relation_guardian = scope:recipient
}
if = {
limit = {
has_relation_ward = scope:recipient
}
remove_relation_ward = scope:recipient
}
if = {
limit = {
has_relation_potential_friend = scope:recipient
}
remove_relation_potential_friend = scope:recipient
}
if = {
limit = {
has_relation_potential_lover = scope:recipient
}
remove_relation_potential_lover = scope:recipient
}
if = {
limit = {
has_relation_blood_brother = scope:recipient
}
remove_relation_blood_brother = scope:recipient
}
if = {
limit = {
has_relation_disciple = scope:recipient
}
remove_relation_disciple = scope:recipient
}
if = {
limit = {
has_relation_elder = scope:recipient
}
remove_relation_elder = scope:recipient
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_negotiate_land_relation_accept_effect.
Events (3)
- …, Acquired
pam_interactions_events.0035 - Negotiations for …
pam_interactions_events.0030 - The Disputing of …
pam_interactions_events.0034
Scripted effects (1)
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.