Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tribal_organization_0 added when decrease tribal organization #67

Closed
Aerotinge opened this issue Jul 16, 2021 · 2 comments
Closed

tribal_organization_0 added when decrease tribal organization #67

Aerotinge opened this issue Jul 16, 2021 · 2 comments

Comments

@Aerotinge
Copy link
Contributor

Aerotinge commented Jul 16, 2021

A rather weird bug. I attached screenshots for better understanding.

Before

圖片

After Low tribal organization applied

圖片
(Please ignore in-game date, I did not take screenshots in time sequence.)


tribal_organization_0 was added. This bug won't be triggered if I did not have centralization_2 at the beginning.
It seems that a fallback mis-triggered when add_law = centralization_1 fired in the pass_effect block.
I tried to debug but I'm not that good at law modding. Sorry I can't help more.

A dirty fix is to place revoke_law sequence after if block, in case of the quirk is hard coded.

@Aerotinge Aerotinge changed the title tribal_organization_0 added when decrease tribal organization from _2 to _1, in certain cases. tribal_organization_0 added when decrease tribal organization Jul 16, 2021
@Aerotinge
Copy link
Contributor Author

UPDATE: It seems that this kind of bug also happened on investiture_law_* and maybe gender_laws. But I can't reproduce it this time.

@schwarherz
Copy link
Contributor

I believe this is vanilla behavior. I seem to recall wondering why paradox did that when I last worked on the laws, but I'll wait for @Whizzer to comment.

Whizzer added a commit that referenced this issue Aug 19, 2021
Hopefully addresses issues #82 and #67
Aerotinge pushed a commit to Aerotinge/CleanSlate that referenced this issue Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants