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

Scripted effect · Tours and Tournaments files

increase_tour_success_effect

increase_tour_success_effect = { POINTS = … }

game/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 408 (44 lines). Parameters: $POINTS$.

increase_tour_success_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 408 of its file. A call passes 1 parameter: POINTS. The game's script calls it in 97 places, among them church_tax (activity pulse), increased_control (activity pulse) and levied_tax (activity pulse). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.

What it does

  • If

    • scope:activity:
      • has_activity_option = { category = special_type option = tour_type_majesty }

    Then

    Else if

    • scope:activity:
      • has_activity_option = { category = special_type option = tour_type_taxation }

    Then

    Else if

    • scope:activity:
      • has_activity_option = { category = special_type option = tour_type_intimidation }

    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 (44 lines of game script)
increase_tour_success_effect = {
	if = {
		limit = {
			scope:activity = {
				has_activity_option = {
					category = special_type
					option = tour_type_majesty
				}
			}
		}
		custom_tooltip = tour_becomes_more_majestic_tt
	}
	else_if = {
		limit = {
			scope:activity = {
				has_activity_option = {
					category = special_type
					option = tour_type_taxation
				}
			}
		}
		custom_tooltip = tour_becomes_more_avaricious_tt
	}
	else_if = {
		limit = {
			scope:activity = {
				has_activity_option = {
					category = special_type
					option = tour_type_intimidation
				}
			}
		}
		custom_tooltip = tour_becomes_more_intimidating_tt
	}
	scope:activity = {
		change_variable = {
			name = tour_success_var
			add = {
				value = $POINTS$
				multiply = 5
			}
		}
	}
}

As written in game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.

Where it is used

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

Activity pulse actions (9)

  • church_tax
  • increased_control
  • levied_tax
  • liege_intimidated_courtier
  • liege_local_benevolence
  • liege_local_tax
3 more
  • local_baron_tax
  • local_mayor_tax
  • tax_rich_local

Events (82)

76 more

Scripted effects inside an event file (6)

  • 3016_non_sacred_carving_effect
  • 3019_liege_pay_tax_effect
  • 3020_drinking_duel_effect
  • displayed_proper_gift_effect
  • liege_failed_hook_effect
  • tour_demand_accepted_effect

Source: game/common/scripted_effects/04_dlc_ep2_tour_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?