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

Scripted effect

hunt_complete_slay_beast_intent_effect

hunt_complete_slay_beast_intent_effect = yes

game/common/scripted_effects/00_hunt_effects.txt, line 3712 (55 lines). No parameters.

hunt_complete_slay_beast_intent_effect is a scripted effect in Crusader Kings III, written at line 3712 of its file. It takes no parameters: hunt_complete_slay_beast_intent_effect = yes. The game's script calls it in 6 places, among them A Hare in the Hand (event hunt.1062), The Kill (event hunt.1200) and The Kill (event hunt.1201). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.

What it does

  • If

    • has_activity_intent = slay_beast_intent

    Then

    • If

      a check the game hides

      Then

      • Stress and fulfillment impact: -15

      Otherwise

      • Stress and fulfillment impact: -65

• 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 (55 lines of game script)
hunt_complete_slay_beast_intent_effect = {
	if = {
		limit = {
			exists = involved_activity
			has_activity_intent = slay_beast_intent
			is_alive = yes
		}
		save_scope_as = intent_completer
		hidden_effect = {
			send_interface_toast = {
				title = activity_intent_complete_toast
				left_icon = scope:intent_completer
				complete_activity_intent = yes
				if = {
					limit = { exists = scope:group_kill }
					if = {
						limit = {
							OR = {
								involved_activity.var:animal_type ?= flag:hare
								involved_activity.var:animal_type ?= flag:fox
							}
						}
						stress_and_fulfillment_impact = { base = miniscule_stress_impact_loss }
					}
					else = {
						stress_and_fulfillment_impact = { base = minor_stress_impact_loss }
					}
				}
				else = {
					if = {
						limit = {
							OR = {
								involved_activity.var:animal_type ?= flag:hare
								involved_activity.var:animal_type ?= flag:fox
							}
						}
						stress_and_fulfillment_impact = { base = minor_stress_impact_loss }
					}
					else = {
						stress_and_fulfillment_impact = { base = major_stress_impact_loss }
					}
				}
			}
		}
		show_as_tooltip = {
			if = {
				limit = { exists = scope:group_kill }
				stress_and_fulfillment_impact = { base = minor_stress_impact_loss }
			}
			else = {
				stress_and_fulfillment_impact = { base = major_stress_impact_loss }
			}
		}
	}
}

As written in game/common/scripted_effects/00_hunt_effects.txt.

Where it is used

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

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