Information
I have verifed my game files (Steam only)
YesI have disabled all mods
YesI am running the latest game update
YesRequired
Summary
A Beautiful Specimen Event Wrongly Warns of Secret Relationship with SpouseDescription
The hunt event "A Beautiful Specimen" (hunt.5003) warns of a secret relationship with spouse despite spousal relationships not being secret.Looking at the code the problem seems to be the after effect applying the warning (custom_tooltip = hunt.5003.b.tt) to any lovers (not just secret lovers) despite the trigger allowing lovers (again not just secret lovers) to be selected. Either the after effect needs to be changed or the trigger needs to only allow characters that can produce secret lover relationships. Interestingly one of the options (hunt.5003.b) has the warning properly isolated (though the fact the warning appears in both the option and after effect it seems possible to get the warning twice for that option if actually secret lovers).
Same logic is also used to grab the other character in the event (scope:hunt_participant)
Code:
trigger = {
scope:activity = {
any_attending_character = {
OR = {
has_relation_lover = root
is_scheming_against = {
target = root
type = seduce
}
is_scheming_against = {
target = root
type = courting
}
AND = {
has_activity_intent = woo_attendee_intent
intent_target = root
}
}
is_alive = yes
is_ai = yes
}
}
}
Code:
#But alas, you're not completely alone and might've been spotted!
if = {
limit = {
OR = {
has_secret_relation_lover = scope:hunt_participant
any_secret = {
secret_type = secret_lover
secret_target = { this = scope:hunt_participant }
}
}
}
custom_tooltip = hunt.5003.b.tt
}
Code:
after = {
if = {
limit = { has_relation_lover = scope:hunt_participant }
custom_tooltip = hunt.5003.b.tt
hidden_effect = {
random = {
chance = 80
modifier = {
has_character_modifier = hunt_protected_their_secret_modifier
factor = 0.5
}
random_secret = {
limit = {
secret_type = secret_lover
secret_target = { this = scope:hunt_participant }
}
if = {
limit = { exists = scope:potential_witness }
reveal_to = scope:potential_witness
}
}
}
}
}
}
Steps to reproduce
Have a spouse that is your lover also attend the same hunt activity (assuming the event fires and no other valid targets according to the trigger logic)Game Version
1.9.2.1Platform
WindowsAdditional Information
Affected Feature
- Events
Save Game
Other Attachments
