Scripted effect
megaliths_building_poi_double_experience_effect
megaliths_building_poi_double_experience_effect = yesgame/common/scripted_effects/00_wanderer_lifestyle_effects.txt, line 86 (27 lines). No parameters.
megaliths_building_poi_double_experience_effect is a scripted effect in Crusader Kings III, written at line 86 of its file. It takes no parameters: megaliths_building_poi_double_experience_effect = yes. The game's script calls it in 1 place, among them visiting_poi_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.
What it does
If
- The Personal Tenets unlock tenet megaliths building poi double rewards
scope:province:One of these
has_building_with_flag = { flag = travel_point_of_interest_martial }or
has_building_with_flag = { flag = travel_point_of_interest_martial_minor }or
has_building_with_flag = { flag = travel_point_of_interest_religious }or
has_building_with_flag = { flag = travel_point_of_interest_diplomatic }or
has_building_with_flag = { flag = travel_point_of_interest_wonder }or
has_building_with_flag = { flag = travel_point_of_interest_economic }or
has_building_with_flag = { flag = travel_point_of_interest_learning }or
has_building_with_flag = { flag = travel_point_of_interest_stress_relief }or
has_building_with_flag = { flag = silk_road_node }or
has_building_with_flag = { flag = mandala_capital_building }or
has_building_with_flag = { flag = grand_cathedral_flag }
Then
add_poi_wanderer_experience_effect = yestraveler_travel_xp_effect = { MIN = 3 MAX = 5 }
• 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 (27 lines of game script)
megaliths_building_poi_double_experience_effect = {
if = {
limit = {
has_personal_tenet_flag = tenet_megaliths_building_poi_double_rewards
scope:province = {
OR = {
has_building_with_flag = { flag = travel_point_of_interest_martial }
has_building_with_flag = { flag = travel_point_of_interest_martial_minor }
has_building_with_flag = { flag = travel_point_of_interest_religious }
has_building_with_flag = { flag = travel_point_of_interest_diplomatic }
has_building_with_flag = { flag = travel_point_of_interest_wonder }
has_building_with_flag = { flag = travel_point_of_interest_economic }
has_building_with_flag = { flag = travel_point_of_interest_learning }
has_building_with_flag = { flag = travel_point_of_interest_stress_relief }
has_building_with_flag = { flag = silk_road_node }
has_building_with_flag = { flag = mandala_capital_building }
has_building_with_flag = { flag = grand_cathedral_flag }
}
}
}
add_poi_wanderer_experience_effect = yes
traveler_travel_xp_effect = {
MIN = 3
MAX = 5
}
}
}As written in game/common/scripted_effects/00_wanderer_lifestyle_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls megaliths_building_poi_double_experience_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_wanderer_lifestyle_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.