Skip to content

Dynamically get base turn duration for trade routes#24

Open
JamieNyanchi wants to merge 1 commit intoastog:masterfrom
JamieNyanchi:TweakBTS
Open

Dynamically get base turn duration for trade routes#24
JamieNyanchi wants to merge 1 commit intoastog:masterfrom
JamieNyanchi:TweakBTS

Conversation

@JamieNyanchi
Copy link
Copy Markdown

When calculating the duration of trade routes, dynamically get the base turn duration instead of using a hardcoded value of 20. Rewrote the formula slightly to divide iSpeedCostMultiplier by 100 instead of 10, as this variable is a percentage multiplier.

This allows BTS to show the correct values when using mods that change the base duration length. I use both BTS and a mod that reduces the base duration length, and this change seems to work perfect.

Let me know if you have any comments or questions!

When calculating the duration of trade routes, dynamically get the base turn duration instead of using a hardcoded value of 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant