TCS Improved Plot Tooltip

TCS Improved Plot Tooltip v18

Release notes:
  • Several localization updates
  • #4 - Added Resource Class Icon to resource name/title.
1743195851275.png

  • #5 - Handle unique default improvements. Does NOT show unique improvements which must be built or purchased via the Production panel - encountered too many issues with that.
1743195880059.png

  • #9 - Move config options to Add-Ons tab
1743195926249.png

  • #10 - Add hotkey to drastically minimize tooltip info. Pressing "Shift" will now reduce the tooltip to just Yield and Constructible information. Inspired by @beezany and my own frustration with the tooltip sometimes getting in the way during building/improvement placement.
1743195940330.png
Github Repository

Translations
If you would like to contribute a translation, please do one of the following:
  • open an issue with the localization label and upload your files there, OR
  • open a branch from the current version, add your localization to an appropriate folder, and create a Pull Request.
Various improvements:
  • Updated Korean localization
  • Updated Russian localization
  • Removed "modules" folder from mod folder structure
  • Folder name now includes version number
  • Fixed a bug where Config strings weren't parsing when In Game
  • Fixed Config Option changes not updating the tooltip when in-game
  • Adjusted building name handling when using Row display
  • Polished building handling when using Column display
  • Moved resource section below constructibles
  • Moved Natural Wonder description to below constructibles
  • Removed unnecessary extra space around improvements
  • Updated Total Yields to only show if there are 2+ yield types present
Various improvements:
  • Minor update to German localization
  • Added Korean localization
  • Added configurable options to customize the tooltip in various ways
1741572517921.png
  • Added custom property support for TCS Improved Mod Page
1741573720810.png
  • Added icon to units
1741572709681.png
  • Total Yields and Specialist Count now share a line and are represented via icons
1741572784403.png
  • Drop shadows have been added to Constructible and Resource icons for greater clarity and "pop"
1741572899914.png
  • Fortification Info has been refactored to be easier to parse at a glance
1741572829334.png
  • When hovering over another player's City Centers, the indicator that there is an open trade route slot has been changed from a string to a Merchant icon
1741573016307.png
  • Updated warning banners to not overlap tooltip border (thanks @beezany !)
1741573468797.png
1741573633225.png
  • Improved Building info spacing when displayed as row - there may still be some slight overlapping for buildings with very long single-word names
  • Added current-age tags to Buildings if they are not obsolete, unique, or ageless (Antiquity, Exploration, Modern)
  • Fixed several issues from the base game when Debug was enabled
  • Updated the Debug info displayed to be more comprehensive
  • Various other under-the-hood changes
Additional improvements:
  • Added German localization (thanks @Fampat!)
  • Fixed an issue with the Spanish localization
  • Fixed an issue with the LoadOrder for mod compatibility
  • Like
Reactions: Karter and benuendo
Added the following localizations:
Fixed an issue with the Russian localization.

Added several compatibility updates:
  • Added a LoadOrder of 1001
  • Changed the Action from UIScripts to ImportFiles
  • Fixed an interface-mode cursor bug
Localization improvements:
  • Moved two strings out of the plot-tooltip.js file and into the localization files.
  • Added Russian localization - thanks @Webrok!
  • Like
Reactions: benuendo and Karter
Thanks to @leonardify there is an Italian translation now!

Also, I have implemented a change to preload constructible icons when the script initializes to maintain performance.
Hotfix for incorrect Building name scaling when High Resolution UI Scaling is turned off. No need to update from Version 10 if you play with it on.
  • Like
Reactions: benuendo
Additional improvements:
  • Added potential improvement section for unimproved tiles
  • Fixed bug where Urban districts were incorrectly shown as Quarters when the second required building was under construction (it's only a Quarter once both buildings are completed)
  • Fiddled with building name spacing/wrapping a bit more to remove rare instances of overlap
1739813301958.png
1739813319778.png
Additional improvements:
  • Added current/capacity trade routes string when hovering over another player's city center
  • Added original founder name when hovering over a conquered city center (note: this information is not maintained through age transitions)
  • Added food icon to indicate which cities or towns are receiving/sending food in the connections list
  • Added a flag to indicate if a settlement isn't in the trade network
  • Added whether plot is fresh water
  • Made a slight adjustment to prevent wrapping of Improvement names to hopefully provide better support for other localizations
1739747328374.png
1739747355386.png
1739747383505.png
1739747411784.png
1739747703994.png
Apologies on the flurry of updates today, found one last bug while playing and am going out of town for the weekend, so want to get this in as good shape as possible before I leave.
  • Fixed an issue where the tooltip would not appear on a tile with multiple units
  • Fixed an issue where the owner of the top unit would be shown as the owner of all units
Minor bugfixes:
  • Provided a fallback tooltip icon for Discoverables (technically improvements) as they do not have one of their own.
  • Provided a temporary replacement tooltip icon for Villages and Encampments - the provided icon path in the game data does not load anything.
  • Like
Reactions: blazeknave
Additional improvements:
  • Fixed rare bug with the Connections section
  • Fixed Connections centering
  • Fixed Town districts showing "0 of 1 Specialists" - Towns can't have specialists, so no need to show it
  • Added Total Yields
1739462866971.png
  • Like
Reactions: blazeknave
This version makes further layout adjustments and adds additional enhancements.
  • Completely refactored the script as all my additional queries were adding occasional lag to the tooltip
  • Moved Yields location back to default
  • Fixed bug where town city centers always showed "Specialized Town"
  • Now shows whether tile is Distant Lands

    1739447606380.png
  • Changed how Rural districts and Improvements are displayed
1739447812020.png
  • Buildings flow horizontally rather than vertically
  • Added Specialist info for Urban tiles
1739448104131.png
  • Moved Fortification information to bottom of District section
1739448150040.png
  • Added tag for Full Tile buildings
1739448217170.png
This version revamps the tooltip layout and adds additional enhancements:
  • Towns now display whether they are Growing or Specialized
  • Fortified Districts now show which walls (if any) are present as well as health stats
  • Additional information is shown when hovering over the City Center
    • City Connections
    • How many Cities are being fed by Specialized Towns
  • Unique Quarters now display their tooltips (in addition to Wonders and Natural Wonders)
  • Improvements to Resource tooltips
  • A few other miscellaneous updates
Upcoming versions will revisit building and unit information in the plot tooltip.

1739335381331.png
1739335403731.png

1739335493629.png
1739335555275.png
1739335631568.png
1739335648738.png

1739335686603.png
1739335732128.png
  • Like
Reactions: bsones and Seek
Additional improvements:
  • Added flag for obsolete buildings (see screenshot)
  • Small bug fix for handling multiple Plot effects
1739199281482.png
  • Like
Reactions: Seek
Additional improvements:
  • Flag unique infrastructure
  • Display district or quarter name
  • Display wonder description
  • Display local player units and support for more than 1 unit
  • Little fixes to Independent info
  • Like
Reactions: blazeknave and raen
Back
Top Bottom