Scripted effect · Khans of the Steppe files
ai_paiza_giveaway_effect
ai_paiza_giveaway_effect = yesgame/common/scripted_effects/09_dlc_mpo_scripted_effects.txt, line 1515 (28 lines). No parameters.
ai_paiza_giveaway_effect is a scripted effect in Crusader Kings III, in the Khans of the Steppe files, written at line 1515 of its file. It takes no parameters: ai_paiza_giveaway_effect = yes. The game's script calls it in 1 place, among them Establish Paiza System (decision). Patch 1.20.1.2, from game/common/scripted_effects/09_dlc_mpo_scripted_effects.txt.
What it does
- Random Courtier:
- Where:
None of these
- Any character artifact: Paiza patron is root
mpo_create_paiza_artifact_effect = { PATRON = root GRANTEE = this }
- Where:
- One random vassal:
- Where:
None of these
- Any character artifact: Paiza patron is root
mpo_create_paiza_artifact_effect = { PATRON = root GRANTEE = this }
- Where:
• 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 (28 lines of game script)
ai_paiza_giveaway_effect = {
random_courtier = {
limit = {
NOT = {
any_character_artifact = {
var:paiza_patron ?= root
}
}
}
mpo_create_paiza_artifact_effect = {
PATRON = root
GRANTEE = this
}
}
random_vassal = {
limit = {
NOT = {
any_character_artifact = {
var:paiza_patron ?= root
}
}
}
mpo_create_paiza_artifact_effect = {
PATRON = root
GRANTEE = this
}
}
}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 ai_paiza_giveaway_effect.
Decisions (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.