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

Scripted effect

petition_liege_0101_title_liege_effect

petition_liege_0101_title_liege_effect = yes

game/common/scripted_effects/00_petition_liege_effects.txt, line 617 (41 lines). No parameters.

petition_liege_0101_title_liege_effect is a scripted effect in Crusader Kings III, written at line 617 of its file. It takes no parameters: petition_liege_0101_title_liege_effect = yes. The game's script calls it in 1 place, among them petition_type_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.

The comment above it in the file

Title Liege

What it does

  • scope:petition_liege: Stress and fulfillment impact: by trait: Greedy +40
  • scope:petition_claim:
    • change_title_holder_include_vassals = { holder = scope:petition_vassal change = scope:change }

• 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 (41 lines of game script)
petition_liege_0101_title_liege_effect = {
	scope:petition_liege = {
		stress_and_fulfillment_impact = {
			greedy = medium_stress_impact_gain
		}
	}
	create_title_and_vassal_change = {
		type = granted
		save_scope_as = change
		add_claim_on_loss = no
	}
	scope:petition_claim = {
		change_title_holder_include_vassals = {
			holder = scope:petition_vassal
			change = scope:change
		}
	}
	resolve_title_and_vassal_change = scope:change
	scope:petition_vassal = {
		hidden_effect = {
			send_interface_toast = {
				title = petition_liege.0101.t.title_liege
				left_icon = scope:petition_liege
				show_as_tooltip = {
					scope:petition_vassal = { get_title = scope:petition_claim }
				}
			}
		}
	}
	scope:petition_liege = {
		hidden_effect = {
			send_interface_toast = {
				title = petition_liege.0101.t.title_liege
				left_icon = scope:petition_vassal
				show_as_tooltip = {
					scope:petition_vassal = { get_title = scope:petition_claim }
				}
			}
		}
	}
}

As written in game/common/scripted_effects/00_petition_liege_effects.txt.

Where it is used

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

Scripted effects (1)

Source: game/common/scripted_effects/00_petition_liege_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?