Hearts of Iron IV

Hearts of Iron IV

Money Mod Updated
Важный 10 Mar, 2023 @ 12:13pm
How to stop lagging every week
If you want this mod to stop lagging every week you need to go ("mod folder">common>on_actions>money_on_actions.txt) then delete the part of the code (################these are the conditions for the ideas to automatically apply to your country####################
every_country={
limit={
NOT={is_ai=yes}
check_variable = { dx > 0 }
}
add_ideas = normal_money
}
every_country={
limit={
NOT={is_ai=yes}
check_variable = { dx < 0 }
}
remove_ideas = normal_money
}

every_country={
limit={
NOT={is_ai=yes}
check_variable = { dx < 0}
}
add_ideas = low_money
}
every_country={
limit={
Or={
check_variable = { dx < -100}
check_variable = { dx > 0}
}
}
remove_ideas = low_money
}


every_country={
limit={
NOT={is_ai=yes}
check_variable = { dx < -100 }
}
add_ideas = bad_money
}
every_country={
limit={
Or={
check_variable = { dx < -200 }
check_variable = { dx > -100 }
}
}
remove_ideas = bad_money
}


every_country={
limit={
NOT={is_ai=yes}
check_variable = { dx < -200 }
}
add_ideas = very_low_money
}

every_country={
limit={
NOT={is_ai=yes}
check_variable = { dx > -200 }
}
remove_ideas = very_low_money
}

every_country={
limit={
check_variable = { dx < -300 }
NOT={has_country_flag=money5}
}
country_event=moneymod.5
set_country_flag = money5
}).
After deleting there won't be bonuses or penalties for money amount but the game will stop lagging every week
< >
Showing 1-1 of 1 comments
KS30++  [developer] 21 Apr, 2023 @ 5:54pm 
i changed the code to give the boneses every month this should help with the performance but i have plans to revamp that system
< >
Showing 1-1 of 1 comments
Per page: 1530 50