Scripted effect
petition_liege_0101_construct_city_effect
petition_liege_0101_construct_city_effect = yesgame/common/scripted_effects/00_petition_liege_effects.txt, line 741 (33 lines). No parameters.
petition_liege_0101_construct_city_effect is a scripted effect in Crusader Kings III, written at line 741 of its file. It takes no parameters: petition_liege_0101_construct_city_effect = yes. The game's script calls it in 1 place, among them petition_type_outcome_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.
The comment above it in the file
Construct City
What it does
scope:petition_liege:- Stress and fulfillment impact: by trait: Greedy +40, Architect -15, Profligate -15, Improvident -15
remove_short_term_gold = main_building_tier_1_cost
scope:petition_construct:begin_create_holding = { … }
• 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 (33 lines of game script)
petition_liege_0101_construct_city_effect = {
scope:petition_liege = {
stress_and_fulfillment_impact = {
greedy = medium_stress_impact_gain
architect = minor_stress_impact_loss
profligate = minor_stress_impact_loss
improvident = minor_stress_impact_loss
}
remove_short_term_gold = main_building_tier_1_cost
}
scope:petition_construct = {
begin_create_holding = {
type = city_holding
refund_cost = { gold = 0 }
}
}
scope:petition_vassal = {
hidden_effect = {
send_interface_toast = {
title = petition_liege.0101.t.construct_city
left_icon = scope:petition_liege
show_as_tooltip = {
scope:petition_construct = {
begin_create_holding = {
type = city_holding
refund_cost = { gold = 0 }
}
}
}
}
}
}
}As written in game/common/scripted_effects/00_petition_liege_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_liege_0101_construct_city_effect.
Scripted effects (1)
Source: game/common/scripted_effects/00_petition_liege_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.