CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

reinstitute_grain_dole_decision_effect

reinstitute_grain_dole_decision_effect = yes

game/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

  • If

    • None of these

      • Their capital county: Has “unlocked grain dole” (a variable the game's script sets)

    Then

  • 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
  • Their capital county:
  • 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

• 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.

Events (1)

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.

Spotted a mistake on this page?