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

Scripted trigger

employer_has_treasury_to_offer_job_trigger

employer_has_treasury_to_offer_job_trigger = yes

game/common/scripted_triggers/00_laamp_triggers.txt, line 480 (22 lines). No parameters.

employer_has_treasury_to_offer_job_trigger is a scripted trigger in Crusader Kings III, written at line 480 of its file. It takes no parameters: employer_has_treasury_to_offer_job_trigger = yes (or no). The game's script calls it in 42 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

Should this employer be putting this out for tender?
Naturally, if they're being becrimed, we don't care about this.

What it checks

  • If played by a person › scope:employer:
    • One of these

      • treasury_or_gold >= { value = 50 multiply = task_contract_employer_tier_gold_multiplier_value }
      • or

        If government allows: barter:
        • barter_goods >= { value = 50 multiply = task_contract_employer_tier_gold_multiplier_value }

• 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 (22 lines of game script)
employer_has_treasury_to_offer_job_trigger = {
	trigger_if = {
		limit = { is_ai = no }
		scope:employer = {
			OR = {
				treasury_or_gold >= {
					value = 50
					multiply = task_contract_employer_tier_gold_multiplier_value
				}
				trigger_if = {
					limit = { government_allows = barter }
					barter_goods >= {
						value = 50
						multiply = task_contract_employer_tier_gold_multiplier_value
						# wanua rulers start with lower than 100 barter goods
						# divide = define:NBarter|BARTER_GOODS_TO_LOOT_MULT
					}
				}
			}
		}
	}
}

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

Where it is used

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

Task contracts (42)

  • laamp_base_0001
  • laamp_base_0011
  • laamp_base_0021
  • laamp_base_0031
  • laamp_base_1001
  • laamp_base_1011
36 more
  • laamp_base_2001
  • laamp_base_2011
  • laamp_base_2021
  • laamp_base_2031
  • laamp_base_3001
  • laamp_base_3011
  • laamp_base_3021
  • laamp_base_3031
  • laamp_base_4001
  • laamp_base_4011
  • laamp_base_4021
  • laamp_base_4031
  • laamp_base_4100
  • laamp_base_6001
  • laamp_base_6011
  • laamp_base_6021
  • laamp_base_6031
  • laamp_boost_legitimacy_contract
  • laamp_construction_contract
  • laamp_cultural_minority_contract
  • laamp_help_claimant_contract
  • laamp_join_faction_contract
  • laamp_join_war_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?