Short summary of your issue
DURATION_SHOW_MONTHS_THRESHOLD not used
Game Version
1.0.6
What OS are you playing on?
Windows
Do you have mods enabled?
No
Have you tried verifying your game files?
Yes
How much "pain" is this causing you?
5
Please explain the issue you experienced in the most condensed way possible
30 months should be displayed as "30 months" and not "2 years"
Knowing that up to three years durations are expected to be shown as months...
But it doesn't stop there.
Not even months show the correct amount of "months".
1 month, starting on January 1, 1836, are shown as 30 days.
2 months are shown as 2 months ~ 31 + 28 (February '36 has only 28 days instead of 29)
3 months are shown as 3 months ~ 31 + 28 + 31 = 90
4 months are shown as 4 months ~ 31 + 28 + 31 + 30 = 120
5 months are shown as 4 months ~ 31 + 28 + 31 + 30 + 31 = 151
...
see first image.
I don't know how this is calculated, but it's easy to test, so...
Besides this follow up bug, please use the three constants defined in game\common\defines\00_defines.txt, they are there for a reason, a good reason.
Please explain how to reproduce the issue
Start game as France, Journal, Decisions, hover over check mark for "Survey the Suez Isthmus".
Tested other durations by changing
game\common\decisions\canal_decisions.txt, line 31
months = 30
see first image
Is there anything else you think could help us identify/replicate the issue?
see second image
game\common\defines\00_defines.txt, lines 1738-1742
are not used.
I have attached a save game
No
Upload Attachment
File(s) attached
DURATION_SHOW_MONTHS_THRESHOLD not used
Game Version
1.0.6
What OS are you playing on?
Windows
Do you have mods enabled?
No
Have you tried verifying your game files?
Yes
How much "pain" is this causing you?
5
Please explain the issue you experienced in the most condensed way possible
30 months should be displayed as "30 months" and not "2 years"
Knowing that up to three years durations are expected to be shown as months...
But it doesn't stop there.
Not even months show the correct amount of "months".
1 month, starting on January 1, 1836, are shown as 30 days.
2 months are shown as 2 months ~ 31 + 28 (February '36 has only 28 days instead of 29)
3 months are shown as 3 months ~ 31 + 28 + 31 = 90
4 months are shown as 4 months ~ 31 + 28 + 31 + 30 = 120
5 months are shown as 4 months ~ 31 + 28 + 31 + 30 + 31 = 151
...
see first image.
I don't know how this is calculated, but it's easy to test, so...
Besides this follow up bug, please use the three constants defined in game\common\defines\00_defines.txt, they are there for a reason, a good reason.
Please explain how to reproduce the issue
Start game as France, Journal, Decisions, hover over check mark for "Survey the Suez Isthmus".
Tested other durations by changing
game\common\decisions\canal_decisions.txt, line 31
months = 30
see first image
Is there anything else you think could help us identify/replicate the issue?
see second image
game\common\defines\00_defines.txt, lines 1738-1742
are not used.
I have attached a save game
No
Upload Attachment
File(s) attached
Attachments
Upvote
0