Version: 1.9.0 (April 4, 2025)
- Add the display of city connection numbers on city banners.
- Hover to view more details.
- Convenient for viewing the food supply of towns without entering the city panel.
- Will prompt "Not connected to the trade network".
- Add a Tooltip for population information on city banners.
- Redesign the layout style of Tooltips to be more beautiful.
- Performance optimization:
- Add a debounce function to reduce the frequency of data updates.
- Optimize event handling for the quick purchase button.
- Remove unnecessary code binding and property update logic.
版本:1.9.0 (2025-04-04)
- 在城市横幅,增加城市连接数的显示
- 悬停时可以查看更多详情
- 方便查看城镇的食物供给,而无需进入城市面板
- 会提示“未连接到贸易网络”
- 为城市横幅的人口信息增加Tooltip
- 重新设计Tooltip的布局样式,更加美观
- 性能优化:
- 添加防抖函数,减少频繁更新数据的次数
- 优化快速购买按钮的事件处理
- 移除不必要的代码绑定和属性更新逻辑
![]()
![]()
![]()
![]()
![]()
Version: 1.8.3 (2025-03-25)
- Fixed the BUG where building production costs couldn't be displayed in the production panel
- (official version 1.1.1 bug caused by update)
- Officials seem to have lost the constant "ResourceTypes.NO_RESOURCE"
- Official tooltips no longer display building production costs - apparently unnoticed by the developers
版本:1.8.3 (2025-03-25)
- 修复生产面板中建筑的生产力成本无法显示的BUG
- ( 官方版本 1.1.1 更新后引起的 BUG )
- 官方好像把常量 "ResourceTypes.NO_RESOURCE" 弄丢了
- 官方自己的 Tooltip 不会显示建筑的生产力成本了,他们似乎没发现
Version: 1.8.2 (2025-03-25)
- Refactored the data update logic for the quick purchase button, effectively reducing lag and significantly improving operational smoothness.
- Silently complaining... Refactoring really took a lot of time (┬_┬)
- Combine multiple localization files into a single SQL file, and use AI to translate versions in other languages.
版本:1.8.2 (2025-03-25)
- 重构快速购买按钮的数据更新逻辑,有效缓解卡顿现象,大幅提升了操作的流畅度。
- 默默吐槽,重构真花时间啊 (┬_┬)
- 将多个本地化文件合并为单个SQL文件,同时,借助 AI 完成了其他语言版本的翻译工作。
Version 1.8.1 (2025-03-24)
- Adjust the logic of the Quick Buy button to enter build mode.
- Re-support the one-click repair function of "bz-city-hall"
- Fixed the problem of disabling status judgment and not refreshing the status in time.
- Added gold coin sound for quick buy button.
版本:1.8.1 (2025-03-24)
- 调整快速购买按钮进入建造模式的相关逻辑。
- 重新支持 "bz-city-hall" 的一键修复功能
- 修复禁用状态判断问题,和没有及时刷新状态的问题。
- 增加快速购买按钮的金币音效。
Version: 1.8.0 (2025-03-23)
- Complete refactoring for enhanced compatibility:
- Fully restructured Quick Buy Button code using non-intrusive modifications, significantly improving compatibility.
- All components of this MOD now utilize non-intrusive modifications, ensuring compatibility with essentially all installed MODs.
- Example: No longer interferes with the production list sorting functionality of bz-city-hall.
- Hover over Quick Buy Button to view purchase/production discount information.
- Optimized Quick Buy Button disabled state detection logic, adding building checks.
- For example, the wall in the center of the city allows purchase operations, while other regions only support production operations. The disabled state is now correctly displayed.
- Fixed display errors in city connection counts caused by city burning.
版本:1.8.0 (2025-03-23)
- 全面重构实现高度兼容性:
- 对 Quick Buy Button 的代码进行了全面重构,采用非侵入式修改方式,极大地提升了兼容性。
- 目前,该 MOD 所有部分均已实现非侵入式修改,基本能够与所有已安装的 MOD 兼容。
- 例如,不会再对 bz-city-hall 的生产列表排序功能造成影响。
- 悬停在 Quick Buy Button 可以看到 购买/生产 的折扣信息。
- 优化 Quick Buy Button 禁用状态的判断逻辑,增加对建筑的判断。
- 以城墙为例,位于市中心的城墙允许购买操作,而其他区域的城墙仅支持生产操作。现在能正确的显示禁用状态。
- 修复因烧城导致城市连接数的显示错误。
![]()
![]()
![]()
Version: 1.7.2 (2025-03-20)
- CityYieldsBar Tooltips to increase data sources to avoid certain situations where technical values (or others) do not display data.
- CityYieldsBar Tooltips expands more data when there is only one "revenue" tier
版本:1.7.2 (2025-03-20)
- CityYieldsBar Tooltips 增加数据来源,避免某些情况科技值(或其他)没有数据显示。
- CityYieldsBar Tooltips 在只有一个“收入”一级数据时,会展开更多数据
Version: 1.7.1 (2025-03-19)
- Fixed NaN errors when using simplified number formatting in locales that use commas as decimal points (e.g., French, Russian).(Feedback from @Sébi11 )
- Improved clarity of maintenance fee display.
版本:1.7.1 (2025-03-19)
- 针对法语、俄语等以逗号作为小数点的语言环境,修复在启用简化数值功能时出现 NaN 错误的问题。(来自 @Sébi11 的反馈)
- 提升维护费显示的清晰度。
Version: 1.7.0 (2025-03-18)
- Refactored code to be non-invasive, greatly increasing compatibility
- Currently refactored Producion Item and Yields Bar.
- Compatibility enhancements, such as installing @beezany bz-city-hall at the same time, now also highlight buildings to be repaired.
- The next step is to refactor the code for the quick buy button.
- Added MOD settings options (thanks to @beezany for the tutorial)
- Whether to enable City-Production-Compact layout styles (if turned off, display layout styles for other installed mods or display default styles)
- Whether to show, show maintenance fee (compatible with other mods)
- Whether to display, show the required productivity (compatible with other mods)
- Whether to round the income figures of the city panel, unchecked by default
- Yields Tooltips
- Show the population before the city name, if it is the capital, add ★ in front of it.
- Add turn icon
- Fixed overly long titles not centering
- Optimized, compact layout, no era restrictions more obvious, remove maintenance fees base color, etc.
- Fix some bugs
![]()
![]()
===============================
版本:1.7.0 (2025-03-18)
- 重构了代码,非侵入式,大大增加兼容性
- 目前重构完成了 Producion Item 和 Yields Bar.
- 兼容性提升,比如同时安装了 @beezany bz-city-hall,现在也能高亮待修理的建筑。
- 下一步重构 quick buy button 的代码。
- 增加 MOD 设置选项 (感谢 @beezany 的教程)
- 是否启用 城市-生产项-紧凑版布局样式(如果关闭,显示其他已安装mod的布局样式或显示默认样式)
- 是否显示 显示维护费 (可兼容其他mod)
- 是否显示 显示所需生产力 (可兼容其他mod)
- 是否将城市面板的收入数字四舍五入,默认不勾选
- Yields Tooltip 优化
- 城市名前显示人口,如果是首都前面添加★
- 增加回合图标
- 修复过长标题不会居中
- 优化 紧凑型布局,无时代限制更明显,去掉维护费底色,等等。
- 修复一些bug
![]()
![]()
Version: 1.6.1 (2025-03-14)
The following updates were assisted by @Finwickle:
- Remove the display of total urban food exports (redundant display)
- Remove the number of experts displayed in the town (if the town has experts after changing the era, it will still be displayed)
- Remove the display, the population to be placed is 0
- Massive replacement of Tooltips text display
Once again, thank you @Finwickle for your help and feedback.
- New additions, population turns into migrant when settlements cannot expand, display of migrant numbers
- Correctly display the plus or minus sign at the deduction level (flip the value plus or minus)
- Slightly increase the width of Tooltips to reduce line wrapping
- If the specialized population of the town stops growing, there will be a red color and a "∞" prompt
Added a hint that settlements are not connected to the Empire's trade network.
===================================
## 版本:1.6.1 (2025-03-14)
以下更新内容由 @Finwickle 协助更新:
- 移除显示 城镇食物出口总量(冗余显示)
- 移除显示 城镇的专家数量 (如果换时代后,城镇有专家依然显示)
- 移除显示 待放置人口为0
- 大量替换Tooltips的文本显示
再次感谢 @Finwickle 的帮忙和反馈。
- 新增 定居点无法扩张时人口变成移民,移民数量的显示
- 在扣除的级别下能正确显示正负号(翻转数值正负)
- 略微增加Tooltips宽度,减少换行现象
- 如果城镇专业化人口不再增长,会有红色以及“∞”提示
- 添加 定居点未连接到帝国的贸易网络 的提示。
![]()
![]()
![]()
![]()
![]()
![]()
Version: 1.6.0 (2025-03-12)
- "Quick Buy Button" added!
No more switching back and forth between production/purchase pages!
- Also changed the layout of the production unit bar, left side, unit details, right side, production/purchase information.
- Some details are optimized
- Synchronize official updates
- Split Fiction, the last chapter is so surprising
=====================
## 版本:1.6.0 (2025-03-12)
- 「快速购买按钮」加入!
再也不用来回切换 生产/购买 页面!
- 同时更换了生产单位条的布局,左侧 单位详情,右侧 生产/购买信息。
- 一些细节优化
- 同步官方更新
- 双影奇境 最后一章太惊喜了
![]()
Version: 1.5.0 (2025-03-02)
- "Urban Output"
- Added information related to "Urban Population".
- Added information related to "City Connectivity".
## 版本:1.5.0 (2025-03-02)
- 「城市产量栏」
- 新增显示「城市人口」相关信息。
- 新增显示「城市连通性」相关信息。
(字越少,事越大。背后做的事情太多了,改超多。)
![]()
![]()
Version: 1.2.0 (2025-02-28)
- Refactor and standalone Tooltip interface
- Brand new interface, more beautiful.
- Details are displayed in a table to increase readability.
- Now the Tooltip interface disappears without a mouse movement.
- Different resources have different text colors.
===========================================================
## 版本:1.2.0 (2025-02-28)
- 重构并独立Tooltip界面
- 全新的界面,更加美观。
- 详情用表格显示,增加可读性。
- 现在不会鼠标一动,Tooltip界面就消失。
- 不同资源都有不同文字颜色。
![]()
![]()
- Move "maintenance cost" next to profit. Also let Russian settings no longer overlap text
- At the same time, reduce the transparency of the "maintenance cost" to prevent it from being too eye-catching
==============================
- 移动“维护费”到利润旁。同时让俄语设置不再会重叠文本
- 同时降低“维护费”的透明度,防止过于抢眼
![]()
# F1rstDan's Cool UI
---------------
- While ensuring the readability of the Resource Output Tip Box, make the following adjustments.
- Hide complicated and invalid information. For example, 'from improved facilities', which are all'natural yield 'hidden.
- Expand more useful information instead of its hierarchy. For example, 'Source' can display more information from Building Improvement Town Hall.
- Fix the lack of localization and replace it with valid content. Such as "LOC_ATTR_CLAMPED_HAPPINESS_DEFICIT" (missing) < - "LOC_ATTR_HAPPINESS_DEFICIT"
- Percentage entries now have conspicuous colors. + X% yellow gradual change, -X% red gradual change.
- Optimize the code logic.
---------------
### 版本:1.1.0 (2025-02-24)
- 在保证 `资源产出提示框` 易读性的同时,做出以下调整。
- 隐藏繁杂无效的信息。比如 `来自改良设施` ,里面都是 `自然产量` 全隐藏。
- 展开更多有用信息,代替它的层级。比如 `来源` ,可以显示更多来自建筑改良市政厅等信息。
- 修复本地化的缺失,用有效内容的去代替。比如 "LOC_ATTR_CLAMPED_HAPPINESS_DEFICIT"(缺失) <- "LOC_ATTR_HAPPINESS_DEFICIT"
- 现在百分比条目有显眼的颜色。+X%黄渐变,-X%红渐变。
- 优化代码逻辑。
![]()
![]()
![]()
修改:减少不重要的信息出现
Reduce the appearance of unimportant information
JavaScript:// 如果 child.valueType 大于等于 5,则跳过当前循环 if (child.valueType >= 5) { continue; }
Help: Why do you need to stop the mouse before the tooltip is displayed? How to optimize this? And how can I open a talk post on this mod page?
求助:为什么要鼠标停下才会显示tooltip?要怎么优化这一点?还有我怎么在这个mod页面开谈论贴?
- 支持查看更详细的资源收入
Support to view more detailed resource income
![]()
![]()
![]()