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

Scripted effect · Roads to Power files

ep3_increase_peasant_support_effect

ep3_increase_peasant_support_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 12884 (27 lines). No parameters.

ep3_increase_peasant_support_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 12884 of its file. It takes no parameters: ep3_increase_peasant_support_effect = yes. The game's script calls it in 1 place, among them Contract: Fight Corruption (event ep3_contract_event.0093). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

The comment above it in the file

Increase support

What it does

  • Increase Unruly Counties You Support by 1

• 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 (27 lines of game script)
ep3_increase_peasant_support_effect = {
	scope:task_contract = {
		change_variable = {
			name = support
			add = 1
		}
		add_to_variable_list = {
			name = supported_counties
			target = scope:corrupt_province.county
		}
	}
	custom_tooltip = ep3_support_peasants_effect_tt
	scope:task_contract.var:task_contract_councillor_liege ?= {
		send_interface_message = {
			type = msg_peasant_supported
			title = msg_peasant_supported.title
			desc = msg_peasant_supported.desc
		}
	}
	scope:task_contract.var:task_contract_councillor ?= {
		send_interface_message = {
			type = msg_peasant_supported
			title = msg_peasant_supported.title
			desc = msg_peasant_supported.desc
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

Events (1)

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