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

create_landless_adventurer_title_effect

create_landless_adventurer_title_effect = { FLAVOR_CHAR = … REASON = … }

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 16 (663 lines). Parameters: $FLAVOR_CHAR$, $REASON$.

create_landless_adventurer_title_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 16 of its file. A call passes 2 parameters: FLAVOR_CHAR and REASON. The game's script calls it in 41 places, among them A Common Cause (event coronation_events.6011), A Lesser … of … (event ep3_laamps.0010) and A New England (event ep3_laamps.7002). Its body carries 14 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.

What it does

  • … will establish an Adventurer Camp
  • If

    • One of these

      • scope:adventurer_creation_reason = flag:deposition
      • or

        scope:adventurer_creation_reason = flag:conquest
      • or

        scope:adventurer_creation_reason = flag:conquest_claim
      • or

        scope:adventurer_creation_reason = flag:exile

    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)
create_landless_adventurer_title_effect = {
	save_scope_as = new_landless_adventurer
	if = {
		limit = {
			exists = house
		}
		house = { save_scope_as = new_landless_adventurer_house }
	}
	if = {
		limit = {
			exists = location
		}
		location = { save_scope_as = new_landless_adventurer_location }
	}
	save_scope_value_as = {
		name = adventurer_creation_reason
		value = $REASON$
	}
	$FLAVOR_CHAR$ = { save_scope_as = adventurer_flavor_char }
	hidden_effect = {
		random_list = {
			#Acclaimed knights become laamps interaction
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_mercenary_accolade_name
				}
				create_adventurer_title = {
					name = accolade_mercenary_accolade_name
					holder = scope:new_landless_adventurer
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_mercenary_kings_men_name
				}
				create_adventurer_title = {
					name = accolade_mercenary_kings_men_name
					holder = scope:new_landless_adventurer
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_mercenary_knightly_company_name
				}
				create_adventurer_title = {
					name = accolade_mercenary_knightly_company_name
					holder = scope:new_landless_adventurer
					article = DEFAULT_TITLE_NAME_ARTICLE
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_honor_band_name
				}
				create_adventurer_title = {
					name = accolade_honor_band_name
					holder = scope:new_landless_adventurer
					article = DEFAULT_TITLE_NAME_ARTICLE
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_rulers_swords_name
				}
				create_adventurer_title = {
					name = accolade_rulers_swords_name
					holder = scope:new_landless_adventurer
					article = DEFAULT_TITLE_NAME_ARTICLE
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_culture_riders_name
				}
				create_adventurer_title = {
					name = accolade_culture_riders_name
					holder = scope:new_landless_adventurer
					article = DEFAULT_TITLE_NAME_ARTICLE
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_free_knights_name
				}
				create_adventurer_title = {
					name = accolade_free_knights_name
					holder = scope:new_landless_adventurer
					article = DEFAULT_TITLE_NAME_ARTICLE
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = accolade_culture_company_name
				}
				create_adventurer_title = {
					name = accolade_culture_company_name
					holder = scope:new_landless_adventurer
					article = DEFAULT_TITLE_NAME_ARTICLE
					save_scope_as = new_title
				}
			}
			10000 = {
				trigger = {
					scope:acclaimed_mercenary ?= scope:new_landless_adventurer
					has_character_flag = new_laamp_title_name_entered_text

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

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

Where it is used

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

Character interactions (1)

  • Make Laamp

Events (31)

25 more

Scripted effects inside an event file (4)

  • ep3_laamps_7002_ai_siward_leaves_effect
  • mpo_events_ariana_0050_lose_effect
  • tgp_japan_soryo_eradicate_cb_heir_go_to_savior
  • tgp_japan_soryo_eradicate_cb_loser_go_to_savior

On actions (the game's own hooks) (2)

  • on_player_select_destiny_confirmed
  • on_ruler_designer_finished

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?