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

Scripted effect · Wards and Wardens files

bp2_goliards_potential_shenanigans_effect

bp2_goliards_potential_shenanigans_effect = { TITLE_VALUE = … }

game/common/scripted_effects/05_dlc_bp2_effects.txt, line 646 (121 lines). Parameters: $TITLE_VALUE$.

bp2_goliards_potential_shenanigans_effect is a scripted effect in Crusader Kings III, in the Wards and Wardens files, written at line 646 of its file. A call passes 1 parameter: TITLE_VALUE. The game's script calls it in 10 places, among them A Matter of Faith? (event bp2_adult_education.1080), A Party of Peasants (event bp2_adult_education.9100) and A Sultry Study Break (event bp2_adult_education.9200). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/05_dlc_bp2_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 (120 lines of game script)
bp2_goliards_potential_shenanigans_effect = {
	custom_tooltip = goliardic_shenanigans_effect_tt
	hidden_effect = {
		random_list = {
			10 = {
				modifier = {
					has_diplomacy_lifestyle_trait_trigger = yes
					add = 5
				}
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					add_diplomacy_skill = 1
				}	
			}
			10 = {
				modifier = {
					has_intrigue_lifestyle_trait_trigger = yes
					add = 5
				}
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					add_intrigue_skill = 1
				}					
			}
			10 = {
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					add_prowess_skill = 1
				}
			}	
			15 = {
				trigger = {
					is_eunuch_trigger = no
					NOR = {
						has_trait = lovers_pox
						has_trait = early_great_pox
						has_trait = great_pox
						has_trait = celibate
						has_character_flag = immune_to_disease
					}
					can_contract_disease_trigger = { DISEASE = lovers_pox }
				}
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					contract_disease_effect = { DISEASE = lovers_pox TREATMENT_EVENT = no }
				}
			}
			15 = {
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					increase_wounds_no_death_effect = { REASON = fight }
				}
			}
			10 = {
				trigger = {
					NOT = { has_trait = lifestyle_poet }
				}
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					add_trait = lifestyle_poet
				}
			}
			10 = {
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					if = {
						limit = { has_trait = lifestyle_blademaster }
						add_trait_xp = {
							trait = lifestyle_blademaster
							value = 5
						}
					}
					else = { add_trait = lifestyle_blademaster }
				}
			}
			5 = {
				trigger = {
					NOT = { has_trait = drunkard }
					drinks_alcohol_trigger = yes
				}
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					add_trait = drunkard
				}
			}
			5 = {
				trigger = { can_be_hashishiyah = yes }
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					add_trait = hashishiyah
				}
			}
			10 = {
				send_interface_toast = {
					title = $TITLE_VALUE$
					left_icon = root
					bp2_lifestyle_xp_gain_per_type_effect = { VALUE = medium }
				}
			}
			10 = {
				trigger = {
					has_trait = tourney_participant
				}
				add_trait_xp = {
					trait = tourney_participant
					track = wit
					value = 5
				}
			}
		}
	}

As written in game/common/scripted_effects/05_dlc_bp2_effects.txt.

The first 120 of its 121 lines; the rest is in game/common/scripted_effects/05_dlc_bp2_effects.txt from line 646.

Where it is used

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

Events (10)

4 more

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