Leonardfactory's Policy Yield Previews

Leonardfactory's Policy Yield Previews 1.0.7

I’m also using the workaround atm (locked the mod in civ mod manager) and it works.
 
Hey, I’ve noticed a few issues with calculating yields. The big issue is a modded civ traditions causing CTDs when it’s in your government and you bring up the policy previews. It’s understandable that you wouldn’t provide active support for modded content, but CTD’s imply there’s some logic that could cause it in other situations or as Firaxis release DLC that have that modifier. The crash does not occur with this mod turned off.

The mod in question is Matt’s Scotland and the tradition is Political Economy. Its effect is to grant 10% of your cities Science as Production. Interestingly, it only causes the CTD in Modern.

I have a save if you wanted to replicate it.

On another note, I’ve noticed some adjacency traditions are also not calculated right, like the Jinsi-Kamil of Mughals, not showing the gold or food of adjacent plantations and farms. That’s a smaller issue though, I imagine it’s a lot more painful to recalculate adjacencies by getting every plot of a civ and then check every adjacent plot.
 
@leonardify, please, add this excellent mod to steam workshop. =)
 
Hey, I’ve noticed a few issues with calculating yields. The big issue is a modded civ traditions causing CTDs when it’s in your government and you bring up the policy previews. It’s understandable that you wouldn’t provide active support for modded content, but CTD’s imply there’s some logic that could cause it in other situations or as Firaxis release DLC that have that modifier. The crash does not occur with this mod turned off.

The mod in question is Matt’s Scotland and the tradition is Political Economy. Its effect is to grant 10% of your cities Science as Production. Interestingly, it only causes the CTD in Modern.

I have a save if you wanted to replicate it.

On another note, I’ve noticed some adjacency traditions are also not calculated right, like the Jinsi-Kamil of Mughals, not showing the gold or food of adjacent plantations and farms. That’s a smaller issue though, I imagine it’s a lot more painful to recalculate adjacencies by getting every plot of a civ and then check every adjacent plot.
I'd like a savegame if possible yes, that would be helpful. Even a screen could make it easier to debug (it's hard to track all the effects!)

@leonardify, please, add this excellent mod to steam workshop. =)
Working on it :)
 
Preview doesn't work in the tech/civic tree after 1.2.4. Any chance of an update?
 
leonardify updated Leonardfactory's Policy Yield Previews with a new update entry:

v1.0.6 - Fixes for garrison check, cultural attribute age-scaled yields, other small fixes

  • Fix Techs giving a Codex not showing the yields if you have the Assyria DLC
  • Fix garrison unit requirement which should not be triggered by civilian units (applies to Crisis policy & Ming unique tradition)
  • Fix age-based scaling for cultural attribute
  • Fix detection of active city projects
Thanks @beezany for the patches, test cases and the help!

Read the rest of this update entry...
 
Back
Top Bottom