You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
Showing yields from every tiles adds a lot of noise to the map, especially when the player knows well all base yields ( the combination of base terrain and base feature yields)
Solution
An option to hide yields on plots that are not interesting, i.e from plots that have nothing special, i.e. just a base terrain and a base feature (or no feature).
Pseudo code (no problem with possible negative modifier cause it's using absolute value):
Alternative solution
An alternative is showing only the yields resulting from the true yields minus the base yield (base terrain and base feature), but the result is a bit confusing as the yields that are shown on the map will not be the true ones.
Pseudo code (could bug and drop under 0 if there is negative modifier):
displayed_yields = plot_yields
for yield_type in all_yield_type:
interesting_yield = plot_yields.yield_type - plot_base_terrain_yield.yield_type - plot_base_feature_yield.yield_type
displayed_yields[yield_type] = interesting_yield
The text was updated successfully, but these errors were encountered:
Gnightz
changed the title
Hide uninteresting yields : hide yields that are only explain from base terrain and base feature modifiers.
Hide uninteresting yields : hide yields that are only explained from base terrain and base feature modifiers.
Jul 17, 2021
Problem
Showing yields from every tiles adds a lot of noise to the map, especially when the player knows well all base yields ( the combination of base terrain and base feature yields)
Solution
An option to hide yields on plots that are not interesting, i.e from plots that have nothing special, i.e. just a base terrain and a base feature (or no feature).
Pseudo code (no problem with possible negative modifier cause it's using absolute value):
Alternative solution
An alternative is showing only the yields resulting from the true yields minus the base yield (base terrain and base feature), but the result is a bit confusing as the yields that are shown on the map will not be the true ones.
Pseudo code (could bug and drop under 0 if there is negative modifier):
Additional context
It is not taking into account possible negative modifier. I should be using absolute value.
https://gist.github.com/ChevallierGuillaume/c50e4ac953e6ce17cfa225e6bb9e73b9
The text was updated successfully, but these errors were encountered: