• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

OkazakiYunkoo

Recruit
Sep 25, 2024
3
3


Summary​

The rise on 90 resistance can't work correctly

Platform​

Steam

Operating System​

Windows 10

Game Version​

1.16.5

Enabled DLC​

  • Graveyard of Empires

Do you have mods enabled?​

No

Description​

The "common\resistance_compliance_modifiers\resistance_modifiers.txt" has an error: the code write:

if = {
limit = {
RAJ = {
has_completed_focus = RAJ_forward_bloc
NOT = {
has_dynamic_modifier = { modifier = idea_RAJ_famine_country }
}
}
NOT = { var:Occupied_country = { original_tag = DIP } }
}
#dont do anything
}
else = {
custom_effect_tooltip = resistance_90_effect_tooltip
hidden_effect = {
# avoid effects that can effect state controllers here
country_event = { id = occupied_countries.2 hours = 1 }
}
}

first,"occupied_country" is a temp variable defined in event occupied_countries.2 so it cannot be used in here.
then,it didn't limit to the ROOT and FROM,so when RAJ complete the focus,every other country will not resistance to rise even if they are not occupied by RAJ.
To fix it,you need to change the code into below instead:

if = {
limit = {
original_tag = RAJ
has_completed_focus = RAJ_forward_bloc
NOT = {
has_dynamic_modifier = { modifier = idea_RAJ_famine_country }
}
NOT = { FROM = { original_tag = DIP } }
}
#dont do anything
}
else = {
custom_effect_tooltip = resistance_90_effect_tooltip
hidden_effect = {
# avoid effects that can effect state controllers here
country_event = { id = occupied_countries.2 hours = 1 }
}
}



Steps to Reproduce​

suggest way to find the bug: open the code and read the shit you paradox had wrote.
other way to find the bug:complete focus "RAJ_forward_bloc" for RAJ and then make any countries's resistance to 90

Are you playing on a save from the previous/older version of the game​

No

Upload Attachment​