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

Scripted trigger

valid_laamp_sensible_start_trigger

valid_laamp_sensible_start_trigger = yes

game/common/scripted_triggers/00_laamp_triggers.txt, line 505 (18 lines). No parameters.

valid_laamp_sensible_start_trigger is a scripted trigger in Crusader Kings III, written at line 505 of its file. It takes no parameters: valid_laamp_sensible_start_trigger = yes (or no). The game's script calls it in 56 places, among them laamp_base_0001 (contract), laamp_base_0011 (contract) and laamp_base_0021 (contract). Patch 1.20.1.2, from game/common/scripted_triggers/00_laamp_triggers.txt.

The comment above it in the file

Does it make sense that this employer offers this contract to start with?
So we don't penalise you if their circumstances change beyond your control, but _also_ so that there aren't local job listings going up in Middlesex for someone currently pilgrimaging in Jerusalem.

What it checks

  • scope:employer: Is available (not in an army, not imprisoned)
  • If

    • Character task contract (at least 1):
      • task_contract_employer ?= scope:employer

    Then

    • Never

• 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 (18 lines of game script)
valid_laamp_sensible_start_trigger = {
	scope:employer = {
		is_available_quick = {
			travel = no
			in_army = no
			imprisoned = no
		}
	}
	trigger_if = {
		limit = {
			any_character_task_contract = {
				count >= 1
				task_contract_employer ?= scope:employer
			}
		}
		always = no
	}
}

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

Where it is used

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

Task contracts (56)

  • laamp_base_0001
  • laamp_base_0011
  • laamp_base_0021
  • laamp_base_0031
  • laamp_base_0041
  • laamp_base_1001
50 more
  • laamp_base_1011
  • laamp_base_1021
  • laamp_base_1031
  • laamp_base_1041
  • laamp_base_2001
  • laamp_base_2011
  • laamp_base_2021
  • laamp_base_2031
  • laamp_base_2041
  • laamp_base_3001
  • laamp_base_3011
  • laamp_base_3021
  • laamp_base_3031
  • laamp_base_3041
  • laamp_base_4001
  • laamp_base_4011
  • laamp_base_4021
  • laamp_base_4031
  • laamp_base_4041
  • laamp_base_4100
  • laamp_base_5001
  • laamp_base_5011
  • laamp_base_5021
  • laamp_base_5031
  • laamp_base_5041
  • laamp_base_5051
  • laamp_base_6001
  • laamp_base_6011
  • laamp_base_6021
  • laamp_base_6031
  • laamp_boost_legitimacy_contract
  • laamp_construction_contract
  • laamp_cultural_minority_contract
  • laamp_eliminate_heir_contract
  • laamp_find_secret_contract
  • laamp_gain_wanderer_contract
  • laamp_help_claimant_contract
  • laamp_prison_break_contract
  • laamp_raid_contract
  • laamp_religious_minority_contract
  • laamp_rid_councillor_contract
  • laamp_steal_artifact_contract
  • laamp_transport_animal
  • laamp_transport_artifact
  • laamp_transport_explorer
  • laamp_transport_gold
  • laamp_transport_vip
  • laamp_transport_ward
  • laamp_treasure_hunting_contract
  • Treasure Map

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?