CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · By God Alone files

pam_available_negotiation_methods_tooltip_effect

pam_available_negotiation_methods_tooltip_effect = yes

game/common/scripted_effects/pam_effects.txt, line 6140 (139 lines). No parameters.

pam_available_negotiation_methods_tooltip_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6140 of its file. It takes no parameters: pam_available_negotiation_methods_tooltip_effect = yes. The game's script calls it in 2 places, among them Negotiate For Land (interaction) and pam_interactions_events.0032 (event). Its body carries 14 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

• 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 (120 lines of game script)
pam_available_negotiation_methods_tooltip_effect = {
	#show tooltips
	if = {
		limit = {
			pam_forced_negotiate_land_success_trigger = yes
		}
		#Do not show AI behaviour tooltips if this is recipient viewing
		if = {
			limit = {
				NOT = { exists = scope:recipient_event }
			}
			custom_tooltip = pam_clergy_land_forced_success_tt
			custom_tooltip = pam_negotiate_land_force_by_tt
		}
		#FORCED FIRST
		if = {
			limit = {
				pam_negotiate_land_forced_hook_trigger = yes
			}
			custom_tooltip = pam_forced_negotiate_land_hook_tt
		}
		if = {
			limit = {
				pam_negotiate_land_forced_relation_trigger = yes
			}
			custom_tooltip = pam_forced_negotiate_land_relation_tt
		}
		if = {
			limit = {
				pam_negotiate_land_forced_piety_level_trigger = yes
			}
			if = {
				limit = {
					scope:recipient.piety_level = 0
				}
				custom_tooltip = pam_forced_negotiate_land_piety_level_1_tt
			}
			else = {
				custom_tooltip = pam_forced_negotiate_land_piety_level_2_tt
			}
		}
		if = {
			limit = {
				pam_negotiate_land_forced_legitimacy_level_trigger = yes
			}
			if = {
				limit = {
					scope:recipient.legitimacy_level = 0
				}
				custom_tooltip = pam_forced_negotiate_land_legitimacy_level_1_tt
			}
			else = {
				custom_tooltip = pam_forced_negotiate_land_legitimacy_level_2_tt
			}
		}
		if = {
			limit = {
				pam_negotiate_land_forced_gold_trigger = yes
			}
			show_as_tooltip = {
				if = {
					limit = {
						has_treasury = yes
					}
					pay_short_term_treasury = {
						target = scope:recipient
						gold = scope:recipient.pam_transfer_land_gold_value
					}
				}
				else = {
					pay_short_term_gold = {
						target = scope:recipient
						gold = scope:recipient.pam_transfer_land_gold_value
					}
				}
			}
		}
	}
	else = {
		#Do not show AI behaviour tooltips if this is recipient viewing
		if = {
			limit = {
				NOT = { exists = scope:recipient_event }
			}
			custom_tooltip = pam_clergy_land_possible_success_tt
		}
	}

	if = {
		limit = {
			pam_possible_negotiate_land_success_trigger = yes
		}
		#Do not show AI behaviour tooltips if this is recipient viewing
		if = {
			limit = {
				NOT = { exists = scope:recipient_event }
			}
			custom_tooltip = pam_negotiate_land_possible_by_tt
		}
		#POSSIBLE NEXT
		if = {
			limit = {
				pam_negotiate_land_possible_hook_trigger = yes
				pam_negotiate_land_forced_hook_trigger = no
			}
			custom_tooltip = pam_possible_negotiate_land_hook_tt
		}
		if = {
			limit = {
				pam_negotiate_land_possible_relation_trigger = yes
				pam_negotiate_land_forced_relation_trigger = no
			}
			custom_tooltip = pam_possible_negotiate_land_relation_tt
		}
		if = {
			limit = {
				pam_negotiate_land_possible_piety_level_trigger = yes
				pam_negotiate_land_forced_piety_level_trigger = no
			}
			custom_tooltip = pam_possible_negotiate_land_piety_level_tt

As written in game/common/scripted_effects/pam_effects.txt.

The first 120 of its 139 lines; the rest is in game/common/scripted_effects/pam_effects.txt from line 6140.

Where it is used

Every place in common/, events/ and history/ that calls pam_available_negotiation_methods_tooltip_effect.

Character interactions (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.

Spotted a mistake on this page?