joemann Posted March 13, 2018 Posted March 13, 2018 I am trying to make a three party event, starting with a targeted decision. I suppose this is possible because lots of vanilla events show more than one character in the screen. However, I have no idea how this works. I have tried to make a targeted decision share_slave, the idea being to invite a character to a threesome in exchange for a favor or to blackmail or reward him. I have tried the following (I found the third_party_potential code in a file 00_decisions in the CK2 vanilla game) : rsl_share_slave = { filter = sub_realm ai_target_filter = self from_potential = { ai = no } third_party_potential = { ROOT = { # this is the decision target is_adult = yes is_alive = yes is_incapable = no prisoner = no } FROM = { # this is the decision taker ( the player i suppose) NOT = { trait = incapable trait = chaste trait = zealous } } FROMFROM = { #this should be the slave is_adult = yes OR = { trait = slave trait = trained_pleasure_slave trait = broken_in } } allow = { always = yes } effect = { narrative_event = { id = RSLS.44 } } revoke_allowed = { always = no } ai_will_do = { factor = 0.1 # 10% base chance } } } However, although the decision can be used it does not fire the event and I have no idea who will show up. Does anybody know how to do this? I was also thinking to create an ordinary decision in the intrigue screen (organize orgy) ideally you would be able to invite one or more characters to the party but again how do you do that? I suppose that there is no way that you can get a screen to open with all potential guests ( along the lines of the marriage screen). I would be happy with any input.
joemann Posted March 14, 2018 Author Posted March 14, 2018 I found the wiki page on Decision modding ( had overlooked it ). Cleaned up my code (see below). It now works up to a point. I can decide to share slaves with a character. If I do so a screen pops up with the player character and the target character and an empty circle (for the slave) if you click on it the list appears from which you can select the slave (same routine as if you use the arrange marriage decision). However, the list is always empty. I suppose the problem is in the filter or the conditions for the third_party but I am using the same code that the wiki uses. Anybody see something wrong? rsl_share_slave = { filter = court ai_target_filter = self third_party_filter = court ai_third_party_filter = court potential = { # Conditions on the targeted character for the decision to appear is_marriage_adult = yes NOT = { trait = incapable trait = chaste trait = zealous } } third_party_potential = { # Conditions on the third party character to be included in the list is_marriage_adult = yes OR = { trait = slave trait = trained_pleasure_slave trait = broken_in } } allow = { always = yes } effect = { narrative_event = { id = RSLS.44 } } revoke_allowed = { always = no } ai_will_do = { factor = 0.1 # 10% base chance } }
joemann Posted March 14, 2018 Author Posted March 14, 2018 I'm almost there: Added a few FROM's in strategic places. rsl_share_slave = { filter = sub_realm ai_target_filter = self third_party_filter = court ai_third_party_filter = court potential = { # Conditions on the targeted character for the decision to appear is_marriage_adult = yes NOR = { trait = incapable trait = chaste trait = zealous trait = slave trait = trained_pleasure_slave trait = broken_in } } third_party_potential = { FROMFROM = { # Conditions on the third party character to be included in the list is_marriage_adult = yes OR = { trait = slave trait = trained_pleasure_slave trait = broken_in } } } allow = { always = yes } effect = { FROM = { narrative_event = { id = RSLS.44 }} } revoke_allowed = { always = no } ai_will_do = { factor = 0.1 # 10% base chance } } } The event fires but I only get two pics: the player character and the target, slave is still missing. Is it possible to get three pictures in one event screen? Is this something you need to code in the targeted decision or in the event itself?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.