Scripted effect · Legacy of Persia files
fp3_challenge_house_head_duel_challenger_win_house_effect
fp3_challenge_house_head_duel_challenger_win_house_effect = yesgame/common/scripted_effects/05_dlc_fp3_scripted_effects.txt, line 1202 (12 lines). No parameters.
fp3_challenge_house_head_duel_challenger_win_house_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 1202 of its file. It takes no parameters: fp3_challenge_house_head_duel_challenger_win_house_effect = yes. The game's script calls it in 2 places, among them Challenge Met: House … (event fp3_misc_decisions.0020) and Challenge Met: House … (event fp3_misc_decisions.0023). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.
What it does
scope:house_challenger.house:set_house_head = scope:house_challenger
- scope:house_challenger: Challenge House Head will be unavailable for 3 years
• 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 (12 lines of game script)
fp3_challenge_house_head_duel_challenger_win_house_effect = {
scope:house_challenger.house = { set_house_head = scope:house_challenger }
scope:house_challenger = {
custom_tooltip = {
text = fp3_challenge_house_head_recent_cooldown_tt
add_character_flag = {
flag = fp3_challenge_house_head_recent_flag
years = 3
}
}
}
}As written in game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp3_challenge_house_head_duel_challenger_win_house_effect.
Events (2)
- Challenge Met: House …
fp3_misc_decisions.0020 - Challenge Met: House …
fp3_misc_decisions.0023
Source: game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.