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

Scripted effect · Roads to Power files

random_rain_snow_chance_effect

random_rain_snow_chance_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 10513 (45 lines). No parameters.

random_rain_snow_chance_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 10513 of its file. It takes no parameters: random_rain_snow_chance_effect = yes. The game's script calls it in 10 places, among them …s and Commoners (event ach_coronation.0013), Dynastic Duties (event ach_coronation.0018) and Gone Fishing (event ep3_decisions_event.9001). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

  • 1 of 3 things will happen:
    • 33%: Nothing else happens
    • 33% (base chance; changed in play): Nothing else happens
    • 33%: Nothing else happens

• 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 (45 lines of game script)
random_rain_snow_chance_effect = {
	random_list = {
		10 = {	# Snow
			trigger = {
				location = {
					OR = {
						has_province_modifier = winter_mild_modifier
						has_province_modifier = winter_normal_modifier
						has_province_modifier = winter_harsh_modifier
					}
				}
			}
			save_scope_as = snow_day
		}
		10 = { # Rain
			trigger = {
				location = {
					NOR = {
						has_province_modifier = winter_mild_modifier
						has_province_modifier = winter_normal_modifier
						has_province_modifier = winter_harsh_modifier
					}
				}
			}
			modifier = {
				factor = 1.02
				location.county = { is_riverside_county = yes }
			}
			modifier = {
				factor = 0.05
				location = {
					OR = {
						terrain = desert
						terrain = drylands
						terrain = desert_mountains
						terrain = oasis

					}
				}
			}
			save_scope_as = rain_day
		}
		10 = {} # No rain
	}
}

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

Events (10)

4 more

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.

Spotted a mistake on this page?