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

pam_negotiate_land_forced_gold_trigger

pam_negotiate_land_forced_gold_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 2457 (31 lines). No parameters.

pam_negotiate_land_forced_gold_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 2457 of its file. It takes no parameters: pam_negotiate_land_forced_gold_trigger = yes (or no). The game's script calls it in 3 places, among them Negotiations for … (event pam_interactions_events.0030), pam_available_negotiation_methods_tooltip_effect (scripted effect) and pam_forced_negotiate_land_success_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • gold >= scope:recipient.pam_transfer_land_gold_value
  • scope:recipient:
    • One of these

      • Debt level at least 4
      • or

        Treasury debt level at least 4
      • or

        All of these

        • Is at War
        • Any character war:
          • One of these

            • All of these

              • primary_defender = scope:recipient
              • Defender war score at most -50
              • primary_attacker.current_military_strength > scope:recipient.twice_current_military_strength
            • or

              All of these

              • primary_attacker = scope:recipient
              • Attacker war score at most -50
              • primary_attacker.current_military_strength > scope:recipient.twice_current_military_strength
        • One of these

          • gold < major_gold_value
          • or

            treasury < major_gold_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 (31 lines of game script)
pam_negotiate_land_forced_gold_trigger = {
	gold >= scope:recipient.pam_transfer_land_gold_value
	scope:recipient = {
		OR = {
			debt_level >= 4
			treasury_debt_level >= 4
			#Losing a war and needs the money
			AND = {
				is_at_war = yes
				any_character_war = {
					OR = {
						AND = {
							primary_defender = scope:recipient
							defender_war_score <= -50
							primary_attacker.current_military_strength > scope:recipient.twice_current_military_strength
						}
						AND = {
							primary_attacker = scope:recipient
							attacker_war_score <= -50
							primary_attacker.current_military_strength > scope:recipient.twice_current_military_strength
						}
					}
				}
				OR = {
					gold < major_gold_value
					treasury < major_gold_value
				}
			}
		}
	}
}

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

Where it is used

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

Events (1)

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?