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

Scripted effect

set_up_horned_mythical_creature_effect

set_up_horned_mythical_creature_effect = yes

game/common/scripted_effects/00_regional_scripted_effects.txt, line 4 (68 lines). No parameters.

set_up_horned_mythical_creature_effect is a scripted effect in Crusader Kings III, written at line 4 of its file. It takes no parameters: set_up_horned_mythical_creature_effect = yes. The game's script calls it in 2 places, among them generate_health_trinket_effect (scripted effect) and generate_trinket_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_regional_scripted_effects.txt.

The comment above it in the file

For use with HornedMythicalCreature / call this effect (set_up_horned_mythical_creature_effect = yes) in the line before creating the artifact
Use this in the artifact's name/description in the loc-file [ROOT.Char.Custom('HornedMythicalCreature')]
Remember to clear the var:horned_mythical_creature in your after = { ... }

What it does

  • 1 of 10 things will happen:
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 11%: Nothing else happens
    • 1%: 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 (68 lines of game script)
set_up_horned_mythical_creature_effect = {
	random_list = {
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:tarasque
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:indrik
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:ophiotaurus
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:monocerus
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:centicore
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:erchitu
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:hadhayosh
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:bulgu
			}
		}
		50 = {
			set_variable = {
				name = horned_mythical_creature
				value = flag:catoblepas
			}
		}
		5 = {
			trigger = { 
				location = { geographical_region = custom_iceland }
			}
			set_variable = {
				name = horned_mythical_creature
				value = flag:keewakw
			}
		}

	}
}

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

Where it is used

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

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