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

Scripted effect

send_poem_incompetence_duel_actor_failure_effect

send_poem_incompetence_duel_actor_failure_effect = yes

game/common/scripted_effects/00_poetry_effects.txt, line 492 (44 lines). No parameters.

send_poem_incompetence_duel_actor_failure_effect is a scripted effect in Crusader Kings III, written at line 492 of its file. It takes no parameters: send_poem_incompetence_duel_actor_failure_effect = yes. The game's script calls it in 1 place, among them send_poem_incompetence_duel_defeat_notification_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_poetry_effects.txt.

What it does

• 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 (44 lines of game script)
send_poem_incompetence_duel_actor_failure_effect = {
	add_clan_unity_interaction_effect = {
		CHARACTER = scope:actor
		TARGET = scope:recipient
		VALUE = minor_unity_loss
		DESC = clan_unity_poetry.desc
		REVERSE_NON_HOUSE_TARGET = no
	}
	# reduce their opinion of scope:recipient.
	scope:actor = {
		if = {
			limit = { is_ai = yes }
			add_opinion = {
				target = scope:recipient
				modifier = sent_poem_humiliated_opinion
			}
		}
		if = {
			limit = { has_trait = lifestyle_poet }
			add_trait_xp = {
				trait = lifestyle_poet
				value = { 1 2 }
			}
		}
	}
	# & give prestige to scope:recipient
	scope:recipient = {
		add_opinion = {
			opinion = -20
			target = scope:actor
			modifier = sent_poem_humiliated_opinion
		}
		hidden_effect = {
			random = {
				chance = 20
				if = {
					limit = { can_set_relation_potential_rival_trigger = { CHARACTER = scope:actor } }
					set_relation_potential_rival = scope:actor
				}
			}
		}
		add_prestige = @send_poem_rejected_prestige_gain
	}
}

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

Where it is used

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

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