Scripted effect
hunt_trophy_recipient_scope_effect
hunt_trophy_recipient_scope_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 3799 (78 lines). No parameters.
hunt_trophy_recipient_scope_effect is a scripted effect in Crusader Kings III, written at line 3799 of its file. It takes no parameters: hunt_trophy_recipient_scope_effect = yes. The game's script calls it in 2 places, among them Bounty of the Wild (event hunt.9001) and Felling a Beast (event hunt.4004). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (78 lines of game script)
hunt_trophy_recipient_scope_effect = {
# Save potential gift recipient
if = {
limit = {
intent_target ?= { is_alive = yes }
OR = {
has_activity_intent = woo_attendee_intent
has_activity_intent = befriend_attendee_intent
AND = {
has_activity_intent = impose_obedience_intent
scope:host.intent_target = { # They're not obedient to you already
NOT = { is_obedient_to = scope:host }
}
}
}
}
intent_target = { save_scope_as = trophy_recipient }
}
else = {
every_child = {
limit = { hunt_trophy_recipient_trigger = yes }
add_to_list = trophy_recipients
}
every_consort = {
limit = { hunt_trophy_recipient_trigger = yes }
add_to_list = trophy_recipients
}
every_close_family_member = {
limit = { hunt_trophy_recipient_trigger = yes }
add_to_list = trophy_recipients
}
every_relation = {
type = friend
type = lover
type = potential_friend
type = potential_lover
add_to_list = trophy_recipients
}
random_in_list = {
list = trophy_recipients
limit = {
trigger_if = {
limit = {
exists = scope:newly_created_artifact
scope:newly_created_artifact = {
OR = {
artifact_type = animal_hide_big
artifact_type = animal_hide
artifact_type = animal_skull
}
}
}
has_royal_court = yes
}
NOR = {
scope:animal_slayer ?= this
hunt_dharmic_pacificist_trigger = yes
}
this != root
}
alternative_limit = {
NOT = { scope:animal_slayer ?= this }
this != root
}
weight = {
base = 1
modifier = {
add = 10
OR = {
has_relation_potential_friend = root
has_relation_potential_lover = root
}
}
}
save_scope_as = trophy_recipient
}
}
}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_trophy_recipient_scope_effect.
Events (2)
- Bounty of the Wild
hunt.9001 - Felling a Beast
hunt.4004
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.