loup99 / WtWSMS

A Migrational Era Mod for CK2
https://forum.paradoxplaza.com/forum/index.php?forums/when-the-world-stopped-making-sense-mod.876/
Other
45 stars 33 forks source link

Reformed pagans can't ask religious conversion #38

Closed rquinio closed 9 years ago

rquinio commented 9 years ago

Reformed pagans (germanic_pagan_reformed, baltic_pagan_reformed, ...) see the demand conversion diplomatic action, but even with +100 opinion, the character never agrees !

There is no such issue with Nicene, character agrees if opinion > +35. Since it's an hardcoded diplomatic action, I'm not sure what's happening here. Also tested in vanilla 2.3 with norse_pagan_reformed, there is no such issue.

rquinio commented 9 years ago

Actually seems to happen for all characters, not just (reformed) pagans.

loup99 commented 9 years ago

Yes, I had this issue too, I could not force a prisoner to convert. Not sure what is behind it though.

rquinio commented 9 years ago

Maybe @EmperorEnlil or other devs remember when it started to be bugged and what was changed at that time... Otherwise a workaround could be to re-code completely the "demand religious conversion" action as a targeted decision, and set DEMAND_RELIGIOUS_CONVERSION_INTERACTION_ENABLED = 0. It would allow some more control on which religions should be more resistant. But the tweak is getting the modifiers right for the A.I ...

loup99 commented 9 years ago

It started bugging with the WoL patch/official release 0.9.0 as far as I know. In 2.2.1, it worked.

loup99 commented 9 years ago

If the recoding is the best option, do it as we kind of needed more control anyway.

rquinio commented 9 years ago

Ok, got a working targeted decision ! For now the AI should do it systematically, if target meets the requirements.

rquinio commented 9 years ago

After testing the AI behavior, I had to split decisions in 2: one for courtier and one for vassals. This is because there is no ai_target_filter that is combination of home_court + direct vassals.

loup99 commented 9 years ago

Does this mean the interface for diplomatic actions now have two identical "Demand Conversion"-buttons? Anyway, it could potentially be used anyways, so no problems.

rquinio commented 9 years ago

Nope, only 1 appears at any given time as they have different potentials (one for rulers, one for unlanded) ;)

loup99 commented 9 years ago

I know you finished this and recoded it, but what about the invitation to court that now seems to be buggy aswell? Do you think it is related to this issue as it behaves in the same way?

rquinio commented 9 years ago

Funny thing: now the vanilla "Demand religious conversion" diplomacy is working again -_-' Must have been the side effect of some other fixes. So I'll disable the targeted decisions for now, and fallback to vanilla action.

Regarding the AI reasoning not appearing for diplomatic actions, I still reproduce it, so that's a different cause. I've opened a separate issue #53 for this.

loup99 commented 9 years ago

Will close this then as it works.