• 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.

D34DLY

Recruit
34 Badges
Feb 22, 2022
4
7
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Stellaris: Humanoids Species Pack
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Victoria 3 Sign Up
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
Short summary of your issue
fault in your code

Game Version
1.5.0.2

What OS are you playing on?
Windows

What platform are you using?
Steam

What DLC do you have installed?
Royal Court,

Do you have mods enabled?
No

Have you tried verifying your game files (Steam only)?
Yes

How much "pain" is this causing you?
2

Please explain the issue you experienced in the most condensed way possible
your code in \common\script_values\00_culture_value.txt says

culture_hybrid_cooldown = {
value = 50
if = {
limit = {
has_game_rule = slower_hybrid_and_divergence_cooldowns
}
add = 50
}
else_if = {
limit = {
has_game_rule = faster_hybrid_and_divergence_cooldowns
}
add = -25
}
else_if = {
limit = {
has_game_rule = faster_hybrid_and_divergence_cooldowns
}
multiply = 0
}
}

the third else_if is wrong (you repeat the second one). third else_if should be the "no cooldown" option

Please explain how to reproduce the issue
open the text file with your code, as explained above

Is there anything else you think could help us identify/replicate the issue?
read the code, above

I have attached a save game
No

Upload Attachment
File(s) attached
 

Attachments

  • 00_culture_values.txt
    18,1 KB · Views: 0
  • 1
Reactions:

D34DLY

Recruit
34 Badges
Feb 22, 2022
4
7
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Stellaris: Humanoids Species Pack
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Victoria 3 Sign Up
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
look at the code immediately above this code for the "culture_divergence_cooldown = {" where it is done correctly, and the "faster" isn't repeated twice. With the third else_if using no_hybrid_and_divergence_cooldowns instead of faster.

the Correct code immediately before the incorrect code:

culture_divergence_cooldown = {
value = 100
if = {
limit = {
has_game_rule = slower_hybrid_and_divergence_cooldowns
}
add = 100
}
else_if = {
limit = {
has_game_rule = faster_hybrid_and_divergence_cooldowns
}
add = -50
}
else_if = {
limit = {
has_game_rule = no_hybrid_and_divergence_cooldowns
}
multiply = 0
}
}


Note it has slower / faster / no.

the incorrect code has slower / faster / faster.
 
Last edited: