Scripted effect
reinstitute_grain_dole_decision_effect
reinstitute_grain_dole_decision_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects_3.txt, line 1059 (48 lines). No parameters.
reinstitute_grain_dole_decision_effect is a scripted effect in Crusader Kings III, written at line 1059 of its file. It takes no parameters: reinstitute_grain_dole_decision_effect = yes. The game's script calls it in 3 places, among them Reconfirm the Grain Dole (decision), Reinstate the Grain Dole (decision) and The Grain Dole (event ep3_decisions_event.4040). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects_3.txt.
What it does
- Every county in region:
- Where › Any county province:
has_building_or_higher = cereal_fields_05
region = custom_roman_aegyptus- The county gains the modifier “Granary of New Rome” for 25 years
- Holding Taxes +20%
- Where › Any county province:
- Their capital county:
- The county gains the modifier “Panem et Circenses” for 25 years — increase per Granaries built in Aegyptus
- Gains 100 Legitimacy
If
None of these
- Their capital county: Has “unlocked grain dole” (a variable the game's script sets)
Then
add_prestige = { value = massive_prestige_gain multiply = 3 }change_influence = { value = massive_influence_gain multiply = 3 }
Otherwise
- Gain +750 Prestige
- Influence +150
• 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 (48 lines of game script)
reinstitute_grain_dole_decision_effect = {
if = {
limit = {
NOT = { capital_county = { has_variable = unlocked_grain_dole } }
}
custom_tooltip = {
text = half_price_chariot_race_tooltip
add_character_flag = half_price_chariot_race_flag
}
}
every_county_in_region = {
region = custom_roman_aegyptus
limit = {
any_county_province = {
has_building_or_higher = cereal_fields_05
}
}
add_county_modifier = {
modifier = grain_providers_county_modifier
years = 25
}
}
capital_county = {
add_county_modifier = {
modifier = panem_et_circenses_county_modifier
years = 25
}
}
add_legitimacy = medium_legitimacy_gain
if = {
limit = {
NOT = { capital_county = { has_variable = unlocked_grain_dole } }
}
add_prestige = {
value = massive_prestige_gain
multiply = 3
}
change_influence = {
value = massive_influence_gain
multiply = 3
}
capital_county = { set_variable = unlocked_grain_dole }
}
else = {
add_prestige = massive_prestige_gain
change_influence = massive_influence_gain
}
}As written in game/common/scripted_effects/00_major_decisions_scripted_effects_3.txt.
Where it is used
Every place in common/, events/ and history/ that calls reinstitute_grain_dole_decision_effect.
Decisions (2)
Events (1)
- The Grain Dole
ep3_decisions_event.4040
Source: game/common/scripted_effects/00_major_decisions_scripted_effects_3.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.