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

Scripted effect · Roads to Power files

purchase_land_interaction_shortened_effect

purchase_land_interaction_shortened_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 1423 (121 lines). No parameters.

purchase_land_interaction_shortened_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 1423 of its file. It takes no parameters: purchase_land_interaction_shortened_effect = yes. No file of common/, events/ or history/ calls it. Its body carries 9 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

The comment above it in the file

not used. note check consistency with purchase_land_interaction etc to make sure actor do lose gold ONCE

What it does

  • scope:actor:
    • If

      • character:90028 ?= this

      Then

    • pay_short_term_gold = { gold = scope:purchase_land_cost target = scope:recipient }
  • scope:actor:
    • Stress and fulfillment impact: by trait: Humble +20, Lazy -15
    • If

      • scope:target.tier = tier_duchy

      Then

      Otherwise

    • If

      • Exactly 3 of the following must be true:
        • Prestige level at most 3
        • One of these

          • scope:new_primary_title.culture != culture
          • or

            Their spouse: Their culture is the same as that of new primary title
          • or

            Their heir: Their culture is the same as that of new primary title
        • scope:new_primary_title.faith != faith

      Then

      Else if

      • Exactly 2 of the following must be true:
        • Prestige level at most 3
        • One of these

          • scope:new_primary_title.culture != culture
          • or

            Their spouse: Their culture is the same as that of new primary title
          • or

            Their heir: Their culture is the same as that of new primary title
        • scope:new_primary_title.faith != faith

      Then

      Else if

      • Exactly 1 of the following must be true:
        • Prestige level at most 3
        • One of these

          • scope:new_primary_title.culture != culture
          • or

            Their spouse: Their culture is the same as that of new primary title
          • or

            Their heir: Their culture is the same as that of new primary title
        • scope:new_primary_title.faith != faith

      Then

• 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 (120 lines of game script)
purchase_land_interaction_shortened_effect = {
	scope:actor = {
		if = {
			limit = { character:90028 ?= this }
			custom_tooltip = ep3_story_cycle_harrying.3053.b.tt
			add_character_flag = hereward_settled_flag
		}
		show_as_tooltip = {
			pay_short_term_gold = {
				gold = scope:purchase_land_cost
				target = scope:recipient
			}
		}
		hidden_effect = {
			scope:recipient = { add_gold = scope:purchase_land_cost }
		}
	}
	scope:actor = {
		stress_and_fulfillment_impact = {
			humble = minor_stress_impact_gain
			lazy = minor_stress_impact_loss
		}
		if = {
			limit = {
				scope:target.tier = tier_duchy
			}
			custom_tooltip = purchase_land_interaction_shortened_effect_duchy_desc
		}
		else = {
			custom_tooltip = purchase_land_interaction_shortened_effect_county_desc
		}
		if = {
			limit = {
				scope:target.tier = tier_duchy
			}
			scope:target.title_capital_county = {
				save_scope_as = new_primary_title
			}
		}
		else = {
			scope:target = {
				save_scope_as = new_primary_title
			}
		}
		if = {
			limit = {
				calc_true_if = {
					amount = 3
					prestige_level <= 3
					OR = {
						scope:new_primary_title.culture != culture
						primary_spouse ?= {
							culture != scope:new_primary_title.culture
						}
						primary_heir ?= {
							culture != scope:new_primary_title.culture
						}
					}
					scope:new_primary_title.faith != faith
				}
			}
			custom_tooltip = ep3_ennobled_adventurer_modifier_reason_3
			add_character_modifier = {
				modifier = ep3_ennobled_adventurer_modifier_3
				years = 30
			}
			custom_tooltip = ep3_ennobled_adventurer_modifier_rules
		}
		else_if = {
			limit = {
				calc_true_if = {
					amount = 2
					prestige_level <= 3
					OR = {
						scope:new_primary_title.culture != culture
						primary_spouse ?= {
							culture != scope:new_primary_title.culture
						}
						primary_heir ?= {
							culture != scope:new_primary_title.culture
						}
					}
					scope:new_primary_title.faith != faith

				}
			}
			custom_tooltip = ep3_ennobled_adventurer_modifier_reason_2
			add_character_modifier = {
				modifier = ep3_ennobled_adventurer_modifier_2
				years = 20
			}
			custom_tooltip = ep3_ennobled_adventurer_modifier_rules
		}
		else_if = {
			limit = {
				calc_true_if = {
					amount = 1
					prestige_level <= 3
					OR = {
						scope:new_primary_title.culture != culture
						primary_spouse ?= {
							culture != scope:new_primary_title.culture
						}
						primary_heir ?= {
							culture != scope:new_primary_title.culture
						}
					}
					scope:new_primary_title.faith != faith

				}
			}
			custom_tooltip = ep3_ennobled_adventurer_modifier_reason_1
			add_character_modifier = {
				modifier = ep3_ennobled_adventurer_modifier_1
				years = 10
			}
			custom_tooltip = ep3_ennobled_adventurer_modifier_rules
		}

	}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

The first 120 of its 121 lines; the rest is in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt from line 1423.

Where it is used

No file of common/, events/ or history/ calls it.

Source: game/common/scripted_effects/07_dlc_ep3_scripted_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?