Scripted effect
test_m_1100_options_effect
test_m_1100_options_effect = yesgame/common/scripted_effects/00_story_cycle_same_gender_pen_pal_effects.txt, line 55 (54 lines). No parameters.
test_m_1100_options_effect is a scripted effect in Crusader Kings III, written at line 55 of its file. It takes no parameters: test_m_1100_options_effect = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_story_cycle_same_gender_pen_pal_effects.txt.
What it does
- 1 of 7 things will happen:
- 94%: Nothing else happens
- 1%: Nothing else happens
- 1%: Nothing else happens
- 1%: Nothing else happens
- 1%: Nothing else happens
- 1%: Nothing else happens
- 1%: Nothing else happens
• 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 (54 lines of game script)
test_m_1100_options_effect = {
random_list = {
100 = {
trigger = { NOT = { has_character_flag = test_m_1100_pregnancy_option } }
add_character_flag = test_m_1100_pregnancy_option
}
1 = {
trigger = { NOT = { has_character_flag = test_m_1100_seduction_option } }
add_character_flag = test_m_1100_seduction_option
}
1 = {
trigger = { NOT = { has_character_flag = test_m_1100_stress_option } }
add_character_flag = test_m_1100_stress_option
}
1 = {
trigger = { NOT = { has_character_flag = test_m_1100_unhappy_marriage_option } }
add_character_flag = test_m_1100_unhappy_marriage_option
random_spouse = {
save_scope_as = spouse
}
}
1 = {
trigger = { NOT = { has_character_flag = test_m_1100_regular_marriage_option } }
add_character_flag = test_m_1100_regular_marriage_option
random_spouse = {
save_scope_as = spouse
}
}
1 = {
trigger = {
NOT = { has_character_flag = test_m_1100_raising_children_option }
any_child = { is_alive = yes }
}
add_character_flag = test_m_1100_raising_children_option
}
1 = {
trigger = {
NOT = { has_character_flag = test_m_1100_secret_lover_option }
any_secret = {
type = secret_lover
secret_target = { is_alive = yes }
}
}
add_character_flag = test_m_1100_secret_lover_option
random_secret = {
type = secret_lover
limit = {
secret_target = { is_alive = yes }
}
secret_target = { save_scope_as = secret_lover }
}
}
}
}As written in game/common/scripted_effects/00_story_cycle_same_gender_pen_pal_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/00_story_cycle_same_gender_pen_pal_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.