Scripted effect · By God Alone files
pam_negotiate_land_tracking_variable_effect
pam_negotiate_land_tracking_variable_effect = yesgame/common/scripted_effects/pam_effects.txt, line 6461 (30 lines). No parameters.
pam_negotiate_land_tracking_variable_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6461 of its file. It takes no parameters: pam_negotiate_land_tracking_variable_effect = yes. The game's script calls it in 2 places, among them pam_interactions_events.0032 (event) and The Disputing of … (event pam_interactions_events.0034). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
scope:recipient:If
- Has “clergy land granted” (a variable the game's script sets)
- Clergy land granted at most scope:target.tier
Then
- Rulers are less likely to use Negotiate For Land Interaction against you for 10 years
- Else, if does not have “clergy land granted” (a variable the game's script sets): Rulers are less likely to use Negotiate For Land Interaction against you for 10 years
• 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 (30 lines of game script)
pam_negotiate_land_tracking_variable_effect = {
scope:recipient = {
if = {
limit = {
has_variable = clergy_land_granted
var:clergy_land_granted <= scope:target.tier
}
remove_variable = clergy_land_granted
custom_tooltip = clergy_land_request_reduction_tt
set_variable = {
name = clergy_land_granted
value = scope:target.tier
years = 5
}
}
else_if = {
limit = {
NOT = {
has_variable = clergy_land_granted
}
}
custom_tooltip = clergy_land_request_reduction_tt
set_variable = {
name = clergy_land_granted
value = scope:target.tier
years = 5
}
}
}
}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_tracking_variable_effect.
Events (2)
- pam_interactions_events.0032
- The Disputing of …
pam_interactions_events.0034
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.