Scripted effect · Roads to Power files
estate_newly_built_grain_field_effect
estate_newly_built_grain_field_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 13486 (21 lines). No parameters.
estate_newly_built_grain_field_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 13486 of its file. It takes no parameters: estate_newly_built_grain_field_effect = yes. The game's script calls it in 6 places, among them japanese_fields_01 (domiciles), japanese_fields_02 (domiciles) and japanese_fields_03 (domiciles). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
What it does
- scope:owner › If years from game start at least 1 › 75% chance of: Event ep3_governor_yearly.3001 (after 5 days)
• 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 (21 lines of game script)
estate_newly_built_grain_field_effect = {
scope:owner = {
if = {
limit = {
is_alive = yes
years_from_game_start >= 1
}
random = {
chance = 75
add_character_flag = {
flag = domicile_new_built_grain_field
months = 1
}
trigger_event = {
id = ep3_governor_yearly.3001
days = 5
}
}
}
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls estate_newly_built_grain_field_effect.
Domiciles (6)
- japanese_fields_01
- japanese_fields_02
- japanese_fields_03
- japanese_fields_04
- japanese_fields_05
- japanese_fields_06
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.