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

Scripted effect · All Under Heaven files

mandala_contributor_shallow_pools_reward_effect

mandala_contributor_shallow_pools_reward_effect = yes

game/common/scripted_effects/tgp_mandala_scripted_effects.txt, line 269 (28 lines). No parameters.

mandala_contributor_shallow_pools_reward_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 269 of its file. It takes no parameters: mandala_contributor_shallow_pools_reward_effect = yes. The game's script calls it in 2 places, among them mandala_capital_02 (great project) and contributed_shallow_pools_effect (scripted effect). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

What it does

  • If

    a check the game hides

    Then

    • add_prestige = { … }
  • If a check the game hides passes: the same again (1 line)
    • Holding of … gains Shallow Pools

    Otherwise

    • Holding of … gains Shallow Pools

• 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 (28 lines of game script)
mandala_contributor_shallow_pools_reward_effect = { 
	if = {
		limit = { this != scope:owner }
		add_prestige = {
			value = {
				add = mandala_contribution_medium_prestige_reward
				multiply = 1.5
			}
		}	
	}
	if = {
		limit = { exists = scope:province }
		custom_tooltip = mandala_contributor_shallow_pools_reward_province_effect_tt
		hidden_effect = {
			scope:province = {
				add_province_modifier = { modifier = mandala_shallow_pools_defense_modifier }
			}
		}
	}
	else = {
		custom_tooltip = mandala_contributor_shallow_pools_reward_effect_tt
		hidden_effect = {
			scope:owner.capital_province = {
				add_province_modifier = { modifier = mandala_shallow_pools_defense_modifier }
			}
		}	
	}
}

As written in game/common/scripted_effects/tgp_mandala_scripted_effects.txt.

Where it is used

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

Great projects (1)

  • mandala_capital_02

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