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

Scripted trigger · By God Alone files

pam_can_sell_claim_on_target_trigger

pam_can_sell_claim_on_target_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 681 (38 lines). No parameters.

pam_can_sell_claim_on_target_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 681 of its file. It takes no parameters: pam_can_sell_claim_on_target_trigger = yes (or no). The game's script calls it in 1 place, among them Sell Claim (interaction). Its body carries 4 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Shared with has_valid_target_showing_failures_only: can_be_picked_title is not rechecked on send

What it checks

• 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 (38 lines of game script)
pam_can_sell_claim_on_target_trigger = {
	scope:target = {
		is_landless_type_title = no
		is_head_of_faith = no
	}
	custom_tooltip = {
		text = sell_claim_target_must_be_in_clerical_region_tt
		scope:puppet_or_actor ?= {
			OR = {
				pam_sell_claim_target_in_own_clerical_region_trigger = { TARGET = scope:target }
				faith.religious_head ?= this
			}
		}
	}
	custom_tooltip = {
		text = sell_claim_recipient_must_not_hold_title_tt
		scope:target ?= {
			NOT = {
				holder ?= scope:recipient
			}
		}
	}
	custom_tooltip = {
		text = sell_claim_recipient_must_not_have_claim_tt
		scope:recipient = {
			NOT = {
				has_claim_on = scope:target
			}
		}
	}
	# Realm scan, so it sits behind the cheap ownership and claim gates
	custom_tooltip = {
		text = sell_claim_recipient_must_border_target_tt
		scope:target ?= {
			is_neighbor_to_realm = scope:recipient
		}
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

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

Character interactions (1)

Source: game/common/scripted_triggers/pam_scripted_triggers.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?