Summary
The rise on 90 resistance can't work correctlyPlatform
SteamOperating System
Windows 10Game Version
1.16.5Enabled DLC
- Graveyard of Empires
Do you have mods enabled?
NoDescription
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