Sin's Visit Chambers

Browse, publish and discuss user made sub-mods here

Re: Sin's Visit Chambers

PostPosted by SerLocotoy7 » Tue Dec 06, 2016 23:29

Nice mod! :D
User avatar
SerLocotoy7
 
Posts: 8
Joined: Tue Dec 06, 2016 23:24

Re: Sin's Visit Chambers

PostPosted by SinStar87 » Tue Dec 06, 2016 23:53

@tonso You can edit the ai_chance of the event

@SerLocotoy7 Thank you. I'm glad you enjoy it.
User avatar
SinStar87
 
Posts: 3107
Joined: Sat Feb 09, 2013 17:24

Re: Sin's Visit Chambers

PostPosted by tonso » Wed Dec 07, 2016 03:32

Thanks, now I'll be able to make Maegor's bloodline instead of seeing him die childless.
tonso
 
Posts: 9
Joined: Thu Jan 07, 2016 19:07

Re: Sin's Visit Chambers

PostPosted by Tanitanino » Fri Feb 10, 2017 18:00

Not sure if it's my mod combination, but I can visit spouse every day without the cooldown which used to work in the previous version.
Tanitanino
 
Posts: 69
Joined: Mon Mar 28, 2016 23:20

Re: Sin's Visit Chambers

PostPosted by SinStar87 » Fri Feb 10, 2017 23:43

Yeah I noticed last I played. Seems Paradox broke the from_potentials so many triggers(I think it's scoped triggers) aren't working properly.

I'm waiting to see if Paradox fixes the issue in their next patch, if not I'll change it. If you don't want to wait;

Move this code from the from_potential section to the potential section should correct the problem.

Spoiler: show
Code: Select all
         OR = {
            NAND = {
               ROOT = { has_character_modifier = visited_chambers }
               FROM = { has_character_modifier = visited_chambers }
            }
            AND = {
               ROOT = { trait = lustful }
               FROM = { trait = lustful }
            }
         }
User avatar
SinStar87
 
Posts: 3107
Joined: Sat Feb 09, 2013 17:24

Re: Sin's Visit Chambers

PostPosted by blackninja9939 » Sat Feb 11, 2017 17:13

SinStar87 wrote:Yeah I noticed last I played. Seems Paradox broke the from_potentials so many triggers(I think it's scoped triggers) aren't working properly.

I'm waiting to see if Paradox fixes the issue in their next patch, if not I'll change it. If you don't want to wait;

Move this code from the from_potential section to the potential section should correct the problem.

Spoiler: show
Code: Select all
         OR = {
            NAND = {
               ROOT = { has_character_modifier = visited_chambers }
               FROM = { has_character_modifier = visited_chambers }
            }
            AND = {
               ROOT = { trait = lustful }
               FROM = { trait = lustful }
            }
         }

from_potentials definitely work still, which ones do you think are broken?
Graduate Content Designer on Crusader Kings 2

If a post is edited in this colour then it was done by me for moderation.

My Sub-Mods:
Bloodlines Sub-Mod
More Decisions Sub-Mod
Colonise Valyiria and Challenge to Duel
Duel Recorder
More Bookmarks
User avatar
blackninja9939
Moderator
 
Posts: 5650
Joined: Tue Oct 01, 2013 10:50
Location: England

Re: Sin's Visit Chambers

PostPosted by SinStar87 » Sat Feb 11, 2017 17:28

Spoiler: show
targetted_decisions = {
visit_chamber_sin = {
filter = all
ai_target_filter = sub_realm

from_potential = {
ai = no
age = 14
NOT = { has_character_flag = sin_visited_chambers }
OR = {
NAND = {
ROOT = { has_character_modifier = visited_chambers }
FROM = { has_character_modifier = visited_chambers }
}
AND = {
ROOT = { trait = lustful }
FROM = { trait = lustful }
}
}

}
potential = {
OR = {
any_spouse = { character = FROM }
any_lover = { character = FROM }
FROM = { is_consort = ROOT }
}
age = 14
}
allow = {
ROOT = {
NOR = {
trait = pregnant
has_opinion_modifier = { who = FROM modifier = opinion_rejected }
}
}
FROM = {
NOR = {
trait = pregnant
has_opinion_modifier = { who = ROOT modifier = opinion_rejected }
}
}
}
effect = {
character_event = { id = visit_chamber_sin.0 }
}
ai_will_do = {
factor = 0
}
}
}


The bolded code no longer works in the lastest patches, but if it is moved to the potential section it works as intended, blocking the decision for 30 days if from and root have the modifier or aren't lustful. It's only with the recent patches that this has happened so I'm assuming Paradox broke the from_potential some how so it no longer recognizes scoped triggers cause I had the same issue with another mod but I forget which. I think I know the issue, I think they made the from_potential a from scope so now it is doubling the from into a fromfrom
User avatar
SinStar87
 
Posts: 3107
Joined: Sat Feb 09, 2013 17:24

Re: Sin's Visit Chambers

PostPosted by SinStar87 » Sat Feb 11, 2017 17:54

Removed the from scope and seems to wok properly so I believe that's what happened.
User avatar
SinStar87
 
Posts: 3107
Joined: Sat Feb 09, 2013 17:24

Re: Sin's Visit Chambers

PostPosted by blackninja9939 » Sat Feb 11, 2017 19:21

from_potential has always been in the FROM scope but yeah that should fix it all up then!
Graduate Content Designer on Crusader Kings 2

If a post is edited in this colour then it was done by me for moderation.

My Sub-Mods:
Bloodlines Sub-Mod
More Decisions Sub-Mod
Colonise Valyiria and Challenge to Duel
Duel Recorder
More Bookmarks
User avatar
blackninja9939
Moderator
 
Posts: 5650
Joined: Tue Oct 01, 2013 10:50
Location: England

Re: Sin's Visit Chambers

PostPosted by SinStar87 » Sat Feb 11, 2017 20:05

Ok, "Fixed" is probably a better word, but still it was working for like 3 dlcs , so it no longer working was Paradox's doing... Anyway all downloads should be updated.
User avatar
SinStar87
 
Posts: 3107
Joined: Sat Feb 09, 2013 17:24

Previous

Return to Sub-Mods

Who is online

Users browsing this forum: No registered users and 1 guest