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

refuse_movement_petition_effect

refuse_movement_petition_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 1019 (49 lines). No parameters.

refuse_movement_petition_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 1019 of its file. It takes no parameters: refuse_movement_petition_effect = yes. The game's script calls it in 3 places, among them Movement's Petition: … (event tgp_decision_events.0101), Movement's Petition: … (event tgp_decision_events.0103) and display_movement_petition_recipient_acceptance_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_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 (49 lines of game script)
refuse_movement_petition_effect = {
	send_interface_message = {
		type = event_diplomacy_bad
		title = tgp_decision_events.0103.b_title
		left_icon = scope:petition_recipient
		add_opinion = {
			modifier = hegemon_refused_faction_demands_modifier
			target = scope:petition_recipient
			years = 5
		}
		scope:hegemon = {
			add_legitimacy_effect = { LEGITIMACY = miniscule_legitimacy_loss }
			if = {
				limit = {
					scope:petitioner.var:movement_petition ?= flag:hold_examinations
				}
				situation:dynastic_cycle = {
					if = {
						limit = {
							situation_top_has_catalyst = catalyst_imperial_examinations_gap_short_yearly
							exists = title:h_china.var:years_since_imperial_examination
							title:h_china.var:years_since_imperial_examination >= catalyst_imperial_examinations_gap_short_yearly_value
						}
						trigger_situation_catalyst = {
							catalyst = catalyst_imperial_examinations_gap_short_yearly
							character = scope:petitioner
						}
					}
					if = {
						limit = {
							situation_top_has_catalyst = catalyst_imperial_examinations_gap_long_yearly
							exists = title:h_china.var:years_since_imperial_examination
							title:h_china.var:years_since_imperial_examination >= catalyst_imperial_examinations_gap_long_yearly_value
						}
						trigger_situation_catalyst = {
							catalyst = catalyst_imperial_examinations_gap_long_yearly
							character = scope:petitioner
						}
					}
				}
			}
		}
		scope:actors_movement = {
			petition_change_movement_power_effect = {
				VALUE = -100
			}
		}
	}
}

As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

Where it is used

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

Events (2)

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