Scripted effect
laamp_city_builder_construction_effect
laamp_city_builder_construction_effect = { BUILDING = … FLAG = … }game/common/scripted_effects/00_laamp_effects.txt, line 2108 (18 lines). Parameters: $BUILDING$, $FLAG$.
laamp_city_builder_construction_effect is a scripted effect in Crusader Kings III, written at line 2108 of its file. A call passes 2 parameters: BUILDING and FLAG. The game's script calls it in 1 place, among them Settlement of … — End (event ep3_laamp_decision_event.1131). Patch 1.20.1.2, from game/common/scripted_effects/00_laamp_effects.txt.
The comment above it in the file
City Construction Effects
What it does
If
a check the game hides
Then
scope:city_location:add_building = $BUILDING$_03
Else if
a check the game hides
Then
scope:city_location:add_building = $BUILDING$_02
• 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 (18 lines of game script)
laamp_city_builder_construction_effect = {
if = {
limit = {
has_character_flag = laamp_city_builder_$FLAG$_upgrade
}
scope:city_location = {
add_building = $BUILDING$_03
}
}
else_if = {
limit = {
has_character_flag = laamp_city_builder_$FLAG$
}
scope:city_location = {
add_building = $BUILDING$_02
}
}
}As written in game/common/scripted_effects/00_laamp_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls laamp_city_builder_construction_effect.
Events (1)
- Settlement of … — End
ep3_laamp_decision_event.1131
Source: game/common/scripted_effects/00_laamp_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.