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

Scripted trigger

is_laamp_exiled_from_holder_or_liege_trigger

is_laamp_exiled_from_holder_or_liege_trigger = { LAAMP = … }

game/common/scripted_triggers/00_laamp_triggers.txt, line 698 (24 lines). Parameters: $LAAMP$.

is_laamp_exiled_from_holder_or_liege_trigger is a scripted trigger in Crusader Kings III, written at line 698 of its file. A call passes 1 parameter: LAAMP. The game's script calls it in 3 places, among them Travel to Complete a Contract (interaction), remove_laamp_from_exiled_county_automatically_effect (scripted effect) and is_laamp_exiled_from_province_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_laamp_triggers.txt.

What it checks

  • One of these

    • All of these

      • save_temporary_scope_as = char_temp
      • $LAAMP$ = { … }
    • or

      Any liege or above:
      • save_temporary_scope_as = char_temp
      • $LAAMP$ = { … }

• 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 (24 lines of game script)
is_laamp_exiled_from_holder_or_liege_trigger = {
	OR = {
		AND = {
			save_temporary_scope_as = char_temp
			$LAAMP$ = {
				has_opinion_modifier = {
					target = scope:char_temp
					modifier = demanded_eviction_opinion
				}
			}
		}
		AND = {
			any_liege_or_above = {
				save_temporary_scope_as = char_temp
				$LAAMP$ = {
					has_opinion_modifier = {
						target = scope:char_temp
						modifier = demanded_eviction_opinion
					}
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_laamp_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/00_laamp_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?