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

Scripted effect · Legends of the Dead files

create_swan_knight_legend_seed_effect

create_swan_knight_legend_seed_effect = yes

game/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 2965 (64 lines). No parameters.

create_swan_knight_legend_seed_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 2965 of its file. It takes no parameters: create_swan_knight_legend_seed_effect = yes. The game's script calls it in 1 place, among them disburse_knight_errant_decision_rewards_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.

What it does

  • If

    • Their location: Is in the Europe region

    Then

    • create_legend_seed = { … }

    Else if

    • Their location:
      • One of these

        • Is in the India region
        • or

          Is in the ghw region caucasus region
        • or

          Is in the China region
        • or

          Is in the Japan region
        • or

          Is in the Korea region
        • or

          Is in the Southeast Asia region

    Then

    • create_legend_seed = { … }

    Else if

    • Their location: Is in the Africa region

    Then

    • create_legend_seed = { … }

    Otherwise

    • create_legend_seed = { … }

• 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 (64 lines of game script)
create_swan_knight_legend_seed_effect = {
	if = {
		limit = {
			location = {
				geographical_region = world_europe
			}
		}
		create_legend_seed = {
			type = heroic
			quality = famed
			chronicle = swan_knight
			properties = {
				friendly_animal = flag:swan
			}
		}
	}
	else_if = {
		limit = {
			location = {
				OR = {
					geographical_region = world_india
					geographical_region = ghw_region_caucasus
					geographical_region = world_asia_china
					geographical_region = world_asia_japan
					geographical_region = world_asia_korea
					geographical_region = world_asia_southeast
				}
			}
		}
		create_legend_seed = {
			type = heroic
			quality = famed
			chronicle = swan_knight
			properties = {
				friendly_animal = flag:tiger
			}
		}
	}
	else_if = {
		limit = {
			location = {
				geographical_region = world_africa
			}
		}
		create_legend_seed = {
			type = heroic
			quality = famed
			chronicle = swan_knight
			properties = {
				friendly_animal = flag:lion
			}
		}
	}
	else = {
		create_legend_seed = {
			type = heroic
			quality = famed
			chronicle = swan_knight
			properties = {
				friendly_animal = flag:hart
			}
		}
	}
}

As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/06_dlc_ce1_legend_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?