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

holy_order_range_trigger

holy_order_range_trigger = { CHARACTER = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1159 (35 lines). Parameters: $CHARACTER$.

holy_order_range_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1159 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 7 places, among them Bestow a Monastery (interaction), Donate to Monastic Order (interaction) and Justifying Divorce (event pam_interactions_events.0060). Its body carries 1 text 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

SCRIPTED TRIGGER FOR GENERAL HOLY ORDER INTERACTIONS, TO FIND ORDERS WITH LEASED HOLDINGS NEARBY
Find leased title within a believe range that you would reasonable have access to or care about

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 (35 lines of game script)
holy_order_range_trigger = {
	custom_tooltip = {
		text = monastic_holdings_too_distant_tt
    	any_leased_title = {
    	    OR = {
    	        county = {
    	            save_temporary_scope_as = monastic_county
    	            OR = {
    	            	$CHARACTER$ = {
    	            	    any_sub_realm_county = {
    	            	        this = scope:monastic_county
    	            	    }
    	            	}
    	            	clerical_region_title.holder ?= $CHARACTER$
    	            }
    	        }
    	        county = {
    	            any_title_to_title_neighboring_and_across_water_county = {
    	                OR = {
    	                	clerical_region_title.holder ?= $CHARACTER$
    	                	holder = {
    	                		OR = {
    	                			this = $CHARACTER$
    	                			any_liege_or_above = {
    	                				this = $CHARACTER$
    	                			}
    	                		}
    	                	}
    	                }
    	            }
    	        }
    	    }
    	}
	}
}

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

Where it is used

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

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?