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

Scripted effect · Khans of the Steppe files

mpo_paiza_abuse_counter_effect

mpo_paiza_abuse_counter_effect = { PAIZA_ABUSER = … PAIZA_PATRON = … }

game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 2132 (114 lines). Parameters: $PAIZA_ABUSER$, $PAIZA_PATRON$.

mpo_paiza_abuse_counter_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 2132 of its file. A call passes 2 parameters: PAIZA_ABUSER and PAIZA_PATRON. The game's script calls it in 3 places, among them Abuse Gurkhan's Authority (decision), Leverage Khan Authority (interaction) and In the Name of the … (event mpo_decisions_events.0110). Its body carries 12 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.

What it does

  • If

    • scope:paiza_patron: Is played by a person

    Then

    Otherwise

    • If a check the game hides passes: the same again (1 line)
      • The Gurkhan is indifferent to your abuse of authority and will not take any action this time

      Else if

      a check the game hides

      Then

      • Depending on paiza abuse stance:
        • When paiza abuse stance is angry:
          • The Gurkhan is furious at your abuse of authority and is almost guaranteed to react
          • 1 of 2 things will happen:
            • 90% (base chance; changed in play):
            • 10%: Gurkhan will be furious but will not take any action
        • When paiza abuse stance is annoyed:
          • The Gurkhan is annoyed at your abuse of authority and is likely to react
          • 1 of 3 things will happen:
            • 40% (base chance; changed in play):
            • 40% (base chance; changed in play): Gurkhan will be furious but will not take any action
            • 20%: Gurkhan will be annoyed but will not take any action
        • When paiza abuse stance is indifferent:
          • The Gurkhan is indifferent to your abuse of authority and will not take any action this time
          • 1 of 2 things will happen:
            • 20% (base chance; changed in play): The Gurkhan is annoyed at your abuse of authority and is likely to react
            • 80%: The Gurkhan is indifferent to your abuse of authority and will not take any action this time
  • Event mpo_decisions_events.0098 (after 4–8 days)

• 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 (114 lines of game script)
mpo_paiza_abuse_counter_effect = {
	$PAIZA_PATRON$ = { save_scope_as = paiza_patron }
	$PAIZA_ABUSER$ = { save_scope_as = paiza_abuser }
	if = {
		limit = {
			scope:paiza_patron = {
				is_ai = no
			}
		}
		custom_tooltip = mpo_paiza_abuse_counter_effect.random
		scope:paiza_patron = {
			trigger_event = {
				id = mpo_decisions_events.0112
				days = { 1 4 }
			}
		}
	}
	else = {
		if = {
			limit = {
				NOT = {
					exists = var:paiza_abuse_stance
				}
			}
			custom_tooltip = mpo_paiza_abuse_counter_effect.indifferent
			set_variable = {
				name = paiza_abuse_stance
				value = flag:indifferent
			}
		}
		else_if = {
			limit = {
				exists = var:paiza_abuse_stance
			}
			switch = {
				trigger = var:paiza_abuse_stance
				flag:angry = {
					custom_tooltip = mpo_paiza_abuse_counter_effect.angry
					random_list = {
						90 = {
							modifier = {
								add = mpo_paiza_abuse_khan_reaction_value
							}
							custom_tooltip = mpo_paiza_abuse_counter_effect.khan_reaction_action
							trigger_event = {
								id = mpo_decisions_events.0111
								days = { 21 37 }
							}
						}
						10 = {
							custom_tooltip = mpo_paiza_abuse_counter_effect.khan_reaction_angry
						}
					}
				}
				flag:annoyed = {
					custom_tooltip = mpo_paiza_abuse_counter_effect.annoyed
					random_list = {
						40 = {
							modifier = {
								add = mpo_paiza_abuse_khan_reaction_value
							}
							custom_tooltip = mpo_paiza_abuse_counter_effect.khan_reaction_action
							trigger_event = {
								id = mpo_decisions_events.0111
								days = { 21 37 }
							}
						}
						40 = {
							custom_tooltip = mpo_paiza_abuse_counter_effect.khan_reaction_angry
							modifier = {
								add = {
									value = mpo_paiza_abuse_khan_reaction_value
									divide = 2
								}
							}
							set_variable = {
								name = paiza_abuse_stance
								value = flag:angry
							}
						}
						20 = {
							custom_tooltip = mpo_paiza_abuse_counter_effect.khan_reaction_annoyed
						}
					}
				}
				flag:indifferent = {
					custom_tooltip = mpo_paiza_abuse_counter_effect.indifferent
					random_list = {
						20 = {
							custom_tooltip = mpo_paiza_abuse_counter_effect.annoyed
							modifier = {
								add = {
									value = mpo_paiza_abuse_khan_reaction_value
									divide = 2
								}
							}
							set_variable = {
								name = paiza_abuse_stance
								value = flag:annoyed
							}
						}
						80 = {
							custom_tooltip = mpo_paiza_abuse_counter_effect.indifferent
						}
					}
				}
			}
		}
	}
	trigger_event = {
		id = mpo_decisions_events.0098
		days = { 4 8 }
	}
}

As written in game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.

Where it is used

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

Character interactions (1)

Events (1)

Source: game/common/scripted_effects/09_dlc_mpo_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?