Scripted effect
assign_name_options_dog_story_cycle_effect
assign_name_options_dog_story_cycle_effect = yesgame/common/scripted_effects/00_animal_effects.txt, line 439 (44 lines). No parameters.
assign_name_options_dog_story_cycle_effect is a scripted effect in Crusader Kings III, written at line 439 of its file. It takes no parameters: assign_name_options_dog_story_cycle_effect = yes. The game's script calls it in 1 place, among them The Dog (event pet_animal.1001). Patch 1.20.1.2, from game/common/scripted_effects/00_animal_effects.txt.
The comment above it in the file
Pick out name options to show
What it does
- 1 of 7 things will happen:
- 2%: Nothing else happens
- 2%: Nothing else happens
- 2%: Nothing else happens
- 23%: Nothing else happens
- 23%: Nothing else happens
- 23%: Nothing else happens
- 23%: 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 (44 lines of game script)
assign_name_options_dog_story_cycle_effect = {
random_list = {
1 = {
trigger = { NOT = { has_character_flag = name_amiable } }
add_character_flag = name_amiable
}
1 = {
trigger = { NOT = { has_character_flag = name_nosewise } }
add_character_flag = name_nosewise
}
1 = {
trigger = { NOT = { has_character_flag = name_holdfast } }
add_character_flag = name_holdfast
}
10 = {
trigger = {
NOT = { has_character_flag = name_gray }
scope:story.var:dog_fur_color = flag:gray
}
add_character_flag = name_gray
}
10 = {
trigger = {
NOT = { has_character_flag = name_choplicker }
scope:story.var:dog_fur_color = flag:black
}
add_character_flag = name_choplicker
}
10 = {
trigger = {
NOT = { has_character_flag = name_shadow }
scope:story.var:dog_fur_color = flag:black
}
add_character_flag = name_shadow
}
10 = {
trigger = {
NOT = { has_character_flag = name_snow }
scope:story.var:dog_fur_color = flag:white
}
add_character_flag = name_snow
}
}
}As written in game/common/scripted_effects/00_animal_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls assign_name_options_dog_story_cycle_effect.
Events (1)
- The Dog
pet_animal.1001
Source: game/common/scripted_effects/00_animal_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.