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

Scripted effect · The Royal Court files

roll_scientific_apparatus_effect

roll_scientific_apparatus_effect = { CHARACTER = … }

game/common/scripted_effects/00_ep1_artifact_creation_effects.txt, line 12294 (13 lines). Parameters: $CHARACTER$.

roll_scientific_apparatus_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 12294 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Inspiration Funded (event fund_inspiration.0061). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_artifact_creation_effects.txt.

The comment above it in the file

Currently just armillary spheres, but can be added to in future.

What it does

  • 1 of 1 things will happen › 100%: 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 (13 lines of game script)
roll_scientific_apparatus_effect = {
	random_list = {
		100 = {
			trigger = {
				eligible_for_scientific_apparatus_armillary_sphere_trigger = { CHARACTER = $CHARACTER$ }
			}
			save_scope_value_as = {
				name = artifact_scientific_apparatus_type
				value = flag:artisan_type_scientific_apparatus
			}
		}
	}
}

As written in game/common/scripted_effects/00_ep1_artifact_creation_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls roll_scientific_apparatus_effect.

Events (1)

Source: game/common/scripted_effects/00_ep1_artifact_creation_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?