Azurency / Azurency/CQUI_Community-Edition

Production modifiers not shown in city screen

Open
#222 0 comments 0 reactions 0 assignees View on GitHub
Investigating
Dominant language
Lua
Stars
397
Forks
93
PR merge metrics
No merged PRs in 30d

Description

I've noticed that the production modifiers for wonders coming from policies, beliefs or city states do not show in the city screen. As I suspected something was wrong I've refrained from picking the policies, beliefs etc. in my last game. Luckily they still seem to be applied based on a little test I just made.

Look at the attached screen shots where I just finished my first turn of building Mt. St. Michel in the test game. The city screen says that my production output is 23.1 (no modifiers from wonders shown) while I've made a progress of 32 production in one turn.

From the top og my head I have +15% from towards medieval/renaissance wonders from policies and +15% towards wonders from city states active. That doesn't sum up to 32 (23,1*1,3=30) but it still seems that the modifiers are working.

I actually believe this might be a bug coming from the vanilla city screen as is acts the same way (just removed CQUI and played the same turn).

![bug_cqui](https://user-images.githubusercontent.com/6018459/32804191-6600cb44-c986-11e7-9f5e-6668f020104a.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the reported Mt. St. Michel turn in the city screen and compare the displayed production output with the applied policy, belief, and city-state modifiers, including with CQUI removed. Done means the city screen shows the relevant production modifiers while preserving the modifiers' existing effects.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
frontend, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.