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

Scripted effect · By God Alone files

hedonistic_feast_gout_risk_effect

hedonistic_feast_gout_risk_effect = yes

game/common/scripted_effects/pam_effects.txt, line 1668 (23 lines). No parameters.

hedonistic_feast_gout_risk_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1668 of its file. It takes no parameters: hedonistic_feast_gout_risk_effect = yes. The game's script calls it in 2 places, among them Feast (activity) and disburse_feast_activity_rewards (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.

What it does

  • If

    Then

    • 1 of 2 things will happen:
      • 75%: Nothing else happens
      • 25%:
        • add_trait_force_tooltip = gout_ridden

• 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 (23 lines of game script)
hedonistic_feast_gout_risk_effect = {
	if = {
		limit = {
			has_personal_tenet_flag = tenet_hedonistic_feast_gout_risk
			current_weight >= overweight_value
			can_contract_disease_trigger = { DISEASE = gout_ridden }
		}
		random_list = {
			75 = {}
			25 = {
				send_interface_toast = {
					type = event_toast_effect_bad
					title = hedonistic_feast_gout_risk_toast
					left_icon = root
					show_as_tooltip = { add_trait_force_tooltip = gout_ridden }
					hidden_effect = {
						contract_disease_effect = { DISEASE = gout_ridden TREATMENT_EVENT = no }
					}
				}
			}
		}
	}
}

As written in game/common/scripted_effects/pam_effects.txt.

Where it is used

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

Activities (1)

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