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

banish_effect

banish_effect = { BANISHER = … }

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 12856 (10 lines). Parameters: $BANISHER$.

banish_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 12856 of its file. A call passes 1 parameter: BANISHER. The game's script calls it in 9 places, among them Negotiate Release (interaction), Remove Co-Ruler (interaction) and A Courtly Gift (event court.9001). 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

Effect for handling players and AI continuing as landless if banished
Should be used over the standard effect in most cases (except barons/unlanded AI etc.)
BANISHER should be whoever has caused the banishment - imprisoner, ultimatum giver, etc.

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 (10 lines of game script)
banish_effect = {
	show_as_tooltip = { banish = yes }
	save_scope_as = allow_imprisoned_landless
	if = {
		limit = { scope:allow_imprisoned_landless = { is_valid_for_laampdom = yes } }
		custom_tooltip = laamp_may_become_adventurer_tt
	}
	$BANISHER$ = { save_scope_as = banisher }
	trigger_event = ep3_laamps.0021
}

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 banish_effect.

Character interactions (2)

Scripted effects inside an event file (1)

  • vizierate_1001_duel_for_vizierate_effect

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?